Rules | Recent posts | topic RSS | Search | Register  | Log in

Confused with AT Commands

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital communication
Author Message
markrod



Joined: 25 Apr 2006
Posts: 10


Post03 Jul 2006 15:58   Confused with AT Commands

hi! i connected my cellphone to my pc via hyperterminal. i just dont get why is it that when im sending the exact same AT command (at+cmgs="<my cellphone#>",125)...it works most of the time. but sometimes it does not. does anyone know why this is so? im using the exact AT command and parameters and copy it verbatim but it's not that consistent if it works or not...

thanks!
Back to top
hr_rezaee



Joined: 06 Oct 2004
Posts: 867
Helped: 88
Location: Iran-Mashhad


Post03 Jul 2006 17:34   Confused with AT Commands

Hi
do you use correct baudrate and settings?
regards
Back to top
Davood Amerion



Joined: 01 Mar 2005
Posts: 588
Helped: 90
Location: Persia


Post03 Jul 2006 18:46   Confused with AT Commands

it may because of loos connection in your cable (i mean its connectors).
Back to top
markrod



Joined: 25 Apr 2006
Posts: 10


Post03 Jul 2006 19:39   Re: Confused with AT Commands

i think so. im using nokia 6210. 19200 bits per second, 8 data bits, no parity, 1 stop bit...

i noticed that when im typing the at commands in the hyperterminal and made typing errors and try to delete them and overwrite them with the correct at command that is when the command generates an ERROR response. otherwise its OK.

also, can i ask if anyone here has had previous experience with the model. Cause not all at commands are available for all nokia cellphones. just want to confirm if the model accepts at+cmgr (read message). i type at+cmgr="sm" and at+cmgr="me" but it generates an error response.
thanks again!
Back to top
Davood Amerion



Joined: 01 Mar 2005
Posts: 588
Helped: 90
Location: Persia


Post03 Jul 2006 21:23   Re: Confused with AT Commands

check this link it may help you:
http://www.serasidis.gr/circuits/smscontroller/smscontroller.htm
Back to top
hr_rezaee



Joined: 06 Oct 2004
Posts: 867
Helped: 88
Location: Iran-Mashhad


Post04 Jul 2006 8:32   Confused with AT Commands

Hi
i think you must use 9600 bps.
you can't use any baudrate that you want.
regards
Back to top
markrod



Joined: 25 Apr 2006
Posts: 10


Post05 Jul 2006 18:32   Re: Confused with AT Commands

thanks! i finally got it to work more consistently in hyperterminal.

I then interfaced it with my microcontroller and was able to send sms thru my microcontroller but this time not 100% accurate. sometimes the characters get jumbled and sometimes it doesnt send at all. i used 9600 baud rate, 8 data bits, no parity and 1 stop bit.

anyone have a suggestion/clue why this is happening?

thanks!
Back to top
hr_rezaee



Joined: 06 Oct 2004
Posts: 867
Helped: 88
Location: Iran-Mashhad


Post06 Jul 2006 6:50   Confused with AT Commands

Hi
check another software.
regards
Back to top
markrod



Joined: 25 Apr 2006
Posts: 10


Post09 Jul 2006 17:00   Re: Confused with AT Commands

thanks everyone. i think i got the hang of it now. i've successfully been able to send sms now. but i dont get it why all the response i get is always the <cr><lf>OK<cr><lf> response.

dont know if i missed out any initialization for my fone. i initialize my fone by sending the following commands:

at+cpms --> set my sim memory for storing message.
at+cmgf --> set as text mode not PDU mode

did i miss out any at command in setting up my phone configuration? thanks!
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital communication
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap