Discussion in "Embedded GSM Development" started by    Shailesh NAYAK    Feb 16, 2009.
Wed Dec 09 2009, 10:46 am
#11
Hi guys...i am done with gprs communication,finished the coding and its working.

I have a problem with APN,when i used airtel sim then airtelgprs.com apn is wrriten in code so its working good but when i change the sim to cellone/idea the communication is failed to estabilish bcoz airtelgprs.com is default wrriten in code how to solve this probs.
Wed Dec 09 2009, 03:50 pm
#12
you can store all known APNs in an array and then try them one by one in code. If one fails, switch to second one.

Second option is to get service provider name and then select corresponding APN for that provider. command to get service provider name is "AT+COPS?" I cannot be sure how precise this option is coz names may change from state to state.
Wed Dec 09 2009, 05:13 pm
#13
Thank u ajay...i will implement both the options & check which one is precise and update the info.

If there r any other options like alternate for APN. please let me know.
Fri Dec 11 2009, 05:35 pm
#14
Sadly no! There is no other alternate for APN
Sun Dec 13 2009, 04:41 pm
#15
hi i want to create gprs connection (TCP). Using vodafone sim. I dont know the apn
Help me. send me all at commands required.
Mon Dec 14 2009, 02:09 pm
#16
at+cops=?

Response:-
+COPS: (2,"Airtel","AIRTEL","40449"),(3,"01","01","40501"),(3,"Hutch-Andhra Prad
esh","HUTCH","40413"),(3,"801","801","405801"),(1,"Andhra Pradesh","CellOne","40
473"),(3,"25","25","40525"),(1,"IDEA Cellular Limited","IDEA","40407"),(1,"819",
"819","405819"),,(0-4),(0-2)

OK

at+cops?

Response:- (Airtel SIM)
+COPS: 0,0,"Airtel"

OK

u will not get the APN exactly instead it will return Network provider name only,u have to take the apn from network provider.
i found few apn names for the network providers

AirTel airtelgprs.com
BPL bplgprs.com
BSNL celloneportal
Hutch(normal) www
Hutch(Gujarat) web
Idea Cellular internet
MTNL Mumbai mmsmtnlmum
MTNL Mumbai(Plan 2) gprsmtnlmum
Sun Apr 18 2010, 09:06 pm
#17
hi
i want to know that that if i send any message to the ftp server through at commands

and after sendig

at+cipsend="Any test message" [ctr+z]

how my message would be displayed on tcp server please help me
Tue Apr 20 2010, 03:07 am
#18

at+cipsend="Any test message" [ctr+z]

compaq


that is a wrong format..
you send command as AT+CIPSEND only.

then modem will show you '>' then your text message and [ctr+z]

how my message would be displayed on tcp server please help me

compaq


What you send is what you get.. it will be a text message whatever you sent. doesn't matter if its a 1 byte or 100.
Tue Apr 20 2010, 08:03 am
#19
thanks for your reply
i just want to ask you that if i am sending this text to server using my controller how can i receive this on ftp port because i have no idea of ftp i just want to display my sent message on sever
Wed Apr 21 2010, 12:15 am
#20
can you plese help me when i write
at+cstt="vodafone.com",","
ERROR
this happens please help

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am