- This topic has 1 reply, 2 voices, and was last updated 7 years, 10 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Microcontroller › AVR › command line
hello sir
i m interfacing gsm modem to my microcontroller.i need to send sms through it. i am using AT commands for that.the command to send sms (AT+ CMGS) terminates with ctrl-Z.now in my program i hav tried all ways to send ctrl-Z at end of my sms.but it takes this as a character or string only.also i tried with ascii value of ctrl-Z but
of no use.
i am able to see the transmitted commands on hyper-terminal through serial interface & also on serail window while debugging. the commands are as follows with 2ms delay between each of them.
AT ,, AT+CMGS = mobile no. , “message to be sent ” ctrl-Z
please help me
Hi Anurag
Have you tried sending "rn", it is nothing but a Ctrl-Z command. Also you have to wait for the ">" response from module; message should be sent after receiving this. An "OK" repsonse, at the end, will assure a successful delivery.