
If you are programming an application to interface with an GSM modem hardware device to send and receive SMS Text Messages, you will most likely be communicating with the GSM modem device using AT Commands.
When issuing commands to the GSM modem device, you will get back a series of return codes from the device, which is in turn a result of how the GSM modem device had interacted with the GSM network.
The return codes are in the form of 1 to 3 digit numbers.
Here is the full list of the possible return codes and what they mean:
CMS Error code list for GSM Modem devices
1 - “Unassigned (unallocated) number”
This cause indicates that the destination requested by the Mobile Station cannot be reached because, although the number is in a valid format, it is not currently assigned (allocated).
8 - “Operator determined barring”
This cause indicates that the MS has tried to send a mobile originating short message when the MS’s network operator or service provider has forbidden such transactions.
10 - “Call barred”
This cause indicates that the outgoing call barred service applies to the short message service for the called destination.
(more…)