SMS System Bits, Integers, and Error Messages

System Bits

SB

Symbol

Description

180

Initialize GSM Modem for SMS

This is necessary to enable use of the SMS feature. Note that the modem must first be initialized using SB 72.

181

SMS: Initialization Succeeded

Signals that GSM modem has been initialized. The modem is now ready to send and receive SMS messages.

182

SMS: Initialization Failed

Signals that GSM modem has failed. SI 180 contains the error code.

183

Send SMS

Send the string that is represented by the index number stored in SI 182, to the phone number represented by the index number stored in SI 181.

184

SMS: Transmission succeeded

Signals that SMS has been successfully transmitted

185

SMS: Transmission Failed

Signals that SMS has failed. SI 180 contains the error code

186

SMS Received

Signals that a defined SMS has been received. SI 183 contains the index number identifying the origin of the SMS, if this number has been stored in the SMS phone book. If the number is not found, SI 183 equals 0.

SI 184 contains the index number of the SMS string that has been received. Only messages that have been defined in the SMS messages list can be received by the M90.

187

Error in Received SMS

This bit signals one of the errors listed below. SI 180 contains the error code.

188

 

Ignore Received SMS

Allows the user to block reception of SMS messages

189

Print SMS message

This prints a message with CR (Carriage Return) & LF (Line Feed)

190

Print SMS message

This prints a message with LF (Line Feed)

191

Print SMS message

This prints a message without CR (Carriage Return) or LF (Line Feed)

192

Get GSM antenna signal quality

Get GSM antennae signal quality. The signal quality is contained in SI 185 GSM Signal Quality.

193

Delete SMS messages from SIM

Deletes all of the SMS messages from the SIM card

194

Print SMS message

This prints a message including STX and ETX.

System Integers

SI

Symbol

Description

180

SMS Error Code

Contains an error code resulting from a SMS error. The list is shown below

181

SMS: Send to Phone Number

Contains the index number of a phone number within the GSM phone book. Use the Store Direct function to place the index number of the desired phone number in SI 181.

Storing the value '0' into SI 181 causes a message to be sent to the last number to which an SMS message was sent.

When auto-acknowledge is selected, the number 7 will be automatically placed into S1 181 when the SMS is acknowledged.

182

SMS: String Number to Send

Contains the index number that represents the SMS string to be sent. Use the Store Direct function to place the index number of the desired SMS string in SI 182.

183

Origin of Received SMS

Contains the index number that represents the phone number from which the SMS was sent. If this number is not defined in the GSM phone book, SI 183 will contain 0.

184

Received SMS String

Contains the index number that represents the SMS that has been received. If this number is not defined in the SMS message list, SI 184 will contain 0.

185

GSM Signal Quality

GSM antenna signal quality. If this is less than 11, reposition the antenna. You can use SB 192, Get GSM antennae signal quality,together with this SI.

187

Number of SMS messages to be deleted

Using SB 193 in conjunction with SI 187 enables you to delete up to 30 SMS messages.

Error Messages (SI 180)

Number

Error Message

Description

0

No error

No error found

1

GSM Modem Not Initialized

The GSM modem was not initialized. Before using the SMS feature the modem must be initialized. Refer to relevant help sections.

2

GSM Modem Did Not Reply

The GSM modem referred to is the one on the M90 side.

3

Modem Reports Unknown Message

Modem returns an unrecognized reply

5

Wrong PIN number

The Personal Identification Number that was given does not match that of the SIM card installed in the M90's GSM modem.

6

Failed Registration

GSM modem did not register successfully, for example if no network was found, or if the modem antenna is not functioning.

7

No Phone Number

SI 181 contains a number that is not linked to any phone number stored in the GSM phone book.

8

Transmit: Undefined String number

SI 182 contains a string number that is not linked to any string number stored in the SMS Messages List.

9

Unauthorized Origin

This SMS string has been transmitted from an unauthorized phone number.

11

Illegal String Received

The string received is not linked to any string stored in the SMS Messages List.
SI 184 will contain 0.

14

RS232 Port Busy

The RS232 port is already in use; for example, the modem is currently connected.

16

SMS not successfully sent to all numbers

The SMS message was not successfully sent to all the phone numbers for which it was configured.

17

PUK number needed

The SIM card is locked due to too many attempts to enter an incorrect PIN number.

Related Topics

Modem Troubleshooting

Using Hyperterminal for Modem Troubleshooting

Modem Communications-- System Bits and Integers

M90-to-Modem connections

How the M90 works with a modem