GSM

1 - GUIDE Installation of a GSM modem

This document details how to install an analog modem in Alert.

2 - Which SMS format should I choose?

When configuring a GSM modem, the default SMS format is set to "Auto". In this case, Alert manages the best format for sending SMS according to the two formats (text and PDU) supported by the modem.

By default, the preferred format is PDU. This format allows you to access all GSM features. The text format is a format used for testing.

3 - How do I configure the phone number for sending SMS.

When sending an SMS we recommend putting the number in international format in the configuration of the operator. Ex: +33 6123456 (without the 0)

However, internally, the Alert software automatically adds the country code associated with the operator if the number is more than 8 characters.

4 - What if the GSM network signal is weak in the room where the GSM modem is located?

You have 2 options:

  • The extension of the GSM antenna cable which can be 30 meters or more depending on the shielding of the cable.
  • RS-232/IP or USB/IP converter. We have tested several converters RS-232/IP and USB/IP.

With these types of converters you can install the GSM modem on the same IP network as the Alert server, but located where the GSM signal is better. You can then use it as if the GSM modem was next to the Alert Server

4 - AT+CPIN? Answers with ERROR.

Activate the extended error report (with AT+CMEE=1) to get the error code and check the error cause in your AT commands manual.

Possible causes :

  • SIM or SIM holder not properly inserted
  • Lock of SIM connector is not locked (see SIM card lock feature)
  • SIM failure
  • defective SIM card reader, lSIM not recognized (5V SIM with a modem/module compatible with 3V SIMs only).

You can also activate the +WIND unsolicited by keying AT+WIND=1 for example. This command in this case of use gives the indications of a physical change on the SIM presence pin from connector meaning SIM inserted, SIM removed. Check the error code returned in the AT commands manual.

5 - +CMS ERROR: 512

The GSM TS 04.08 specifies that if an incoming SMS arrives when trying to send an SMS; the outgoing SMS could be rejected.

6 - +CMS ERROR: 513

There are 3 possible causes for getting a +CMS ERROR: 513

  • The MS (Mobile Station) loses the radio link (or the network requests an RR disconnect)
  • The MS (Mobile Station) does not receive the acknowledge from the network (CP_ACK) about 28s after the transmission of the Short Message data (CP_DATA)
  • The MS (Mobile Station) does not receive the acknowledge from the network (CP_DATA(RP_ACK)) about 42s after the channel establishment request

7 - +CMS ERROR: 514

This error is sent by the network when the Service Center Address is wrong, or when the destination address is wrong. This error means that the SMS has been actually sent by the module (well formatted) but it has been refused by the network (the remote number is not a GSM one, the Service Center is wrong, the service is not available, DCS not supported ...) -> the customer should then check the information send in the SMS.

8 - CMS ERROR (GSM Network Related errors)

  • CMS ERROR: 1 Unassigned number
  • CMS ERROR: 8 Operator determined barring
  • CMS ERROR: 10 Call bared
  • CMS ERROR: 21 Short message transfer rejected
  • CMS ERROR: 27 Destination out of service
  • CMS ERROR: 28 Unindentified subscriber
  • CMS ERROR: 29 Facility rejected
  • CMS ERROR: 30 Unknown subscriber
  • CMS ERROR: 38 Network out of order
  • CMS ERROR: 41 Temporary failure
  • CMS ERROR: 42 Congestion
  • CMS ERROR: 47 Recources unavailable
  • CMS ERROR: 50 Requested facility not subscribed
  • CMS ERROR: 69 Requested facility not implemented
  • CMS ERROR: 81 Invalid short message transfer reference value
  • CMS ERROR: 95 Invalid message unspecified
  • CMS ERROR: 96 Invalid mandatory information
  • CMS ERROR: 97 Message type non existent or not implemented
  • CMS ERROR: 98 Message not compatible with short message protocol
  • CMS ERROR: 99 Information element non-existent or not implemente
  • CMS ERROR: 111 Protocol error, unspecified
  • CMS ERROR: 127 Internetworking , unspecified
  • CMS ERROR: 128 Telematic internetworking not supported
  • CMS ERROR: 129 Short message type 0 not supported
  • CMS ERROR: 130 Cannot replace short message
  • CMS ERROR: 143 Unspecified TP-PID error
  • CMS ERROR: 144 Data code scheme not supported
  • CMS ERROR: 145 Message class not supported
  • CMS ERROR: 159 Unspecified TP-DCS error
  • CMS ERROR: 160 Command cannot be actioned
  • CMS ERROR: 161 Command unsupported
  • CMS ERROR: 175 Unspecified TP-Command error
  • CMS ERROR: 176 TPDU not supported
  • CMS ERROR: 192 SC busy
  • CMS ERROR: 193 No SC subscription
  • CMS ERROR: 194 SC System failure
  • CMS ERROR: 195 Invalid SME address
  • CMS ERROR: 196 Destination SME barred
  • CMS ERROR: 197 SM Rejected-Duplicate SM
  • CMS ERROR: 198 TP-VPF not supported
  • CMS ERROR: 199 TP-VP not supported
  • CMS ERROR: 208 D0 SIM SMS Storage full
  • CMS ERROR: 209 No SMS Storage capability in SIM
  • CMS ERROR: 210 Error in MS
  • CMS ERROR: 211 Memory capacity exceeded
  • CMS ERROR: 212 Sim application toolkit busy
  • CMS ERROR: 213 SIM data download error
  • CMS ERROR: 255 Unspecified error cause
  • CMS ERROR: 300 ME Failure
  • CMS ERROR: 301 SMS service of ME reserved
  • CMS ERROR: 302 Operation not allowed
  • CMS ERROR: 303 Operation not supported
  • CMS ERROR: 304 Invalid PDU mode parameter
  • CMS ERROR: 305 Invalid Text mode parameter
  • CMS ERROR: 310 SIM not inserted
  • CMS ERROR: 311 SIM PIN required
  • CMS ERROR: 312 PH-SIM PIN required
  • CMS ERROR: 313 SIM failure
  • CMS ERROR: 314 SIM busy
  • CMS ERROR: 315 SIM wrong
  • CMS ERROR: 316 SIM PUK required
  • CMS ERROR: 317 SIM PIN2 required
  • CMS ERROR: 318 SIM PUK2 required
  • CMS ERROR: 320 Memory failure
  • CMS ERROR: 321 Invalid memory index
  • CMS ERROR: 322 Memory full
  • CMS ERROR: 330 SMSC address unknown
  • CMS ERROR: 331 No network service
  • CMS ERROR: 332 Network timeout
  • CMS ERROR: 340 No +CNMA expected
  • CMS ERROR: 500 Unknown error
  • CMS ERROR: 512 User abort (spécifique a certain fabricants)
  • CMS ERROR: 513 Unable to store
  • CMS ERROR: 514 Invalid Status
  • CMS ERROR: 515 Device busy or Invalid Character in string
  • CMS ERROR: 516 Invalid length
  • CMS ERROR: 517 Invalid character in PDU
  • CMS ERROR: 518 Invalid parameter
  • CMS ERROR: 519 Invalid length or character
  • CMS ERROR: 520 Invalid character in text
  • CMS ERROR: 521 Timer expired
  • CMS ERROR: 522 Operation temporary not allowed
  • CMS ERROR: 532 SIM not ready
  • CMS ERROR: 534 Cell Broadcast error unknown
  • CMS ERROR: 535 Protocol stack busy
  • CMS ERROR: 538 Invalid parameter

