GSM modem interfacing



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 .

.



Relevant Pages

  • Siemens MT50 and AT Commands
    ... I have a cable to serial connection too. ... Commands and I had a few problems. ... When I try send sms in PDU mode, mobile return error too. ...
    (uk.telecom.mobile)
  • Re: Sending SMS
    ... I'm just wondering whats the best way to send an SMS thought perl? ... What I use is GSM gateway and I send AT commands over serial connection. ...
    (perl.beginners)
  • problem in modem interfacing with microcontroller
    ... i m interfacing GSM modem to my microcontroller.i need to send sms ... i am using AT commands for that.the command to send sms ... only ....do i need to reset or do something with this pin when my ...
    (comp.arch.embedded)
  • how to send ctrl-Z in C language - modem interfacing
    ... hi,i m interfacing gsm modem to my microcontroller.i need to send sms ... i am using AT commands for that.the command to send sms ... ctrl-Z.now in my program i hav tried all ways to send ctrl-Z at end of ...
    (comp.lang.c)
  • Re: sms-gateway
    ... >> I'm looking for a way to send the subject of an email via SMS. ... I wanted to send messages via SDS (I work at a TETRA Telco, ... I don't know if you can sent an SMS via AT commands on a GSM ... your modem should sent. ...
    (Debian-User)