By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,189 Members | 1,559 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,189 IT Pros & Developers. It's quick & easy.

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

P: 3
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.biz testing from 9505A"

Header of the message (pdu format) is: -

00110002912a0000AA

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

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

> 00110002912a0000AA

> 22

>DF2394C079ECBEF34D9254EEB41F4F29C9E769F4166F9BB0D CAD560B520

+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.
May 31 '07 #1
Share this Question
Share on Google+
5 Replies


RedSon
Expert 5K+
P: 5,000
Dang, that is a tough question. I apologize, I don't know how to help you :( I hope you can get it working!
May 31 '07 #2

Banfa
Expert Mod 5K+
P: 8,916
02 Length of phone number (2)

91 Format of phone number (91=International)

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
May 31 '07 #3

P: 3
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).
Jun 1 '07 #4

Banfa
Expert Mod 5K+
P: 8,916
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.
Jun 1 '07 #5

P: 3
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?
Jun 3 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.