×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    1

    Smile GSM MODEM SMS SENDING

    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 withctrl-Z.now in my program i hav tried all ways to send ctrl-Z at end ofmy 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 .

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    5

    Re: GSM MODEM SMS SENDING

    Hello,
    Try to send "\r" character which is carriage return. This may solve ur problem. I have done a similar kind of application for sending sms using GSM phone as a modem by sending AT Commands.

    //First Send
    outputStream.write("AT+CMGS=29");//PDU MODE MSG
    outputStream.write('\r');
    outputStream.flush();

    //Second Send
    outputStream.write("0001000C91199994904427000012C8329BFD06D1CB783AC82C7FB741D021")//PDU MODE MSG
    outputStream.write('\r');
    outputStream.flush();

Similar Threads

  1. sending MMS using AT commands and GSM Modem
    By sriramnaga in forum General Messaging
    Replies: 10
    Last Post: 2010-11-24, 07:08
  2. Help Sending Multiple SMS from GSM modem to Nokia Phone
    By ghost1380 in forum General Messaging
    Replies: 0
    Last Post: 2006-03-05, 18:03
  3. Error sending SMS
    By jorge_c in forum Multimodecards
    Replies: 0
    Last Post: 2003-10-07, 11:53
  4. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46
  5. Replies: 1
    Last Post: 2002-10-31, 11:35

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •