SMS General Errors

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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 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.

SMS general errors are returned when more specific errors are not available.

When SmsOpen, SmsSendMessage, and SmsGetSMSC fail, 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).

Headersms.h
Windows Embedded CEWindows Embedded CE 6.0 and later
Windows MobilePocket PC 2002 and later, Smartphone 2002 and later

Community Additions

Show: