SMS General Errors (Compact 2013)
3/26/2014
The following errors can occur in the layer handling communication between core cellular architecture modules and the radio hardware. They can be returned by the SmsOpen, SmsSendMessage, and SmsGetSMSC functions.
Name |
Value |
Description |
---|---|---|
SMS_E_MISC |
0x0200 |
A radio hardware error that does not fall into a specific class. |
SMS_E_PASSWORD |
0x0201 |
Problem relates to passwords. |
SMS_E_SIM |
0x0202 |
Problem with the subscriber identity module (SIM). |
SMS_E_NETWORKACCESS |
0x0203 |
Cannot access the network. |
SMS_E_NETWORK |
0x0204 |
Error in the network. |
SMS_E_MOBILE |
0x0205 |
Error in the mobile. |
SMS_E_NETWORKUNSUPPORTED |
0x0206 |
Not supported by the network. |
SMS_E_MOBILEUNSUPPORTED |
0x0207 |
Not supported by the mobile. |
SMS_E_BADPARAM |
0x0208 |
An invalid parameter was supplied. |
SMS_E_STORAGE |
0x0209 |
Error relating to storage. |
SMS_E_SMSC |
0x020a |
Error relates to the Short Message Service Center (SMSC). |
SMS_E_DESTINATION |
0x020b |
Error in the destination mobile. |
SMS_E_DESTINATIONUNSUPPORTED |
0x020c |
Unsupported by the destination mobile. |
SMS_E_RADIOUNAVAILABLE |
0x020d |
The radio hardware is not available. |
Remarks
Short Message Service (SMS) general errors are returned when more specific errors are not available.
When SmsOpen, SmsSendMessage, and SmsGetSMSC fail, the returned result is a decimal value. You can find the associated error code by converting this decimal value into hexadecimal; for example, ffffffff8200020d. The least-significant four digits represent the error code, in this case, 020d, which corresponds to the error SMS_E_RADIOUNAVAILABLE.
Requirements
Header |
sms.h |
See Also
Reference
Short Message Service Errors
SMS Specific Errors
SmsOpen
SmsSendMessage
SmsGetSMSC