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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • McGuard
    New Member
    • May 2007
    • 3

    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: -

    "megat@geoid.bi z testing from 9505A"

    Header of the message (pdu format) is: -

    00110002912a000 0AA

    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=Internation al)

    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: -

    38

    length of the message is: -

    22

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

    at

    OK

    at+cmgf=0

    OK

    at+cmgs=38

    > 00110002912a000 0AA

    > 22

    >DF2394C079ECBE F34D9254EEB41F4 F29C9E769F4166F 9BB0DCAD560B520

    +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.
  • RedSon
    Recognized Expert Expert
    • Jan 2007
    • 4980

    #2
    Dang, that is a tough question. I apologize, I don't know how to help you :( I hope you can get it working!

    Comment

    • Banfa
      Recognized Expert Expert
      • Feb 2006
      • 9067

      #3
      Originally posted by McGuard
      02 Length of phone number (2)

      91 Format of phone number (91=Internation al)

      2a Phone number (*2 = Uses number stored in phone)
      You have said the phone number is 2 octets but only sent 1, you have sent * not *2

      Comment

      • McGuard
        New Member
        • May 2007
        • 3

        #4
        Originally posted by Banfa
        You have said the phone number is 2 octets but only sent 1, you have sent * not *2
        Hi Banfa,
        Thanks for the reply. According to the reference ,the 2a value is in decimal semi octet (actual number is *2). Not sure difference between octet and decimal semi octet (probably you know it better).

        Comment

        • Banfa
          Recognized Expert Expert
          • Feb 2006
          • 9067

          #5
          Originally posted by McGuard
          Hi Banfa,
          Thanks for the reply. According to the reference ,the 2a value is in decimal semi octet (actual number is *2). Not sure difference between octet and decimal semi octet (probably you know it better).
          Right yeah it is where you use each nibble of the octet to represent a single digit, obviously you then have a - f to represent other things.

          In that case are you sure that 2a does not represent in fact represent 2* rather than *2.

          Comment

          • McGuard
            New Member
            • May 2007
            • 3

            #6
            Originally posted by Banfa
            Right yeah it is where you use each nibble of the octet to represent a single digit, obviously you then have a - f to represent other things.

            In that case are you sure that 2a does not represent in fact represent 2* rather than *2.
            Yes,in manual method, I use a few numbers which are *2,00*2 or +*2 to send an sms.

            Do you think there's other thing that I need to look into in order to make my testing works?

            Comment

            Working...