Hey guys,
I am working on the Mega2560 with a GSM shield. I want to send the data via GSM through UDP packets instead of TCP which is the default transport layer in all communications using the shield. So i accordingly modified the library source codes. Connection is established but I am not recieving any response. I went into the debug mode and got AT commands for the same.
Connecting GSM network...AT%13%
0 9>AT%13%%13%%10%OK%13%%10%
AT+CGREG?%13%
9 40>AT+CGREG?%13%%13%%10%+CGREG: 0,1%13%%10%%13%%10%OK%13%%10%
AT+IFC=1,1%13%
40 57>AT+IFC=1,1%13%%13%%10%OK%13%%10%
AT+CMGF=1%13%
57 73>AT+CMGF=1%13%%13%%10%OK%13%%10%
AT+CLIP=1%13%
73 89>AT+CLIP=1%13%%13%%10%OK%13%%10%
ATE0%13%
89 100>ATE0%13%%13%%10%OK%13%%10%
AT+COLP=1%13%
100 106>%13%%10%OK%13%%10%
OK
Enter your APN: airtelgprs.com
Now, enter your login:
Finally, enter your password: Attaching to GPRS with your APN...
AT+CGATT=1%13%
120 126>%13%%10%OK%13%%10%
AT+QIFGCNT=0%13%
126 4>%13%%10%OK%13%%10%
AT+QICSGP=1,"airtelgprs.com","",""%13%
4 10>%13%%10%OK%13%%10%
AT+QIMUX=0%13%
10 16>%13%%10%OK%13%%10%
AT+QIMODE=1%13%
16 22>%13%%10%OK%13%%10%
AT+QINDI=1%13%
22 28>%13%%10%OK%13%%10%
AT+QIREGAPP%13%
28 34>%13%%10%OK%13%%10%
AT+QIACT%13%
34 40>%13%%10%OK%13%%10%
OK
If your carrier uses a proxy, enter it, if not press enter:
Connecting and sending GET request to arduino.cc...AT+QIDNSIP=1%13%
40 46>%13%%10%OK%13%%10%
AT+QIOPEN="UDP","arduino.cc",80%13%
46 52>%13%%10%OK%13%%10%
46 63>%13%%10%OK%13%%10%%13%%10%CONNECT%13%%10%
GET / HTTP/1.0%13%%10%%13%%10%OK
Receiving response...
Can anyone please help me with this ? I am not able to proceed any further with this !!