AT+ Command (CMGS in pdu mode) -SMS using Hyper Terminal
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 3 of 3

Thread: AT+ Command (CMGS in pdu mode) -SMS using Hyper Terminal

  1. #1
    Join Date
    May 2007

    Question AT+ Command (CMGS in pdu mode) -SMS using Hyper Terminal

    I am trying to send an SMS using hyper terminal in windows XP pro. I am connecting my Satellite Phone (Motorola Iridium 9505A) to my notebook via serial cable (RS232) .

    Below are the sample commands which I use to send an SMS to my email via Motorola 9505A. An error occurred after I press <Ctrl+Z> to execute the SMS.

    The message that I want to sent is: -

    " testing from 9505A"

    Header of the message (pdu format) is: -


    Octet(s) Description Example:-

    00 Length of SMSC information 00 Information is set by phone

    11 First SMSSUBMIT octet PDU Format indicator (layout)

    00 Message Reference (00 =Reference number is set by phone)

    02 Length of phone number (2)

    91 Format of phone number (91=International)

    2a Phone number (*2 = Uses number stored in phone)

    00 Protocol identifier (Type 0)

    00 Data coding scheme (7bit)

    AA Validity period (AA Means 4 days)

    length of the pdu is: -


    length of the message is: -


    Sample AT+ commands used in hyper terminal are as follows: -






    > 00110002912a0000AA

    > 22


    +CMS ERROR:003

    Probably I have missed something or the way I do testing is not correct. I hope somebody can assist me on this matter.

  2. #2
    Join Date
    Apr 2011
    Silver Spring, MD

    Re: AT+ Command (CMGS in pdu mode) -SMS using Hyper Terminal

    Same here McGuard i hate this same error, i hope someone could help us.

    Thank you in advance,

  3. #3
    Join Date
    Oct 2006

    Re: AT+ Command (CMGS in pdu mode) -SMS using Hyper Terminal

    It's been so many years since I created code for this so I don't remember enough to help you with details. These days however there are so many libraries and applications that do the same thing so take advantage of them instead of struggling yourself.

    Even if you decide to struggle on cross-referencing with the PDU output of another application will be very useful. Here's one google hit
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    and before posting

    Refresh your memory on formatting tags here

    Get your free MS compiler here

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This is a survey!

HTML5 Development Center