- This topic has 19 replies, 9 voices, and was last updated 7 years, 3 months ago by .
- You must be logged in to reply to this topic.
|
Miscellaneous › Others › Internet connectivity using GSM modem
//Checking registration status…
AT+CREG?
+CREG: 0,1
OK
//The device is registered in home network.
//Checking if device is already connected…
AT+CGACT?
OK
AT+CMEE=1
OK
//Attaching to network…
AT+CGATT=1
OK
//Setting up APN for TCP connection…
AT+CSTT=”airtelgprs.com”
OK
//APN setup for TCP connection successful..
//Bring up GPRS Connection…
AT+CIICR
OK
//GPRS Connection bring up sucessful..
AT+CIFSR
100.68.167.226
AT+CIPSTART=”TCP”,”208.91.198.160″,”80″
OK
CONNECT OK
//TCP connection success
AT+CIPSEND
>
GET http://www.gpstest.embeddedhut.com/add.php?no=testdata
SEND OK
1
CLOSED
//TCP connection is closed by remote server
dear sir , actully i too need to control the microcontroller using the GSM module is there any way to do that . have u find out yet. i want to use email service to control rather than message service
dear sir . i want to control the micro conroller using the GPRS . i want to send the command via the email and control the micro controller . is this possible. i am doing a project . any help is depply appreciated
Hi, im working with A6 GSM/GPRS module V03.03.20160830011H03, and I have a weird trouble. As a context, i can already send SMS and make calls with this device, now im trying to connect to gprs, just that, only establish a connection.
Its a weird situation becouse some times works and other just dont, i noticed something odd in AT+CGATT=1 command, some times takes so much time or dont answer, (command dont responds! message) and when that happend the AT+CGACT=1,1 responds with “error 148”.
In case AT+CGATT=1 command has responded quickly “OK” then the command AT+CGACT=1,1 is accepted and a connection is established.
Im entering this commands….
ATrn
AT+CPIN=”1721″rn
AT+CGATT=1rn
AT+CGDCONT=1,”IP”,”web.vodafone.de”,,0,0
AT+CGACT=1,1
Thanks a lot, I hope you can tell me something to fix the problem.
Have a nice day.
STEPS
at
OK
at+cgatt=1
OK
at+cgdcont=1,"IP","airtelgprs.com"
OK
at+cstt="airtelgprs.com","",""
OK
at+ciicr
OK
at+cifsr
223.191.220.9
at+cipstatus
OK
STATE: IP STATUS
at+cdnsorip=1
OK
at+cipstart="tcp","www.google.com","80"
OK
CONNECT OK
at+cipsend
> GET /index.html HTTP/1.1 press<ctrl+j><ctrl+j><ctrl+z>
SEND OK
DATA FROM SERVER