9 - CME ERROR (GSM Equipment Related errors)

  • CME ERROR: 0 Phone failure
  • CME ERROR: 1 No connection to phone
  • CME ERROR: 2 Phone adapter link reserved
  • CME ERROR: 3 Operation not allowed
  • CME ERROR: 4 Operation not supported
  • CME ERROR: 5 PH_SIM PIN required
  • CME ERROR: 6 PH_FSIM PIN required
  • CME ERROR: 7 PH_FSIM PUK required
  • CME ERROR: 10 SIM not inserted
  • CME ERROR: 11 SIM PIN required
  • CME ERROR: 12 SIM PUK required
  • CME ERROR: 13 SIM failure
  • CME ERROR: 14 SIM busy
  • CME ERROR: 15 SIM wrong
  • CME ERROR: 16 Incorrect password
  • CME ERROR: 17 SIM PIN2 required
  • CME ERROR: 18 SIM PUK2 required
  • CME ERROR: 20 Memory full
  • CME ERROR: 21 Invalid index
  • CME ERROR: 22 Not found
  • CME ERROR: 23 Memory failure
  • CME ERROR: 24 Text string too long
  • CME ERROR: 25 Invalid characters in text string
  • CME ERROR: 26 Dial string too long
  • CME ERROR: 27 Invalid characters in dial string
  • CME ERROR: 30 No network service
  • CME ERROR: 31 Network timeout
  • CME ERROR: 32 Network not allowed, emergency calls only
  • CME ERROR: 40 Network personalization PIN required
  • CME ERROR: 41 Network personalization PUK required
  • CME ERROR: 42 Network subset personalization PIN required
  • CME ERROR: 43 Network subset personalization PUK required
  • CME ERROR: 44 Service provider personalization PIN required
  • CME ERROR: 45 Service provider personalization PUK required
  • CME ERROR: 46 Corporate personalization PIN required
  • CME ERROR: 47 Corporate personalization PUK required
  • CME ERROR: 48 PH-SIM PUK required
  • CME ERROR: 100 Unknown error
  • CME ERROR: 103 Illegal MS
  • CME ERROR: 106 Illegal ME
  • CME ERROR: 107 GPRS services not allowed
  • CME ERROR: 111 PLMN not allowed
  • CME ERROR: 112 Location area not allowed
  • CME ERROR: 113 Roaming not allowed in this location area
  • CME ERROR: 126 Operation temporary not allowed
  • CME ERROR: 132 Service operation not supported
  • CME ERROR: 133 Requested service option not subscribed
  • CME ERROR: 134 Service option temporary out of order
  • CME ERROR: 148 Unspecified GPRS error
  • CME ERROR: 149 PDP authentication failure
  • CME ERROR: 150 Invalid mobile class
  • CME ERROR: 256 Operation temporarily not allowed
  • CME ERROR: 257 Call barred
  • CME ERROR: 258 Phone is busy
  • CME ERROR: 259 User abort
  • CME ERROR: 260 Invalid dial string
  • CME ERROR: 261 SS not executed
  • CME ERROR: 262 SIM Blocked
  • CME ERROR: 263 Invalid block
  • CME ERROR: 772 SIM powered down

10 - How to acknowledge alarms upon receiving an SMS in Alert?

To acknowledge alarms upon receiving an SMS in Alert, you need a GSM modem and you need to use a specific script.

To install this script you must follow the AckAlarmSMS ReadMe.txt file in C: \MMI \ Alert