Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
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 SmsGetSMSCfunctions.
Name | Value | Description |
---|---|---|
SMS_E_MISC |
0x0200 |
A radio hardware error that falls into none of the following classes. |
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 |
Unsupported by the network. |
SMS_E_MOBILEUNSUPPORTED |
0x0207 |
Unsupported 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 destination mobile. |
SMS_E_DESTINATIONUNSUPPORTED |
0x020c |
Unsupported by destination mobile. |
SMS_E_RADIOUNAVAILABLE |
0x020d |
The radio hardware is unavailable. |
Remarks
SMS general errors are returned when more specific errors are not available.
When SmsOpen, SmsSendMessage, and SmsGetSMSCfail, the returned result is actually a decimal value. For example, . 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 |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Pocket PC 2002 and later, Smartphone 2002 and later |