Re: GSM modem interfacing
- From: "Adrian" <adrianbica@xxxxxxxxx>
- Date: 30 Aug 2006 13:38:49 -0700
abhay wrote:
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+CMGF = 1, AT+CMGS = mobile no. , "message to be sent " ctrl-Z /
26 / ^Z
plz suggest some way.suggestions are also invited if you suspect some
other problem .
Do you send [CR][LF] at the end of each line?
Also, try this before sending messages: AT+CSMP=17,167,0,0[CR][LF]
What answers do you get from modem for each command? Why don't you try
first to introduce commands manually from a Hyperterminal? It would be
of much help.
Adrian
.
- References:
- GSM modem interfacing
- From: abhay
- GSM modem interfacing
- Prev by Date: Re: 8 bit microcontroller market
- Next by Date: Re: the sound of mp3 played on ARM is more faster than played intel pc.
- Previous by thread: GSM modem interfacing
- Next by thread: How Traffic Monotorig System actually works or implemented
- Index(es):
Relevant Pages
|