- This topic has 2 replies, 3 voices, and was last updated 8 years, 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
|
hi
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
plz suggest some way.suggestions are also invited if you suspect some
other problem .
Hi Sonu
Hope you have tried sending "rn" string for the replacement of Ctrl-Z function. It works fine
write :"/r/n" inside your SMS. it may work i think