Discussion in "Embedded GSM Development" started by    Shailesh NAYAK    Feb 16, 2009.
Wed Dec 09 2009, 05:16 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, 10:20 AM
#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, 11:43 AM
#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, 12:05 PM
#14
Sadly no! There is no other alternate for APN
Sun Dec 13 2009, 11:11 AM
#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, 08:39 AM
#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, 03:36 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
Mon Apr 19 2010, 09:37 PM
#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, 02:33 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
Tue Apr 20 2010, 06:45 PM
#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

Conversation

Fri Mar 05 2021, 04:34 PM
BrandonSolve
https://bitdouble.net
Fri Mar 05 2021, 03:38 PM
QGW7BI8AIJLMSVWWXF www.web.de
QGW7BI8AIJLMSVWWXF www.google.com Where are you located ? I want to come to you one of these days
Thu Mar 04 2021, 04:57 PM
Ronaldwhits
https://coin2x.org
Thu Mar 04 2021, 11:22 AM
Austintic
https://ether2x.net
Thu Mar 04 2021, 10:43 AM
Bryanmkt
only

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 116, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123