473,396 Members | 1,929 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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.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
5 21852
RedSon
5,000 Expert 4TB
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
9,065 Expert Mod 8TB
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
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
9,065 Expert Mod 8TB
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
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

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

Similar topics

2
by: hleewood | last post by:
I'm using VS 2003, VB.Net. For no apparent reason the Command Window no longer functions. It doesn't auto-complete and doesn't recognize any syntax.
1
by: tina | last post by:
Hello, I would really appreciate some help. I am still learning VBA and I feel like my brain is fried already. Below I am trying to run a query and do a loop. I actually get the data set but...
25
by: David Bernier | last post by:
I'd like to pass on the command line two filenames. As for example: my_executable filename_1 filename_2 I haven't done any C programming with command line arguments so far. I'm familiar...
15
by: Madhanmohan S | last post by:
Hi All, I want to run a command line appplication from C#. When i start the application, it will go into specific mode. After that, i have to give commands to use the application. How Can This Be...
0
by: Marcos Ribeiro | last post by:
I cant figure the use ot the Command window on Immediate Mode (VS 2002 IDE) If I use it on design mode I get: ?val("1.2") The expression cannot be evaluated while in design mode. If I use it...
1
by: Jay Feldman | last post by:
I've seen some messages about the screen flashing black for a few moments when executing a program in vb.net this may be because the command prompt settings were changed. when the command prompt...
7
by: John Wildes | last post by:
Hello All, I've got a VB.net windows form app that I have created to solve some recurring maintenance tasks. What I would like to do is build functionality into this application so that accepts...
1
by: AlexZh | last post by:
Hi, I'd like to stop command line build by one project build failed. To do that I've created simple AddIn (see code below), that works fine for IDE and does not work for command line. In the AddIn...
5
by: sesling | last post by:
I have created several forms that will launch various programs. One of the programs is Putty. see command line below "c:\program files\putty\putty.exe" Is there a way to pass in a command...
11
NeoPa
by: NeoPa | last post by:
What needs to be set and/or changed when switching the Picture property of a Command Button within VBA code? The scenario is that I have a continuous form for a particular table. The controls (in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.