Embedded Partner
Full Member level 5
- Joined
- Nov 29, 2010
- Messages
- 247
- Helped
- 42
- Reputation
- 84
- Reaction score
- 37
- Trophy points
- 1,308
- Location
- Hubli(INDIA)
- Activity points
- 2,636
First you have to learn basic interfacing with GSM/GPRS modem
learn AT commands.. try to do simple interfacing with modem like dialing no, sending/recieving sms, checking signal strength etc.
then you start GPRS related commands
dude i have done many operations on this GSM
i.e
reading sms
sending sms
calling
receiving
and so on but i dont know how to interface GPRS just i m reading GPRS commands but i m not getting them
confirm GPS or GPRS. and which GPS
i have learnt and done some mini projects .....
just tel me how can i read the gprs alt and longt
AT //ATTENTION COMMAND
ok
AT+CGREG? //NETWORK REGISTRATION STATUS
AT+CGREG=1
STETUS SHOULD BE 1,1
Parameter
<n> 0 disable network registration unsolicited result code
1 enable network registration unsolicited result code +CGREG:<stat>
2 enable network registration and location information unsolicited result code +CGREG: <stat>[,<lac>,<ci>]
<stat>
0 not registered, ME is not currently searching a new operator to register to
1 registered
AT+CGATT? //ATTACH/DETACH FROM GPRS SERVICE
AT+CGATT=1 //ATTACH GPRS SERVICES
<state> indicates the state of GPRS attachment
0 – detached
1 – attached
Other values are reserved and will result in an ERROR response to the execution command.
AT+CSTT="airtelgprs.com","","" //START TASK AND SET APN, USER NAME, PASSWORD
AT+CIICR //BRING UP WIRELESS CONNECTION WITH GPRS OR CSD
AT+CIFSR //GET LOCAL IP ADDRESS
AT+CIPSTART="TCP","74.125.79.83","80" //GMAIL SERVER IP ADDR AND PORT NO.
OK
CONNECT OK
AT+CIPSEND(ENTER)
>MESSAGE
CTRL z
SEND
OK
follow this, it worked for me doe simcom module
--------------------------------------------------------------------------------
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?