View previous topic :: View next topic |
Author |
Message |
gomer_is Guest
|
AT commands |
Posted: Wed Jun 04, 2003 3:09 pm |
|
|
I recently found a couple of Nokia 6210 GSM phones and am entertaining
the idea of sending AT commands using a PIC mid range processor. Anyone out there know of a good starting point
in communicating with this phone via a PIC. My end goal is
to send SMS messages in order to do a little remote control.
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515038 |
|
|
Tomi Guest
|
Re: AT commands |
Posted: Thu Jun 05, 2003 1:47 am |
|
|
1. Make a normal serial connection between the PIC and the GSM phone.
2. Search the web for GSM 07.05 standard to read more about SMS-based commands.
But here is a "very quick reference":
1. Setup the GSM device to text mode:
Send: AT+CMGF=1
Answer: OK
2. Initiate an SMS:
Send: AT+CMGS="+36301234567" // use intl. phone number form
Answer: > // a prompt
Send: This is my first SMS{CTRL+Z}// terminate the SMS by Control-Z
Answer: +CMGS: 125 // the ord. number of the SMS (0-255) if it has successfully sent
3. To read an incoming SMS:
Send: AT+CMGL="REC UNREAD" // to get received unread messages
// optionally: "REC READ" "ALL"
Answer(at least three lines):
+CMGL: 1,"REC UNREAD","+36205695410",,"03/06/05,08:03:05-00"
This is my first SMS
OK
4. Delete the processed SMS:
Send: AT+CMGD=1 // or the ord. number of the SMS, see +CMGL: 1, part
Answer:
OK
HTH,
Tomi
:=I recently found a couple of Nokia 6210 GSM phones and am entertaining
:=the idea of sending AT commands using a PIC mid range processor. Anyone out there know of a good starting point
:=in communicating with this phone via a PIC. My end goal is
:=to send SMS messages in order to do a little remote control.
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515042 |
|
|
gomer_is Guest
|
Re: AT commands |
Posted: Thu Jun 05, 2003 6:03 am |
|
|
Thanks Tomi This is a big help. Any links to the hardware interface for this particular phone?
:=1. Make a normal serial connection between the PIC and the GSM phone.
:=2. Search the web for GSM 07.05 standard to read more about SMS-based commands.
:=
:=But here is a "very quick reference":
:=1. Setup the GSM device to text mode:
:=Send: AT+CMGF=1
:=Answer: OK
:=2. Initiate an SMS:
:=Send: AT+CMGS="+36301234567" // use intl. phone number form
:=Answer: > // a prompt
:=Send: This is my first SMS{CTRL+Z}// terminate the SMS by Control-Z
:=Answer: +CMGS: 125 // the ord. number of the SMS (0-255) if it has successfully sent
:=
:=3. To read an incoming SMS:
:=Send: AT+CMGL="REC UNREAD" // to get received unread messages
:=// optionally: "REC READ" "ALL"
:=Answer(at least three lines):
:=+CMGL: 1,"REC UNREAD","+36205695410",,"03/06/05,08:03:05-00"
:=This is my first SMS
:=OK
:=4. Delete the processed SMS:
:=Send: AT+CMGD=1 // or the ord. number of the SMS, see +CMGL: 1, part
:=Answer:
:=OK
:=
:=HTH,
:=Tomi
:=
:=:=I recently found a couple of Nokia 6210 GSM phones and am entertaining
:=:=the idea of sending AT commands using a PIC mid range processor. Anyone out there know of a good starting point
:=:=in communicating with this phone via a PIC. My end goal is
:=:=to send SMS messages in order to do a little remote control.
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515046 |
|
|
Tomi Guest
|
Re: AT commands |
Posted: Thu Jun 05, 2003 9:20 am |
|
|
I don't know any link. I use the original serial cable type DLR-3P (this is the reference name in the accessory list).
:=Any links to the hardware interface for this particular phone?
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515049 |
|
|
eugeneb Guest
|
Re: AT commands |
Posted: Thu Jun 05, 2003 5:47 pm |
|
|
<font face="Courier New" size=-1>FYI: There are sources for OEM embedded cell phone modules. In my experience Enfora (www.enfora.com) has been the best company to work with. Their support and documentation is top notch. Small quantities can be purchased through AirDesk (www.airdesk.net).
</font>
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515056 |
|
|
Bjorn Peschl Guest
|
Re: AT commands |
Posted: Fri Jun 06, 2003 5:45 am |
|
|
:=I recently found a couple of Nokia 6210 GSM phones and am entertaining
:=the idea of sending AT commands using a PIC mid range processor. Anyone out there know of a good starting point
:=in communicating with this phone via a PIC. My end goal is
:=to send SMS messages in order to do a little remote control.
I know that the Nokia phones are limited to use with AT-commands but like Tomi said you have to try it with help from the ETSI standard commands. I thought that the cgmf command doesn´t work and that you have to work in PDU format. Just give it a try !!! I used a Siemens M20 wich has a direct serial connection and that works great...
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515061 |
|
|
Tomi Guest
|
Re: AT commands |
Posted: Fri Jun 06, 2003 6:59 am |
|
|
Usually you are right about Nokia mobile phones.
But I have a 6210 and just tried to enter the "AT+CMGF=1" command. It was accepted and I was able to send an SMS in text mode.
About M20: that was my favorite GSM adapter but unfortunately that is obselete. Siemens said that TC35 is the alternative for M20 but TC35 has Windows-like backward compatibility :( (cca. 30\% of commands are compatible...)
:=:=I recently found a couple of Nokia 6210 GSM phones and am entertaining
:=:=the idea of sending AT commands using a PIC mid range processor. Anyone out there know of a good starting point
:=:=in communicating with this phone via a PIC. My end goal is
:=:=to send SMS messages in order to do a little remote control.
:=
:=I know that the Nokia phones are limited to use with AT-commands but like Tomi said you have to try it with help from the ETSI standard commands. I thought that the cgmf command doesn´t work and that you have to work in PDU format. Just give it a try !!! I used a Siemens M20 wich has a direct serial connection and that works great...
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515065 |
|
|
gomer_is Guest
|
Re: AT commands |
Posted: Fri Jun 06, 2003 12:59 pm |
|
|
Hi,
The thing that bugs me the most is that I can buy an entire
GSM phone for half as much as a straight modem. I know it's
a quantity thing but I am used to prices coming down rather
sharply after a new technology gets a little age on it but
this GSM thing isn't following the usual trend. Thanks guys
for all of the suggestions and help.
:=Usually you are right about Nokia mobile phones.
:=But I have a 6210 and just tried to enter the "AT+CMGF=1" command. It was accepted and I was able to send an SMS in text mode.
:=About M20: that was my favorite GSM adapter but unfortunately that is obselete. Siemens said that TC35 is the alternative for M20 but TC35 has Windows-like backward compatibility <img src="http://www.ccsinfo.com/pix/forum/sad.gif" border="0"> (cca. 30\% of commands are compatible...)
:=
:=:=:=I recently found a couple of Nokia 6210 GSM phones and am entertaining
:=:=:=the idea of sending AT commands using a PIC mid range processor. Anyone out there know of a good starting point
:=:=:=in communicating with this phone via a PIC. My end goal is
:=:=:=to send SMS messages in order to do a little remote control.
:=:=
:=:=I know that the Nokia phones are limited to use with AT-commands but like Tomi said you have to try it with help from the ETSI standard commands. I thought that the cgmf command doesn´t work and that you have to work in PDU format. Just give it a try !!! I used a Siemens M20 wich has a direct serial connection and that works great...
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515075 |
|
|
Tomi Guest
|
Re: AT commands |
Posted: Sat Jun 07, 2003 12:58 am |
|
|
<font face="Courier New" size=-1>Check out the GPRS technology. Currently I migrate some older modem- or SMS-based PIC applications to GPRS technology, because:
1. It gives a 24-hours-per-day continous connection.
2. You pay after the physically transferred bytes regardless of the connection time (this is the reason why you can leave the connection opened for entire day).
3. Transfer the Hungarian GPRS prices to US$ could to say that the cost is cca. 300 kbyte/US$ what is not too bad :)
Note that GPRS technology is not supported by Nokia 6210. Maybe this is the reason why you can buy it for half-price.
:=but this GSM thing isn't following the usual trend.</font>
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515082 |
|
|
neteo
Joined: 28 Oct 2003 Posts: 1
|
|
Posted: Tue Oct 28, 2003 10:43 am |
|
|
I am trying to do that, but with a 16f84, and Samsung gsm....
This will be used for a wind measurement device to provide sms alert for good windsurfing condition
If somebody can help me on this difficult project... |
|
|
mcafzap
Joined: 07 Sep 2003 Posts: 46 Location: Manchester, UK
|
SMS etc |
Posted: Tue Oct 28, 2003 11:20 am |
|
|
FWIW I have used the TC35 and not found the PDU mode anywhere near as easy to use as the text mode that Tomi has described earlier.
Typical difficulties were timing constraints; having to set up the data before transmission (because you have to specify the number of bytes you're going to send at the start) and alignment of the very fine pitched connector on this device. Probably a common 'difficulty' with any mobile 'phone if you're not going to use the internal batteries, is to minimise ripple on the supply. With a poor antenna the current pulses on a TC35 get up to 3.5A
Stick to a complete 'phone; I certainly won't be using the TC35 again.
Steve |
|
|
esat
Joined: 26 May 2007 Posts: 3
|
|
Posted: Fri Jun 22, 2007 12:56 am |
|
|
thanks.
but a question how can ı find at command for sagem MO170 modul.
I have one but not use. mail: esathidayet@yahoo.com. |
|
|
BOB_SANTANA
Joined: 16 Oct 2006 Posts: 110 Location: HOVE, EAST SUSSEX
|
|
Posted: Fri Jun 22, 2007 7:58 am |
|
|
Just a quick question with regards to connecting nokia 6210 to pic micro
i have one of those phones with the original Data cable DLR-3
but want to know if there is any need to connect the RTS and DTR etc
or is it just the RX/Tx and Gnd as i can talk to the phone via hyperthem but not from my project board
Best Regards
_________________ BOB_Santana |
|
|
arunb
Joined: 08 Sep 2003 Posts: 492 Location: India
|
RE: |
Posted: Fri Jun 22, 2007 9:24 am |
|
|
Is it possible to dial numbers using the GSM phone via serial link ??
Do nokia phones have GPRS systems inside them ?? is it possible to read the GPRS data using a serial link ??
thanks
arunb |
|
|
BOB_SANTANA
Joined: 16 Oct 2006 Posts: 110 Location: HOVE, EAST SUSSEX
|
|
Posted: Fri Jun 22, 2007 10:13 am |
|
|
you can dail number normally as just using a mobile phone
That is far from the answer to my question Lo:) _________________ BOB_Santana |
|
|
|