gprs

SIM900 GSM/GPRS not getting a proper AT+CREG? answer

无人久伴 提交于 2019-12-23 18:42:31
问题 I'm using an Arduino UNO with attached IComsat SIM900 GSM/GPRS shield. Using the following tutorial: Arduino Live GPS Tracker I'm stuck with the AT+CREG? command, which checks if the SIM-card is registered at the provider. The following logic is used: In the GSM_HTTP.INO file within the "void setup()" function, the following line gets executed modem.checkNetwork(); void setup() { Serial.begin(9600); Serial.println("GM862 monitor"); modem.switchOn(); // switch the modem on delay(4000); // wait

does Mobile phones have IP address

时光怂恿深爱的人放手 提交于 2019-12-23 18:03:12
问题 Hi All Can you tell me if the mobile phones have IP address.. (I know we have it if we connect our phones to Wi-Fi)..but if we connect via GPRS.. if the answer is yes..how can I find it..I am doing the coding in J2ME and LUWIT... 回答1: If you connect through GPRS then no your mobile does not have an unique IP address. 来源: https://stackoverflow.com/questions/4623163/does-mobile-phones-have-ip-address

Issue related to APN names

一笑奈何 提交于 2019-12-22 09:58:08
问题 I am using simcom900 modem,I am successfully able to establish GPRS connection and send data from my module to server.I am using 2g Airtel SIM and I have given APN name as "airtelgprs.com".I have also tried by giving different APN names which are not related to airtel network then also I could establish connection and transfer data to server. Please let me know how is this possible? 回答1: With the SIM unlocked, try entering AT+CGDCONT? Now you should see all the stored contexts, something like

How to get location of android device by its android id

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-20 07:28:56
问题 I am new in android and recently start learning about Android and I am trying to get location of any android device by its unique android id. By that I can track the approx or exact location either by GPS or network provider. In detail I mean to say that whenever i enter any Android id in my app i can get device location in my application. Thanks for your kind help. 回答1: Finally I am able to do with this code: public class MyService extends Service implements LocationListener{ String GPS

How to make an android peer to peer without using intermediate server? [closed]

你说的曾经没有我的故事 提交于 2019-12-18 11:29:01
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . I need to make an android peer to peer app that should work with any Internet connectivity and without using intermediate server. Can somebody plz give me any start up ideas. I haven't find any answer while googling. Any help would be appreciated. Regards, Pawan 回答1: Adobe AIR,

How to check the network availability?

淺唱寂寞╮ 提交于 2019-12-17 19:55:57
问题 I have to connect my app with server using either wifi (if it is available), or gprs (if wifi is not available). Here is my code to check the connection availability public static final boolean isConnectionAvailable(Activity a) { ConnectivityManager cm = (ConnectivityManager)a.getSystemService(Context.CONNECTIVITY_SERVICE); State mobile = cm.getNetworkInfo(0).getState(); State wifi = cm.getNetworkInfo(1).getState(); if (wifi == NetworkInfo.State.CONNECTED || wifi == NetworkInfo.State

Create Network Access Point Name with code,

*爱你&永不变心* 提交于 2019-12-17 19:01:02
问题 I want to create APN by code, is there any support in Android SDK, i have tried a lot but not succeed,I found some info related to this http://blogs.msdn.com/b/zhengpei/archive/2009/10/13/managing-apn-data-in-google-android.aspx i made a class using this reference but not able to do anything,can any please give the solution for this???? Thanks 回答1: I will give some examples: Getting default APN information: //path to APN table final Uri APN_TABLE_URI = Uri.parse("content://telephony/carriers"

send SMS for 1 time with arduino GPRS SIM900 if an iput is HIGH

不羁岁月 提交于 2019-12-14 03:19:57
问题 I faced a problem to send 1 SMS if an input is HIGH,and if it is LOW==> no SMS to send,if LOW to HIGH==> send 1 SMS. this code not working,just sent SMS when I turn the GPRS on,and after nothing is happened. mclopez helped me,thank you,but not working :( , this is the new code that I wrote with the delay()s,but the same problem. Thank you for helping in advance. #include <SoftwareSerial.h> #include "TimerOne.h" const int DI = 2; const int DT = 3; const int DGP1 = 4; const int DGP2 = 5; const

Windows Mobile - Connect to Internet

谁说胖子不能爱 提交于 2019-12-13 03:54:12
问题 My application is making call to server at regular intervals. This requires internet connection either using Wi-Fi or GPRS. This works ok when phone is waken (screen light is on). But, as soon as phone lights are off, it makes HttpWebRequest and tried to get Internet connection. Mobile starts connecting to Wi-Fi. But, Application does not wait for establishing connection to Wi-Fi. How can I connect to Wi-Fi or GPRS before making HttpWebRequest? How to specify that I want to connect to Wi-Fi

Making GPRS Connection programmatically using C# for windows CE 5.0?

让人想犯罪 __ 提交于 2019-12-11 18:05:09
问题 I'm new to Windows CE so tack it easy. I want to create a GPRS connection pragmatically and dial it in C# for windows CE 5.0 (Visual Stdio 2008). I searched a lot more that 100 pages but nothing!!! for example : http://msdn.microsoft.com/en-us/library/bb840031.aspx For connecting GPRS I have to dial *99# and some settings but I don't know how to use these sample codes with my settings. The connection management tacks no settings or I do not know how. Is there any sample code to create GPRS