API Guide Home (Online version only) |

# HsPhoneErrors.h File Reference

## Detailed Description

Errors returned by API function in GSM/CDMA Library.

NOTES: This file is meant to contain all error codes that are returned by an API in the phone library. If the error is not being returned by an API call, please do not add it to this file, but keep it in a private header file in the libraries.

Definition in file HsPhoneErrors.h.

Include dependency graph for HsPhoneErrors.h:

Go to the source code of this file.

## Typedefs

- typedef Err PHNErrorCode

## Enumerations

- enum PHNErrorCodeRange_1 {
  phnErrorClass = hsPhoneLibErrorClass_1,
  phnErrParam,
  phnErrUnknownError,
  phnErrNoResponse,
  phnErrNotOpen,
  phnErrStillOpen,
  phnErrMemory,
  phnErrUnknownID,
  phnErrNoPower,
  phnErrNoNetwork,
  phnErrNoConnection,
  phnErrNotAllowed,
  phnErrIllegalFacility,
  phnErrIllegalCondition,
  phnErrIllegalStatus,
  phnErrIllegalIndex,
  phnErrIllegalChars,
  phnErrIllegalMsg,
  phnErrIllegalType,
  phnErrIllegalNumber,
  phnErrTimeout,
  phnErrUnknownApp,
  phnErrUnknownNumber,
  phnErrBufferTooSmall,
  phnErrPasswordRequired,
  phnErrResponsePending,
  phnErrCancelled,
  phnErrNoRecipient,
  phnErrPhoneFailure,
  phnErrPhoneNotConnected,
  phnErrPhoneAdaptorLinkReserved,
  phnErrNotSupported,
  phnErrPhPINRequired,
  phnErrPhFPINRequired,
  phnErrPhFPUKRequired,
  phnErrNoSIM,
  phnErrPINRequired,
  phnErrPUKRequired,
  phnErrSIMFailure,
  phnErrSIMBusy,
  phnErrSIMWrong,
  phnErrIncorrectPassword,
  phnErrPIN2Required,
  phnErrPUK2Required,
  phnErrMemoryFull,
  phnErrInvalidMemIndex,
  phnErrNotFound,
  phnErrMemFailure,
  phnErrStringTooLong,
  phnErrInvalidTextChars,
  phnErrDialStringTooLong,
  phnErrInvalidDialChars,
  phnErrNoNetworkService,
  phnErrNetworkTimeout,
  phnErrNetworkNotAllowed,
  phnErrNetPINRequired,
  phnErrNetPUKRequired,
  phnErrNetSubPINRequired,
  phnErrNetSubPUKRequired,
  phnErrSPPINRequired,
  phnErrSPPUKRequired,
  phnErrCorpPINRequired,
  phnErrCorpPUKRequired,
  phnErrIllegalMS,
  phnErrIllegalME,
  phnErrGPRSNotAllowed,
  phnErrPLMNNotAllowed,
  phnErrLocAreaNotAllowed,
  phnErrRoamingNotAllowed,
  phnErrOptionNotSupported,
  phnErrReqOptionNotSubscribed,
  phnErrOptionTempOutOfOrder,
  phnErrUnspecifiedGPSRError,
  phnErrAuthenticationFailure,
  phnErrInvalidMobileClass,
  phnErrUnassignedNumber,
  phnErrOperDeterminedBarring,
  phnErrCallBarred,
  phnErrSMSXferRejected,
  phnErrDestOutOfService,
  phnErrUnidentifedSubscriber,
  phnErrFacRejected,
  phnErrUnknownSubscriber,
  phnErrNetworkOutOfOrder,
  phnErrTemporaryFailure,
  phnErrCongestion,
  phnErrResourcesUnavailable,
  phnErrReqFacNotSubscribed,
  phnErrReqFacNotImplemented,
  phnErrInvalidSMSReference,
  phnErrInvalidMsg,
  phnErrInvalidMandInfo,
  phnErrMsgTypeNonExistent,
  phnErrMsgNoCompatible,
  phnErrInfoElemNonExistent,
  phnErrProtocolError,
  phnErrInterworking,
  phnErrTelematicIWNotSupported,
  phnErrSMType0NotSupported,
  phnErrCannotReplaceMsg,
  phnErrUnspecifiedTPPIDError,
  phnErrAlphabetNotSupported,
  phnErrMsgClassNotSupported,
  phnErrUnspecifiedTPDCSError,
  phnErrCmdCannotBeActioned,
  phnErrCmdUnsupported,
  phnErrUnspecifiedTPCmdError,
  phnErrTPDUNotSupported,
  phnErrSCBusy,
  phnErrNoSCSubscription,
  phnErrSCSystemFailure,
  phnErrInvalidSMEAddr,
  phnErrDestSMEBarred,
  phnErrSMRejectedDuplicate,
  phnErrTPVPFNotSupported,
  phnErrTPVPNotSupported,
  phnErrSMSStorageFull,
  phnErrNoSMSStorage,
  phnErrErrorInMS,
  phnErrSIMApplToolkitBusy,
  phnErrMEFailure,
  phnErrSMSServReserved,
  phnErrInvalidParameter,
  phnErrFiller,
  phnErrFiller2,
  phnErrFiller3,
  phnErrMemoryFailure,
  phnErrSCAddrUnknown,
  phnErrNoCNMAAckExpected,
  phnErrFDNMismatch,
  phnErrEmergencyCallsOnly,
  phnErrACMLimitExceeded,
  phnErrHoldError,
  phnErrNumberBlacklisted,
  phnErrLidClosed,
  phnErrSATUnavailable,
  phnErrSATInactive,
  phnErrUNUSED,
  phnErrRadioNotAvailable,
  phnErrIntermediateResult,
  phnErrUnexpectedResponse,
  phnErrDuplicatePage,
  phnErrFirmwareBootNotInprogress,
  phnErrFirmwareBootInprogress,
  phnErrMMFailed,
  phnErrLowerLayer,
  phnErrCPError,
  phnErrCommandInProgress,
  phnErrSATNotSupported,
  phnErrSATNoInd,
  phnErrNeedResetModule,
  phnErrCOPSAbort,
  phnErrCSDUnassignedNumber,
  phnErrCSDNoRouteToDestination,
  phnErrCSDChannelUnacceptable,
  phnErrCSDOperatorBarring,
  phnErrCSDNumberBusy,
  phnErrCSDNoUserResponse,
  phnErrCSDNoAnswer,
  phnErrCSDCallRejected,
  phnErrCSDNumberChanged,
  phnErrCSDDestinationOutOfOrder,
  phnErrCSDInvalidNumberFormat,
  phnErrCSDFacilityRejected,
  phnErrCSDNoCircuitAvailable,
  phnErrCSDNetworkOutOfOrder,
  phnErrCSDTempFailure,
  phnErrCSDSwitchingCongestion,
  phnErrCSDAccessInfoDiscarded,
  phnErrCSDReqCircuitNotAvailable,
  phnErrCSDResourceNotAvailable,
  phnErrCSDQOSNotAvailable,
  phnErrCSDFacilityNotSubscribed,
  phnErrCSDIncomingCallsBarredCUG,
  phnErrCSDBearerNotCapable,
  phnErrCSDBearerNotAvailable,
  phnErrCSDServiceNotAvailble,
  phnErrCSDBearerNotImplemented,
  phnErrCSDACMOutOfRange,
  phnErrCSDFacilityNotImplemented,
  phnErrCSDRestrictedBearer,
  phnErrCSDServiceNotImplented,
  phnErrCSDInvalidTransID,
  phnErrCSDUserNotMemberCUG,
  phnErrCSDIncompatibleDestination,
  phnErrCSDInvalidTransitNetwork,
  phnErrCSDSemanticallyIncorrectMessage,
  phnErrCSDInvalidMandatoryInfo,
  phnErrCSDMessageTypeNotImplemented,
  phnErrCSDMessageTypeNotCompatible,
  phnErrCSDInfoNotImplemented,
  phnErrCSDIEError,
  phnErrCSDMessageNotCompatible,
  phnErrCSDRecoveryOnTimerExpiry,
  phnErrCSDProtocolError,
  phnErrGPRSRoamingNotAllowed,
  phnErrGPRSNetworkRequestDetach,
  phnErrGPRSNoService,
  phnErrGPRSNoAccess,
  phnErrGPRSServiceRefused,
  phnErrGPRSNetworkRequestPDPDeactivate,
  phnErrGPRSPDPDactivateLCCLinkActivation,
  phnErrGPRSPDPDeactivateNwkRactivate,
  phnErrGPRSPDPDactivateGMMAbort,
  phnErrGPRSPDPDeactivateSNDCPFailure,
  phnErrGPRSPDPActivateFailGMMError,
  phnErrGPRSPDPActivateFailNetReject,
  phnErrGPRSPDPActivateFailNoNSAPI,
  phnErrGPRSPDPActivateFailSMRefuse,
  phnErrCSDFDNError,
  phnErrCSDCallOperationNotAllowed,
  phnErrCSDCallBarringOutgoing,
  phnErrCSDCallBarringIncoming,
  phnErrCSDCallImpossible,
  phnErrCSDLowerLayerFailure,
  phnErrGPRSAPNMissing,
  phnErrNoCarrier,
  phnErrSMSFDNError,
  phnErrNullParam,
  phnErrBadServiceCode,
  phnErrBadATResult,
  phnErrBadATCmd,
  phnErrSIMDataDownload,
  phnErrLAST_1
  }
- enum PHNErrorCodeRange_2 {
  phnErrorClass_2 = hsPhoneLibErrorClass_2,
  phnErrSaveNV,
  phnErrReadNV,
  phnErrFiller4,
  phnErrFiller5,
  phnErrDuplicatePlaceHoldler,
  phnErrFiller6,
  phnErrBatteryLowAlert,
  phnErrBatteryCharging,
  phnErrBadCRC,
  phnErrNoAppRegistered,
  phnErrSndDelClass,
  phnErrSndDelInvalidRingerID,
  phnErrSndDelUnusedRingerID,
  phnErrSndDelUndeletableRingerID,
  phnErrSndDelInternalMdmError,
  phnErrSndSaveClass,
  phnErrSndSaveFileNameInvalid,
  phnErrSndSaveBadDataLen,
  phnErrSndSaveBadRingerID,
  phnErrSndSaveBadSoundType,
  phnErrSndSaveOutOfMem,
  phnErrSndSaveInternalModem,
  phnErrSndSaveBadRsp,
  phnErrSndSaveContClass,
  phnErrSndSaveContBadDataLen,
  phnErrSndSaveContSeqNum,
  phnErrSndSaveContOutOfMem,
  phnErrSndSaveContInternalModem,
  phnErrModemBusy,
  phnErrModemOffline,
  phnErrIOTACommitFailed,
  phnErrIOTACommitInProgress,
  phnErrIS683ProtRevNotSupported,
  phnErrInvalidNAM,
  phnErrNAMMismatched,
  phnErrIOTASessionActive,
  phnErrIOTANoSession,
  phnErrNVUnInitialized,
  phnErrNvBadItem,
  phnErrPoweringDown,
  phnErrDenied,
  phnErrNotYetSupported,
  phnErrSMSMemoryFull,
  phnErrSMSMemoryOK,
  phnErrCauseCode16,
  phnErrMissingCarKitDriver,
  phnErrHCIMismatch,
  phnErrLAST_2
  }

## Typedef Documentation

typedef Err PHNErrorCode

PHN Library result codes

Definition at line 34 of file HsPhoneErrors.h.

## Enumeration Type Documentation

enum PHNErrorCodeRange_1

Enumerator:

  phnErrorClass |
  phnErrParam | 0x4001 - invalid [in] params or invalid state machine.
  phnErrUnknownError | 0x4002 poorly used error code; in GSM library indicates unexpected error code from radio, or various random parameters having unexpected values
  phnErrNoResponse | 0x4003 Fail to receive event from modem.
  phnErrNotOpen | 0x4004 phone library is not loaded for universal function or PhnLibOpen is not called before the function is called.
  phnErrStillOpen | 0x4005 opencount of phone lib is > 0 after PhnLibClose is called.
  phnErrMemory | 0x4006 insufficient memory to perform the operation
  phnErrUnknownID | 0x4007 id from list is valid (e.g. from GSM connection list, SMS msg list, address book, etc)
  phnErrNoPower | 0x4008 when phone is off.
  phnErrNoNetwork | 0x4009 No service.
  phnErrNoConnection | 0x400a NOT USED IN GSM LIBRARY
  phnErrNotAllowed | 0x400b operation not allowed (WISMO CME ERROR: 3, CMS ERROR: 302)
  phnErrIllegalFacility | 0x400c invalid GSM barring facility specified when activating/deactivating call barring
  phnErrIllegalCondition | 0x400d provided condition for operation is invalid (such as GSM call forwarding condition)
  phnErrIllegalStatus | 0x400e invalid GSM SMS Message Status detected
  phnErrIllegalIndex | 0x400f index out of range in list (such as SIM PhoneBook or segmented SMS msg)
  phnErrIllegalChars | 0x4010 character out of GSM valid set in SMS or other text
  phnErrIllegalMsg | 0x4011 NOT USED IN GSM LIBRARY
  phnErrIllegalType | 0x4012 unexpected type encountered (for example unexpected SMS message type for operation)
  phnErrIllegalNumber | 0x4013 unexpected character in DTMF string or GSM phone number
  phnErrTimeout | 0x4014 NOT USED IN GSM LIBRARY
  phnErrUnknownApp | 0x4015 NOT USED IN GSM LIBRARY
  phnErrUnknownNumber | 0x4016 given GSM phone number not found in address book
  phnErrBufferTooSmall | 0x4017 NOT USED IN GSM LIBRARY
  phnErrPasswordRequired | 0x4018 required GSM password or PIN is missing or invalid
  phnErrResponsePending | 0x4019 operation failed because radio was busy processing another command
  phnErrCancelled | 0x401a operation cancelled by user (e.g. cancel while entering password)
  phnErrNoRecipient | 0x401b operation failed because GSM SMS message had no recipients specified
  phnErrPhoneFailure | 0x401c Error reading/writing value to phone.
  phnErrPhoneNotConnected | 0x401d WISMO CME ERROR: 1
  phnErrPhoneAdaptorLinkReserved | 0x401e WISMO CME ERROR: 2
  phnErrNotSupported | 0x401f Operation not supported (WISMO CME ERROR: 4; CMS ERROR: 303)
  phnErrPhPINRequired | 0x4020 WISMO CME ERROR: 5 (PH-SIM PIN required (SIM lock))
  phnErrPhFPINRequired | 0x4021 WISMO CME ERROR: 6
  phnErrPhFPUKRequired | 0x4022 WISMO CME ERROR: 7
  phnErrNoSIM | 0x4023 WISMO CME ERROR: 10 (SIM not inserted)
  phnErrPINRequired | 0x4024 WISMO CME ERROR: 11 (SIM PIN required)
  phnErrPUKRequired | 0x4025 WISMO CME ERROR: 12 (SIM PUK required)
  phnErrSIMFailure | 0x4026 WISMO CME ERROR: 13 (SIM failure)
  phnErrSIMBusy | 0x4027 WISMO CME ERROR: 14; CMS ERROR: 314; NOT DOCUMENTED IN WISMO DOC
  phnErrSIMWrong | 0x4028 WISMO CME ERROR: 15; CMS ERROR: 315; NOT DOCUMENTED IN WISMO DOC
  phnErrIncorrectPassword | 0x4029 WISMO CME ERROR: 16 (Incorrect password)
  phnErrPIN2Required | 0x402a WISMO CME ERROR: 17 (SIM PIN2 required)
  phnErrPUK2Required | 0x402b WISMO CME ERROR: 18 (SIM PUK2 required)
  phnErrMemoryFull | 0x402c WISMO CME ERROR: 20 (Memory full )
  phnErrInvalidMemIndex | 0x402d WISMO CME ERROR: 21 (Invalid index)
  phnErrNotFound | 0x402e WISMO CME ERROR: 22 (Not found)
  phnErrMemFailure | 0x402f WISMO CME ERROR: 23 NOT DOCUMENTED IN WISMO DOC
  phnErrStringTooLong | 0x4030 WISMO CME ERROR: 24 (Text string too long)
  phnErrInvalidTextChars | 0x4031 WISMO CME ERROR: 25 NOT DOCUMENTED IN WISMO DOC
  phnErrDialStringTooLong | 0x4032 WISMO CME ERROR: 26 (Dial string too long)
  phnErrInvalidDialChars | 0x4033 WISMO CME ERROR: 27 (Invalid characters in dial string)
  phnErrNoNetworkService | 0x4034 WISMO CME ERROR: 30 (No network service); signal faded on CDMA
  phnErrNetworkTimeout | 0x4035 WISMO CME ERROR: 31; CMS ERROR: 332 NOT DOCUMENTED IN WISMO DOC
  phnErrNetworkNotAllowed | 0x4036 WISMO CME ERROR: 32 (Network not allowed - emergency calls only)
  phnErrNetPINRequired | 0x4037 WISMO CME ERROR: 40 (Network personalisation PIN required (Network lock))
  phnErrNetPUKRequired | 0x4038 WISMO CME ERROR: 41
  phnErrNetSubPINRequired | 0x4039 WISMO CME ERROR: 42
  phnErrNetSubPUKRequired | 0x403a WISMO CME ERROR: 43
  phnErrSPPINRequired | 0x403b WISMO CME ERROR: 44
  phnErrSPPUKRequired | 0x403c WISMO CME ERROR: 45
  phnErrCorpPINRequired | 0x403d WISMO CME ERROR: 46
  phnErrCorpPUKRequired | 0x403e WISMO CME ERROR: 47
  phnErrIllegalMS | 0x403f WISMO CME ERROR: 103
  phnErrIllegalME | 0x4040 WISMO CME ERROR: 106
  phnErrGPRSNotAllowed | 0x4041 WISMO CME ERROR: 107
  phnErrPLMNNotAllowed | 0x4042 WISMO CME ERROR: 111
  phnErrLocAreaNotAllowed | 0x4043 WISMO CME ERROR: 112
  phnErrRoamingNotAllowed | 0x4044 WISMO CME ERROR: 113
  phnErrOptionNotSupported | 0x4045 WISMO CME ERROR: 132
  phnErrReqOptionNotSubscribed | 0x4046 WISMO CME ERROR: 133
  phnErrOptionTempOutOfOrder | 0x4047 WISMO CME ERROR: 134
  phnErrUnspecifiedGPSRError | 0x4048 WISMO CME ERROR: 148
  phnErrAuthenticationFailure | 0x4049 WISMO CME ERROR: 149
  phnErrInvalidMobileClass | 0x404a WISMO CME ERROR: 150
  phnErrUnassignedNumber | 0x404b WISMO CMS ERROR: 1
  phnErrOperDeterminedBarring | 0x404c WISMO CMS ERROR: 8
  phnErrCallBarred | 0x404d WISMO CMS ERROR: 10 or 18 Call guard option does not allow call
  phnErrSMSXferRejected | 0x404e WISMO CMS ERROR: 21
  phnErrDestOutOfService | 0x404f WISMO CMS ERROR: 27
  phnErrUnidentifedSubscriber | 0x4050 WISMO CMS ERROR: 28
  phnErrFacRejected | 0x4051 WISMO CMS ERROR: 29
  phnErrUnknownSubscriber | 0x4052 WISMO CMS ERROR: 30
  phnErrNetworkOutOfOrder | 0x4053 WISMO CMS ERROR: 38
  phnErrTemporaryFailure | 0x4054 WISMO CMS ERROR: 41
  phnErrCongestion | 0x4055 WISMO CMS ERROR: 42, APEX 2,10,16,17
  phnErrResourcesUnavailable | 0x4056 No resources/network busy
  phnErrReqFacNotSubscribed | 0x4057 GSM Error
  phnErrReqFacNotImplemented | 0x4058 GSM Error
  phnErrInvalidSMSReference | 0x4059 GSM Error
  phnErrInvalidMsg | 0x405a GSM Error
  phnErrInvalidMandInfo | 0x405b GSM Error
  phnErrMsgTypeNonExistent | 0x405c GSM Error
  phnErrMsgNoCompatible | 0x405d GSM Error
  phnErrInfoElemNonExistent | 0x405e GSM Error
  phnErrProtocolError | 0x405f GSM Error
  phnErrInterworking | 0x4060 GSM Error
  phnErrTelematicIWNotSupported | 0x4061 GSM Error
  phnErrSMType0NotSupported | 0x4062 GSM Error
  phnErrCannotReplaceMsg | 0x4063 GSM Error
  phnErrUnspecifiedTPPIDError | 0x4064 GSM Error
  phnErrAlphabetNotSupported | 0x4065 GSM Error
  phnErrMsgClassNotSupported | 0x4066 GSM Error
  phnErrUnspecifiedTPDCSError | 0x4067 GSM Error
  phnErrCmdCannotBeActioned | 0x4068 GSM Error
  phnErrCmdUnsupported | 0x4069 GSM Error
  phnErrUnspecifiedTPCmdError | 0x406a GSM Error
  phnErrTPDUNotSupported | 0x406b GSM Error
  phnErrSCBusy | 0x406c GSM Error
  phnErrNoSCSubscription | 0x406d GSM Error
  phnErrSCSystemFailure | 0x406e GSM Error
  phnErrInvalidSMEAddr | 0x406f GSM Error
  phnErrDestSMEBarred | 0x4070 GSM Error
  phnErrSMRejectedDuplicate | 0x4071 GSM Error
  phnErrTPVPFNotSupported | 0x4072 GSM Error
  phnErrTPVPNotSupported | 0x4073 GSM Error
  phnErrSMSStorageFull | 0x4074 GSM Error
  phnErrNoSMSStorage | 0x4075 GSM Error
  phnErrErrorInMS | 0x4076 GSM Error
  phnErrSIMApplToolkitBusy | 0x4077 GSM Error
  phnErrMEFailure | 0x4078 GSM Error
  phnErrSMSServReserved | 0x4079 WISMO CMS ERROR: 301 (SMS service of ME reserved)
  phnErrInvalidParameter | 0x407a GSM Error
  phnErrFiller | 0x407b GSM Error
  phnErrFiller2 | 0x407c GSM Error
  phnErrFiller3 | 0x407d GSM Error
  phnErrMemoryFailure | 0x407e Memory access failure
  phnErrSCAddrUnknown | 0x407f GSM Error
  phnErrNoCNMAAckExpected | 0x4080 GSM Error
  phnErrFDNMismatch | Errors returned by the firmware (NO CARRIER) 0x4081 GSM Error
  phnErrEmergencyCallsOnly | 0x4082 GSM Error
  phnErrACMLimitExceeded | 0x4083 GSM Error
  phnErrHoldError | 0x4084 GSM Error
  phnErrNumberBlacklisted | 0x4085 GSM Error
  phnErrLidClosed | 0x4086
  phnErrSATUnavailable | 0x4087 GSM Error
  phnErrSATInactive | 0x4088 GSM Error
  phnErrUNUSED | 0x4089 GSM Error
  phnErrRadioNotAvailable | 0x408a GSM Error
  phnErrIntermediateResult | 0x408b GSM Error
  phnErrUnexpectedResponse | 0x408c GSM Error
  phnErrDuplicatePage | 0x408d GSM Error
  phnErrFirmwareBootNotInprogress | 0x408e GSM Error
  phnErrFirmwareBootInprogress | 0x408f GSM Error
  phnErrMMFailed | These error codes map directly to Wismo error codes, but maybe could be used by other radios? 0x4090 GSM Error
  phnErrLowerLayer | 0x4091 GSM Error
  phnErrCPError | 0x4092 GSM Error
  phnErrCommandInProgress | 0x4093 GSM Error
  phnErrSATNotSupported | 0x4094 GSM Error
  phnErrSATNoInd | 0x4095 GSM Error
  phnErrNeedResetModule | 0x4096 GSM Error
  phnErrCOPSAbort | 0x4097 GSM Error
  phnErrCSDUnassignedNumber | CSD CEER Errors 0x4098 GSM Error
  phnErrCSDNoRouteToDestination | 0x4099 GSM Error
  phnErrCSDChannelUnacceptable | 0x409a GSM Error
  phnErrCSDOperatorBarring | 0x409b GSM Error
  phnErrCSDNumberBusy | 0x409c GSM Error
  phnErrCSDNoUserResponse | 0x409d GSM Error
  phnErrCSDNoAnswer | 0x409e GSM Error
  phnErrCSDCallRejected | 0x409f GSM Error
  phnErrCSDNumberChanged | 0x40a0 GSM Error
  phnErrCSDDestinationOutOfOrder | 0x40a1 GSM Error
  phnErrCSDInvalidNumberFormat | 0x40a2 GSM Error
  phnErrCSDFacilityRejected | 0x40a3 GSM Error
  phnErrCSDNoCircuitAvailable | 0x40a4 GSM Error
  phnErrCSDNetworkOutOfOrder | 0x40a5 GSM Error
  phnErrCSDTempFailure | 0x40a6 GSM Error
  phnErrCSDSwitchingCongestion | 0x40a7 GSM Error
  phnErrCSDAccessInfoDiscarded | 0x40a8 GSM Error
  phnErrCSDReqCircuitNotAvailable | 0x40a9 GSM Error
  phnErrCSDResourceNotAvailable | 0x40aa GSM Error
  phnErrCSDQOSNotAvailable | 0x40ab GSM Error
  phnErrCSDFacilityNotSubscribed | 0x40ac GSM Error
  phnErrCSDIncomingCallsBarredCUG | 0x40ad GSM Error
  phnErrCSDBearerNotCapable | 0x40ae GSM Error
  phnErrCSDBearerNotAvailable | 0x40af GSM Error
  phnErrCSDServiceNotAvailble | 0x40b0 GSM Error
  phnErrCSDBearerNotImplemented | 0x40b1 GSM Error
  phnErrCSDACMOutOfRange | 0x40b2 GSM Error
  phnErrCSDFacilityNotImplemented | 0x40b3 GSM Error
  phnErrCSDRestrictedBearer | 0x40b4 GSM Error
  phnErrCSDServiceNotImplented | 0x40b5 GSM Error
  phnErrCSDInvalidTransID | 0x40b6 GSM Error
  phnErrCSDUserNotMemberCUG | 0x40b7 GSM Error
  phnErrCSDIncompatibleDestination | 0x40b8 GSM Error
  phnErrCSDInvalidTransitNetwork | 0x40b9 GSM Error
  phnErrCSDSemanticallyIncorrectMessage | 0x40ba GSM Error
  phnErrCSDInvalidMandatoryInfo | 0x40bb GSM Error
  phnErrCSDMessageTypeNotImplemented | 0x40bc GSM Error
  phnErrCSDMessageTypeNotCompatible | 0x40bd GSM Error
  phnErrCSDInfoNotImplemented | 0x40be GSM Error
  phnErrCSDIEError | 0x40bf GSM Error
  phnErrCSDMessageNotCompatible | 0x40c0 GSM Error
  phnErrCSDRecoveryOnTimerExpiry | 0x40c1 GSM Error
  phnErrCSDProtocolError | 0x40c2 GSM Error
  phnErrGPRSRoamingNotAllowed | GPRS CEER Errors 0x40c3 GSM Error
  phnErrGPRSNetworkRequestDetach | 0x40c4 GSM Error
  phnErrGPRSNoService | 0x40c5 GSM Error
  phnErrGPRSNoAccess | 0x40c6 GSM Error
  phnErrGPRSServiceRefused | 0x40c7 GSM Error
  phnErrGPRSNetworkRequestPDPDeactivate | 0x40c8 GSM Error
  phnErrGPRSPDPDactivateLCCLinkActivation | 0x40c9 GSM Error
  phnErrGPRSPDPDeactivateNwkRactivate | 0x40ca GSM Error
  phnErrGPRSPDPDactivateGMMAbort | 0x40cb GSM Error
  phnErrGPRSPDPDeactivateSNDCPFailure | 0x40cc GSM Error
  phnErrGPRSPDPActivateFailGMMError | 0x40cd GSM Error
  phnErrGPRSPDPActivateFailNetReject | 0x40ce GSM Error
  phnErrGPRSPDPActivateFailNoNSAPI | 0x40cf GSM Error
  phnErrGPRSPDPActivateFailSMRefuse | 0x40d0 GSM Error
  phnErrCSDFDNError | MORE CSD Errors 0x40d1 GSM Error
  phnErrCSDCallOperationNotAllowed | 0x40d2 GSM Error
  phnErrCSDCallBarringOutgoing | 0x40d3 GSM Error
  phnErrCSDCallBarringIncoming | 0x40d4 GSM Error
  phnErrCSDCallImpossible | 0x40d5 GSM Error
  phnErrCSDLowerLayerFailure | 0x40d6 GSM Error
  phnErrGPRSAPNMissing | More GPRS Errors 0x40d7 GSM Error
  phnErrNoCarrier | More Errors 0x40d8 GSM Error
  phnErrSMSFDNError | 0x40d9 GSM Error : SMS Fixed Dialing error (CMS ERROR: 531)
  phnErrNullParam | 0x40da GSM Error : provided parameter is unexpectedly null
  phnErrBadServiceCode | 0x40db GSM Error : intermediate response has unexpected service code
  phnErrBadATResult | 0x40dc GSM Error : AT response from radio is missing or invalid
  phnErrBadATCmd | 0x40dd GSM Error : AT cmd to radio is missing or invalid
  phnErrSIMDataDownload | 0x40de GSM Error : SIM Data Download error (CMS ERROR: 213)
  phnErrLAST_1 | IMPORTANT: the last valid error code for this error class is 0x40FF. If you exceed this range, you will collide with the next error class that belongs to PalmSource, and will have all kinds of conflicts, such as wrong error strings and wrong interpretation of errors by applications.

Definition at line 36 of file HsPhoneErrors.h.

    00037   {
    00038     phnErrorClass = hsPhoneLibErrorClass_1,
    00039     phnErrParam,                    /**< 0x4001 - invalid [in] params or invalid state machine. */
    00040     phnErrUnknownError,             /**< 0x4002 poorly used error code; in GSM library indicates unexpected error code from radio, or various random parameters having unexpected values */
    00041     phnErrNoResponse,               /**< 0x4003 Fail to receive event from modem. */
    00042     phnErrNotOpen,                  /**< 0x4004 phone library is not loaded for universal function or   PhnLibOpen is not called before the function is called. */
    00043     phnErrStillOpen,                /**< 0x4005 opencount of phone lib is > 0 after PhnLibClose is called. */
    00044     phnErrMemory,                   /**< 0x4006 insufficient memory to perform the operation */
    00045     phnErrUnknownID,                /**< 0x4007 id from list is valid (e.g. from GSM connection list, SMS msg list, address book, etc) */
    00046     phnErrNoPower,                  /**< 0x4008 when phone is off. */
    00047     phnErrNoNetwork,                /**< 0x4009 No service. */
    00048     phnErrNoConnection,             /**< 0x400a NOT USED IN GSM LIBRARY */
    00049     phnErrNotAllowed,               /**< 0x400b operation not allowed (WISMO CME ERROR: 3, CMS ERROR: 302) */
    00050     phnErrIllegalFacility,              /**< 0x400c invalid GSM barring facility specified when activating/deactivating call barring */
    00051     phnErrIllegalCondition,             /**< 0x400d provided condition for operation is invalid (such as GSM call forwarding condition) */
    00052     phnErrIllegalStatus,                /**< 0x400e invalid GSM SMS Message Status detected */
    00053     phnErrIllegalIndex,             /**< 0x400f index out of range in list (such as SIM PhoneBook or segmented SMS msg) */
    00054     phnErrIllegalChars,             /**< 0x4010 character out of GSM valid set in SMS or other text */
    00055     phnErrIllegalMsg,               /**< 0x4011 NOT USED IN GSM LIBRARY */
    00056     phnErrIllegalType,              /**< 0x4012 unexpected type encountered (for example unexpected SMS message type for operation) */
    00057     phnErrIllegalNumber,                /**< 0x4013 unexpected character in DTMF string or GSM phone number */
    00058     phnErrTimeout,                  /**< 0x4014 NOT USED IN GSM LIBRARY */
    00059     phnErrUnknownApp,               /**< 0x4015 NOT USED IN GSM LIBRARY */
    00060     phnErrUnknownNumber,                /**< 0x4016 given GSM phone number not found in address book */
    00061     phnErrBufferTooSmall,               /**< 0x4017 NOT USED IN GSM LIBRARY */
    00062     phnErrPasswordRequired,             /**< 0x4018 required GSM password or PIN is missing or invalid */
    00063     phnErrResponsePending,              /**< 0x4019 operation failed because radio was busy processing another command */
    00064     phnErrCancelled,                /**< 0x401a operation cancelled by user (e.g. cancel while entering password) */
    00065     phnErrNoRecipient,              /**< 0x401b operation failed because GSM SMS message had no recipients specified */
    00066     phnErrPhoneFailure,             /**< 0x401c Error reading/writing value to phone. */
    00067     phnErrPhoneNotConnected,                /**< 0x401d WISMO CME ERROR: 1 */
    00068     phnErrPhoneAdaptorLinkReserved,         /**< 0x401e WISMO CME ERROR: 2 */
    00069     phnErrNotSupported,                     /**< 0x401f Operation not supported (WISMO CME ERROR: 4; CMS ERROR: 303) */
    00070     phnErrPhPINRequired,                    /**< 0x4020 WISMO CME ERROR: 5 (PH-SIM PIN required (SIM lock)) */
    00071     phnErrPhFPINRequired,                   /**< 0x4021 WISMO CME ERROR: 6 */
    00072     phnErrPhFPUKRequired,                   /**< 0x4022 WISMO CME ERROR: 7 */
    00073     phnErrNoSIM,                            /**< 0x4023 WISMO CME ERROR: 10 (SIM not inserted) */
    00074     phnErrPINRequired,                      /**< 0x4024 WISMO CME ERROR: 11 (SIM PIN required) */
    00075     phnErrPUKRequired,                      /**< 0x4025 WISMO CME ERROR: 12 (SIM PUK required) */
    00076     phnErrSIMFailure,                       /**< 0x4026 WISMO CME ERROR: 13 (SIM failure) */
    00077     phnErrSIMBusy,                          /**< 0x4027 WISMO CME ERROR: 14; CMS ERROR: 314; NOT DOCUMENTED IN WISMO DOC */
    00078     phnErrSIMWrong,                         /**< 0x4028 WISMO CME ERROR: 15; CMS ERROR: 315; NOT DOCUMENTED IN WISMO DOC */
    00079     phnErrIncorrectPassword,                /**< 0x4029 WISMO CME ERROR: 16 (Incorrect password) */
    00080     phnErrPIN2Required,                     /**< 0x402a WISMO CME ERROR: 17 (SIM PIN2 required) */
    00081     phnErrPUK2Required,                     /**< 0x402b WISMO CME ERROR: 18 (SIM PUK2 required) */
    00082     phnErrMemoryFull,                       /**< 0x402c WISMO CME ERROR: 20 (Memory full ) */
    00083     phnErrInvalidMemIndex,                  /**< 0x402d WISMO CME ERROR: 21 (Invalid index) */
    00084     phnErrNotFound,                         /**< 0x402e WISMO CME ERROR: 22 (Not found) */
    00085     phnErrMemFailure,                       /**< 0x402f WISMO CME ERROR: 23 NOT DOCUMENTED IN WISMO DOC */
    00086     phnErrStringTooLong,                    /**< 0x4030 WISMO CME ERROR: 24 (Text string too long) */
    00087     phnErrInvalidTextChars,                 /**< 0x4031 WISMO CME ERROR: 25 NOT DOCUMENTED IN WISMO DOC */
    00088     phnErrDialStringTooLong,                /**< 0x4032 WISMO CME ERROR: 26 (Dial string too long) */
    00089     phnErrInvalidDialChars,                 /**< 0x4033 WISMO CME ERROR: 27 (Invalid characters in dial string) */
    00090     phnErrNoNetworkService,                 /**< 0x4034 WISMO CME ERROR: 30 (No network service); signal faded on CDMA */
    00091     phnErrNetworkTimeout,                   /**< 0x4035 WISMO CME ERROR: 31; CMS ERROR: 332 NOT DOCUMENTED IN WISMO DOC */
    00092     phnErrNetworkNotAllowed,                /**< 0x4036 WISMO CME ERROR: 32 (Network not allowed - emergency calls only) */
    00093     phnErrNetPINRequired,                   /**< 0x4037 WISMO CME ERROR: 40 (Network personalisation PIN required (Network lock)) */
    00094     phnErrNetPUKRequired,                   /**< 0x4038 WISMO CME ERROR: 41 */
    00095     phnErrNetSubPINRequired,                /**< 0x4039 WISMO CME ERROR: 42 */
    00096     phnErrNetSubPUKRequired,                /**< 0x403a WISMO CME ERROR: 43 */
    00097     phnErrSPPINRequired,                    /**< 0x403b WISMO CME ERROR: 44 */
    00098     phnErrSPPUKRequired,                    /**< 0x403c WISMO CME ERROR: 45 */
    00099     phnErrCorpPINRequired,                  /**< 0x403d WISMO CME ERROR: 46 */
    00100     phnErrCorpPUKRequired,                  /**< 0x403e WISMO CME ERROR: 47 */
    00101     phnErrIllegalMS,                        /**< 0x403f WISMO CME ERROR: 103 */
    00102     phnErrIllegalME,                        /**< 0x4040 WISMO CME ERROR: 106 */
    00103     phnErrGPRSNotAllowed,                   /**< 0x4041 WISMO CME ERROR: 107 */
    00104     phnErrPLMNNotAllowed,                   /**< 0x4042 WISMO CME ERROR: 111 */
    00105     phnErrLocAreaNotAllowed,                /**< 0x4043 WISMO CME ERROR: 112 */
    00106     phnErrRoamingNotAllowed,                /**< 0x4044 WISMO CME ERROR: 113 */
    00107     phnErrOptionNotSupported,               /**< 0x4045 WISMO CME ERROR: 132 */
    00108     phnErrReqOptionNotSubscribed,           /**< 0x4046 WISMO CME ERROR: 133 */
    00109     phnErrOptionTempOutOfOrder,             /**< 0x4047 WISMO CME ERROR: 134 */
    00110     phnErrUnspecifiedGPSRError,             /**< 0x4048 WISMO CME ERROR: 148 */
    00111     phnErrAuthenticationFailure,            /**< 0x4049 WISMO CME ERROR: 149 */
    00112     phnErrInvalidMobileClass,               /**< 0x404a WISMO CME ERROR: 150 */
    00113     phnErrUnassignedNumber,                 /**< 0x404b WISMO CMS ERROR: 1 */
    00114     phnErrOperDeterminedBarring,            /**< 0x404c WISMO CMS ERROR: 8 */
    00115     phnErrCallBarred,                       /**< 0x404d WISMO CMS ERROR: 10 or 18  Call guard option does not allow call */
    00116     phnErrSMSXferRejected,                  /**< 0x404e WISMO CMS ERROR: 21 */
    00117     phnErrDestOutOfService,                 /**< 0x404f WISMO CMS ERROR: 27 */
    00118     phnErrUnidentifedSubscriber,            /**< 0x4050 WISMO CMS ERROR: 28 */
    00119     phnErrFacRejected,                      /**< 0x4051 WISMO CMS ERROR: 29 */
    00120     phnErrUnknownSubscriber,                /**< 0x4052 WISMO CMS ERROR: 30 */
    00121     phnErrNetworkOutOfOrder,                /**< 0x4053 WISMO CMS ERROR: 38 */
    00122     phnErrTemporaryFailure,                 /**< 0x4054 WISMO CMS ERROR: 41 */
    00123     phnErrCongestion,                       /**< 0x4055 WISMO CMS ERROR: 42, APEX 2,10,16,17  */
    00124     phnErrResourcesUnavailable,             /**< 0x4056   No resources/network busy  */
    00125     phnErrReqFacNotSubscribed,              /**< 0x4057 GSM Error */
    00126     phnErrReqFacNotImplemented,             /**< 0x4058 GSM Error */
    00127     phnErrInvalidSMSReference,              /**< 0x4059 GSM Error */
    00128     phnErrInvalidMsg,                       /**< 0x405a GSM Error */
    00129     phnErrInvalidMandInfo,                  /**< 0x405b GSM Error */
    00130     phnErrMsgTypeNonExistent,               /**< 0x405c GSM Error */
    00131     phnErrMsgNoCompatible,                  /**< 0x405d GSM Error */
    00132     phnErrInfoElemNonExistent,              /**< 0x405e GSM Error */
    00133     phnErrProtocolError,                    /**< 0x405f GSM Error */
    00134     phnErrInterworking,                     /**< 0x4060 GSM Error */
    00135     phnErrTelematicIWNotSupported,          /**< 0x4061 GSM Error */
    00136     phnErrSMType0NotSupported,              /**< 0x4062 GSM Error */
    00137     phnErrCannotReplaceMsg,                 /**< 0x4063 GSM Error */
    00138     phnErrUnspecifiedTPPIDError,            /**< 0x4064 GSM Error */
    00139     phnErrAlphabetNotSupported,             /**< 0x4065 GSM Error */
    00140     phnErrMsgClassNotSupported,             /**< 0x4066 GSM Error */
    00141     phnErrUnspecifiedTPDCSError,            /**< 0x4067 GSM Error */
    00142     phnErrCmdCannotBeActioned,              /**< 0x4068 GSM Error */
    00143     phnErrCmdUnsupported,                   /**< 0x4069 GSM Error */
    00144     phnErrUnspecifiedTPCmdError,            /**< 0x406a GSM Error */
    00145     phnErrTPDUNotSupported,                 /**< 0x406b GSM Error */
    00146     phnErrSCBusy,                           /**< 0x406c GSM Error */
    00147     phnErrNoSCSubscription,                 /**< 0x406d GSM Error */
    00148     phnErrSCSystemFailure,                  /**< 0x406e GSM Error */
    00149     phnErrInvalidSMEAddr,                   /**< 0x406f GSM Error */
    00150     phnErrDestSMEBarred,                    /**< 0x4070 GSM Error */
    00151     phnErrSMRejectedDuplicate,              /**< 0x4071 GSM Error */
    00152     phnErrTPVPFNotSupported,                /**< 0x4072 GSM Error */
    00153     phnErrTPVPNotSupported,                 /**< 0x4073 GSM Error */
    00154     phnErrSMSStorageFull,                   /**< 0x4074 GSM Error */
    00155     phnErrNoSMSStorage,                     /**< 0x4075 GSM Error */
    00156     phnErrErrorInMS,                        /**< 0x4076 GSM Error */
    00157     phnErrSIMApplToolkitBusy,               /**< 0x4077 GSM Error */
    00158     phnErrMEFailure,                        /**< 0x4078 GSM Error */
    00159     phnErrSMSServReserved,                  /**< 0x4079 WISMO CMS ERROR: 301 (SMS service of ME reserved) */
    00160     phnErrInvalidParameter,                 /**< 0x407a GSM Error */
    00161     phnErrFiller,                           /**< 0x407b GSM Error */
    00162     phnErrFiller2,                          /**< 0x407c GSM Error */
    00163     phnErrFiller3,                          /**< 0x407d GSM Error */
    00164     phnErrMemoryFailure,                    /**< 0x407e Memory access failure */
    00165     phnErrSCAddrUnknown,                    /**< 0x407f GSM Error */
    00166     phnErrNoCNMAAckExpected,                /**< 0x4080 GSM Error */
    00167         /** Errors returned by the firmware (NO CARRIER) */
    00168     phnErrFDNMismatch,                      /**< 0x4081  GSM Error */
    00169     phnErrEmergencyCallsOnly,               /**< 0x4082  GSM Error */
    00170     phnErrACMLimitExceeded,                 /**< 0x4083  GSM Error */
    00171     phnErrHoldError,                        /**< 0x4084  GSM Error */
    00172     phnErrNumberBlacklisted,                /**< 0x4085  GSM Error */
    00173     phnErrLidClosed,                        /**< 0x4086 */
    00174     phnErrSATUnavailable,                   /**< 0x4087  GSM Error */
    00175     phnErrSATInactive,                      /**< 0x4088  GSM Error */
    00176     phnErrUNUSED,                           /**< 0x4089  GSM Error */
    00177     phnErrRadioNotAvailable,                /**< 0x408a  GSM Error */
    00178     phnErrIntermediateResult,               /**< 0x408b  GSM Error */
    00179     phnErrUnexpectedResponse,               /**< 0x408c  GSM Error */
    00180     phnErrDuplicatePage,                    /**< 0x408d  GSM Error */
    00181     phnErrFirmwareBootNotInprogress,        /**< 0x408e  GSM Error */
    00182     phnErrFirmwareBootInprogress,           /**< 0x408f  GSM Error */
    00183         /** These error codes map directly to Wismo error
    00184             codes, but maybe could be used by other radios? */
    00185     phnErrMMFailed,                 /**< 0x4090  GSM Error */
    00186     phnErrLowerLayer,               /**< 0x4091  GSM Error */
    00187     phnErrCPError,                  /**< 0x4092  GSM Error */
    00188     phnErrCommandInProgress,            /**< 0x4093  GSM Error */
    00189     phnErrSATNotSupported,              /**< 0x4094  GSM Error */
    00190     phnErrSATNoInd,                 /**< 0x4095  GSM Error */
    00191     phnErrNeedResetModule,              /**< 0x4096  GSM Error */
    00192     phnErrCOPSAbort,                /**< 0x4097  GSM Error */
    00193
    00194
    00195     /** CSD CEER Errors */
    00196     phnErrCSDUnassignedNumber,              /**< 0x4098  GSM Error */
    00197     phnErrCSDNoRouteToDestination,          /**< 0x4099  GSM Error */
    00198     phnErrCSDChannelUnacceptable,           /**< 0x409a  GSM Error */
    00199     phnErrCSDOperatorBarring,               /**< 0x409b  GSM Error */
    00200     phnErrCSDNumberBusy,                    /**< 0x409c  GSM Error */
    00201     phnErrCSDNoUserResponse,                /**< 0x409d  GSM Error */
    00202     phnErrCSDNoAnswer,                      /**< 0x409e  GSM Error */
    00203     phnErrCSDCallRejected,                  /**< 0x409f  GSM Error */
    00204     phnErrCSDNumberChanged,                 /**< 0x40a0  GSM Error */
    00205     phnErrCSDDestinationOutOfOrder,         /**< 0x40a1  GSM Error */
    00206     phnErrCSDInvalidNumberFormat,           /**< 0x40a2  GSM Error */
    00207     phnErrCSDFacilityRejected,              /**< 0x40a3  GSM Error */
    00208     phnErrCSDNoCircuitAvailable,            /**< 0x40a4  GSM Error */
    00209     phnErrCSDNetworkOutOfOrder,             /**< 0x40a5  GSM Error */
    00210     phnErrCSDTempFailure,                   /**< 0x40a6  GSM Error */
    00211     phnErrCSDSwitchingCongestion,           /**< 0x40a7  GSM Error */
    00212     phnErrCSDAccessInfoDiscarded,           /**< 0x40a8  GSM Error */
    00213     phnErrCSDReqCircuitNotAvailable,        /**< 0x40a9  GSM Error */
    00214     phnErrCSDResourceNotAvailable,          /**< 0x40aa  GSM Error */
    00215     phnErrCSDQOSNotAvailable,               /**< 0x40ab  GSM Error */
    00216     phnErrCSDFacilityNotSubscribed,         /**< 0x40ac  GSM Error */
    00217     phnErrCSDIncomingCallsBarredCUG,        /**< 0x40ad  GSM Error */
    00218     phnErrCSDBearerNotCapable,              /**< 0x40ae  GSM Error */
    00219     phnErrCSDBearerNotAvailable,            /**< 0x40af  GSM Error */
    00220     phnErrCSDServiceNotAvailble,            /**< 0x40b0  GSM Error */
    00221     phnErrCSDBearerNotImplemented,          /**< 0x40b1  GSM Error */
    00222     phnErrCSDACMOutOfRange,                 /**< 0x40b2  GSM Error */
    00223     phnErrCSDFacilityNotImplemented,        /**< 0x40b3  GSM Error */
    00224     phnErrCSDRestrictedBearer,              /**< 0x40b4  GSM Error */
    00225     phnErrCSDServiceNotImplented,           /**< 0x40b5  GSM Error */
    00226     phnErrCSDInvalidTransID,                /**< 0x40b6  GSM Error */
    00227     phnErrCSDUserNotMemberCUG,              /**< 0x40b7  GSM Error */
    00228     phnErrCSDIncompatibleDestination,       /**< 0x40b8  GSM Error */
    00229     phnErrCSDInvalidTransitNetwork,         /**< 0x40b9  GSM Error */
    00230     phnErrCSDSemanticallyIncorrectMessage,      /**< 0x40ba  GSM Error */
    00231     phnErrCSDInvalidMandatoryInfo,          /**< 0x40bb  GSM Error */
    00232     phnErrCSDMessageTypeNotImplemented,     /**< 0x40bc  GSM Error */
    00233     phnErrCSDMessageTypeNotCompatible,      /**< 0x40bd  GSM Error */
    00234     phnErrCSDInfoNotImplemented,            /**< 0x40be  GSM Error */
    00235     phnErrCSDIEError,                       /**< 0x40bf  GSM Error */
    00236     phnErrCSDMessageNotCompatible,          /**< 0x40c0  GSM Error */
    00237     phnErrCSDRecoveryOnTimerExpiry,         /**< 0x40c1  GSM Error */
    00238     phnErrCSDProtocolError,                 /**< 0x40c2  GSM Error */
    00239     /** GPRS CEER Errors */
    00240     phnErrGPRSRoamingNotAllowed,            /**< 0x40c3  GSM Error */
    00241     phnErrGPRSNetworkRequestDetach,         /**< 0x40c4  GSM Error */
    00242     phnErrGPRSNoService,                    /**< 0x40c5  GSM Error */
    00243     phnErrGPRSNoAccess,                     /**< 0x40c6  GSM Error */
    00244     phnErrGPRSServiceRefused,               /**< 0x40c7  GSM Error */
    00245     phnErrGPRSNetworkRequestPDPDeactivate,      /**< 0x40c8  GSM Error */
    00246     phnErrGPRSPDPDactivateLCCLinkActivation,    /**< 0x40c9  GSM Error */
    00247     phnErrGPRSPDPDeactivateNwkRactivate,        /**< 0x40ca  GSM Error */
    00248     phnErrGPRSPDPDactivateGMMAbort,             /**< 0x40cb  GSM Error */
    00249     phnErrGPRSPDPDeactivateSNDCPFailure,        /**< 0x40cc  GSM Error */
    00250     phnErrGPRSPDPActivateFailGMMError,          /**< 0x40cd  GSM Error */
    00251     phnErrGPRSPDPActivateFailNetReject,         /**< 0x40ce  GSM Error */
    00252     phnErrGPRSPDPActivateFailNoNSAPI,           /**< 0x40cf  GSM Error */
    00253     phnErrGPRSPDPActivateFailSMRefuse,          /**< 0x40d0  GSM Error */
    00254     /** MORE CSD Errors */
    00255     phnErrCSDFDNError,                          /**< 0x40d1  GSM Error */
    00256     phnErrCSDCallOperationNotAllowed,           /**< 0x40d2  GSM Error */
    00257     phnErrCSDCallBarringOutgoing,               /**< 0x40d3  GSM Error */
    00258     phnErrCSDCallBarringIncoming,               /**< 0x40d4  GSM Error */
    00259     phnErrCSDCallImpossible,                    /**< 0x40d5  GSM Error */
    00260     phnErrCSDLowerLayerFailure,                 /**< 0x40d6  GSM Error */
    00261     /** More GPRS Errors */
    00262     phnErrGPRSAPNMissing,                       /**< 0x40d7  GSM Error */
    00263     /** More Errors */
    00264     phnErrNoCarrier,                            /**< 0x40d8  GSM Error */
    00265     phnErrSMSFDNError,              /**< 0x40d9  GSM Error : SMS Fixed Dialing error (CMS ERROR: 531) */
    00266     phnErrNullParam,                    /**< 0x40da GSM Error : provided parameter is unexpectedly null */
    00267     phnErrBadServiceCode,                   /**< 0x40db GSM Error : intermediate response has unexpected service code */
    00268     phnErrBadATResult,                  /**< 0x40dc GSM Error : AT response from radio is missing or invalid */
    00269     phnErrBadATCmd,                     /**< 0x40dd GSM Error : AT cmd to radio is missing or invalid */
    00270     phnErrSIMDataDownload,              /**< 0x40de GSM Error : SIM Data Download error (CMS ERROR: 213) */
    00271
    00272     /**
    00273      *  0x40df to 0x40FF are reserves for GSM errors in the original Treo's
    00274      *  Phone Library
    00275      */
    00276
    00277
    00278
    00279     /**
    00280          *  IMPORTANT: the last valid error code for this error class is 0x40FF.
    00281      *  If you exceed this range, you will collide with the next error class
    00282      *  that belongs to PalmSource, and will have all kinds of conflicts, such
    00283      *  as wrong error strings and wrong interpretation of errors by
    00284      *  applications.
    00285      */
    00286
    00287
    00288     // Add new error codes before this one
    00289     phnErrLAST_1
    00290   };

enum PHNErrorCodeRange_2

NOTE: The last error code allowed in Phone library error class #1 is 0x40FF. We reserve a second error base to allow for more error codes below. hsPhoneLibErrorClass_2 is 0x7300.

Enumerator:

  phnErrorClass_2 |
  phnErrSaveNV | 0x7301 CDMA Error : Fail to save params to Modem's NV.
  phnErrReadNV | 0x7302 CDMA Error : Fail to read params from Modem's NV.
  phnErrFiller4 | 0x7303 Filler -- you can use this error but dont remove.
  phnErrFiller5 | 0x7304 Filler -- you can use this error but dont remove.
  phnErrDuplicatePlaceHoldler | 0x7305 *************************************************
  phnErrFiller6 | 0x7306 Filler -- you can use this error but dont remove.
  phnErrBatteryLowAlert | 0x7307 CDMA Error : Phone battery is under the first low alert level.
  phnErrBatteryCharging | 0x7308 CDMA Error : Phone battery is being charged.
  phnErrBadCRC | 0x7309 CDMA Error : bad CRC observed
  phnErrNoAppRegistered | 0x730a CDMA Error : Need to have at least an app to register for the corresponding service.
  phnErrSndDelClass | SOUND Management Errors 0x730b CDMA Error : Should never send this value!!!
  phnErrSndDelInvalidRingerID | 0x730c CDMA Error : The ringer index is not a valid ringer ID index
  phnErrSndDelUnusedRingerID | 0x730d CDMA Error : The ringer index does not contain an active ringer idx to delete
  phnErrSndDelUndeletableRingerID | 0x730e CDMA Error : The ringer index is a perminent ringer index
  phnErrSndDelInternalMdmError | 0x730f CDMA Error : An internal modem error occurred when attempting to delete the file.
  phnErrSndSaveClass | 0x7310 CDMA Error : Should never send this value!!!
  phnErrSndSaveFileNameInvalid | 0x7311 CDMA Error : The null terminated string was not found as the file name.
  phnErrSndSaveBadDataLen | 0x7312 CDMA Error : The file data length and/or the block data length is invalid.
  phnErrSndSaveBadRingerID | 0x7313 CDMA Error : The ringer index specified is invalid (not a write-able index or out of range)
  phnErrSndSaveBadSoundType | 0x7314 CDMA Error : The file type is invalid or not currently supported
  phnErrSndSaveOutOfMem | 0x7315 CDMA Error : First block of file could not be written due to limited memory
  phnErrSndSaveInternalModem | 0x7316 CDMA Error : An internal modem error occurred when attempting to download this block of the file (file is discarded).
  phnErrSndSaveBadRsp | 0x7317 CDMA Error : Modem thinks that the file is downloaded completely, but the host still has not sent all or vice versa.
  phnErrSndSaveContClass | 0x7318 CDMA Error : Should never use this value
  phnErrSndSaveContBadDataLen | 0x7319 CDMA Error : The block data length of the file data in this block is invalid.
  phnErrSndSaveContSeqNum | 0x731a CDMA Error : The sequence number is not in series with previous file download command.
  phnErrSndSaveContOutOfMem | 0x731b CDMA Error : Next block of file could not be written due to limited memory.
  phnErrSndSaveContInternalModem | 0x731c CDMA Error : An internal modem error occurred when attempting to download this block of the file.
  phnErrModemBusy | 0x731d
  phnErrModemOffline | 0x731e
  phnErrIOTACommitFailed | IOTA errors 0x731f CDMA Error : IOTA commit failed
  phnErrIOTACommitInProgress | 0x7320 CDMA Error : IOTA commit is in progress
  phnErrIS683ProtRevNotSupported | 0x7321 CDMA Error : The IOTA protocol revision is not supported
  phnErrInvalidNAM | 0x7322 CDMA Error : The NAM selected is invalid
  phnErrNAMMismatched | 0x7323 CDMA Error : The NAM selected is not the same as the NAM currently used in the current session
  phnErrIOTASessionActive | 0x7324 CDMA Error : An IOTA session is active
  phnErrIOTANoSession | 0x7325 CDMA Error : No IOTA session currently
  phnErrNVUnInitialized | 0x7326 CDMA Error : Uninitialized NV item
  phnErrNvBadItem | 0x7327 CDMA Error : Bad or restricted NV item
  phnErrPoweringDown | 0x7328 Error: The radio is currently powering down and we can not do anything
  phnErrDenied | 0x7329 Request denied
  phnErrNotYetSupported | 0x732A Feature not yet supported
  phnErrSMSMemoryFull | 0x732B No more memory to receive incoming SMS
  phnErrSMSMemoryOK | 0x732C There is now enough memory to receive incoming SMS
  phnErrCauseCode16 | 0x732D GSM04.08: Cause code 16
  phnErrMissingCarKitDriver | 0x732E The wired car kit driver is missing
  phnErrHCIMismatch |
  phnErrLAST_2 |

Definition at line 298 of file HsPhoneErrors.h.

    00299   {
    00300     phnErrorClass_2 = hsPhoneLibErrorClass_2,
    00301
    00302     // NOTE: phnErrSaveNV was assigned an incorrect value of 0x4150 on Treo300.
    00303     // This placed it and all subsequent error codes in Phone Library into
    00304     // the error class 0x4100.  We're not allowed to use the error class 0x4100
    00305     // because it belongs to PalmSource.  Per approval of Arun Mathias, and
    00306     // Kiran Prasad we're redefining these error codes to start at the error
    00307     // base hsPhoneLibErrorClass_2, which belongs to Handspring.  According to Arun, the
    00308     // error codes which were defined starting with 0x4150 were low-level
    00309     // error codes that were only used internally.
    00310     //
    00311     phnErrSaveNV,           /**< 0x7301 CDMA Error : Fail to save params to Modem's NV. */
    00312     phnErrReadNV,                       /**< 0x7302 CDMA Error : Fail to read params from Modem's NV. */
    00313     phnErrFiller4,                      /**< 0x7303 Filler -- you can use this error but dont remove. */
    00314     phnErrFiller5,                      /**< 0x7304 Filler -- you can use this error but dont remove. */
    00315 //    phnErrCmdCannotBeActioned,        /**< was 0x4154 CDMA Error : Fail to send command to modem. */
    00316 // ***** DUPLICATE *****
    00317     phnErrDuplicatePlaceHoldler,    /**< 0x7305 ************************************************* */
    00318     phnErrFiller6,                      /**< 0x7306 Filler -- you can use this error but dont remove. */
    00319     phnErrBatteryLowAlert,          /**< 0x7307 CDMA Error : Phone battery is under the first low alert level. */
    00320     phnErrBatteryCharging,              /**< 0x7308 CDMA Error : Phone battery is being charged. */
    00321     phnErrBadCRC,           /**< 0x7309 CDMA Error : bad CRC observed */
    00322     phnErrNoAppRegistered,              /**< 0x730a CDMA Error : Need to have at least an app to register for the corresponding service. */
    00323
    00324     /** SOUND Management Errors */
    00325     phnErrSndDelClass,                  /**< 0x730b CDMA Error : Should never send this value!!! */
    00326     phnErrSndDelInvalidRingerID,        /**< 0x730c CDMA Error : The ringer index is not a valid ringer ID index */
    00327     phnErrSndDelUnusedRingerID,         /**< 0x730d CDMA Error : The ringer index does not contain an active ringer idx to delete */
    00328     phnErrSndDelUndeletableRingerID,    /**< 0x730e CDMA Error : The ringer index is a perminent ringer index */
    00329     phnErrSndDelInternalMdmError,       /**< 0x730f CDMA Error : An internal modem error occurred when attempting to delete the file. */
    00330     phnErrSndSaveClass,                 /**< 0x7310 CDMA Error : Should never send this value!!! */
    00331     phnErrSndSaveFileNameInvalid,       /**< 0x7311 CDMA Error : The null terminated string was not found as the file name. */
    00332     phnErrSndSaveBadDataLen,            /**< 0x7312 CDMA Error : The file data length and/or the block data length is invalid. */
    00333     phnErrSndSaveBadRingerID,           /**< 0x7313 CDMA Error : The ringer index specified is invalid (not a write-able index or out of range) */
    00334     phnErrSndSaveBadSoundType,          /**< 0x7314 CDMA Error : The file type is invalid or not currently supported */
    00335     phnErrSndSaveOutOfMem,              /**< 0x7315 CDMA Error : First block of file could not be written due to limited memory */
    00336     phnErrSndSaveInternalModem,         /**< 0x7316 CDMA Error : An internal modem error occurred when attempting to download this */
    00337                                         /**< block of the file (file is discarded). */
    00338     phnErrSndSaveBadRsp,                /**< 0x7317 CDMA Error : Modem thinks that the file is downloaded completely, but the host still */
    00339                                         /**< has not sent all or vice versa. */
    00340     phnErrSndSaveContClass,             /**< 0x7318 CDMA Error : Should never use this value */
    00341     phnErrSndSaveContBadDataLen,        /**< 0x7319 CDMA Error : The block data length of the file data in this block is invalid. */
    00342     phnErrSndSaveContSeqNum,            /**< 0x731a CDMA Error : The sequence number is not in series with previous file download command. */
    00343     phnErrSndSaveContOutOfMem,          /**< 0x731b CDMA Error : Next block of file could not be written due to limited memory. */
    00344     phnErrSndSaveContInternalModem,     /**< 0x731c CDMA Error : An internal modem error occurred when attempting to download this block of the file. */
    00345
    00346     phnErrModemBusy,            /**< 0x731d */
    00347     phnErrModemOffline,         /**< 0x731e */
    00348     /** IOTA errors */
    00349     phnErrIOTACommitFailed,             /**< 0x731f CDMA Error : IOTA commit failed */
    00350     phnErrIOTACommitInProgress,         /**< 0x7320 CDMA Error : IOTA commit is in progress */
    00351     phnErrIS683ProtRevNotSupported,     /**< 0x7321 CDMA Error : The IOTA protocol revision is not supported */
    00352     phnErrInvalidNAM,                   /**< 0x7322 CDMA Error : The NAM selected is invalid */
    00353     phnErrNAMMismatched,                /**< 0x7323 CDMA Error : The NAM selected is not the same as the NAM currently used in the current session */
    00354     phnErrIOTASessionActive,            /**< 0x7324 CDMA Error : An IOTA session is active */
    00355     phnErrIOTANoSession,                /**< 0x7325 CDMA Error : No IOTA session currently */
    00356     phnErrNVUnInitialized,      /**< 0x7326 CDMA Error : Uninitialized NV item */
    00357     phnErrNvBadItem,        /**< 0x7327 CDMA Error : Bad or restricted NV item */
    00358
    00359
    00360     phnErrPoweringDown,     /**< 0x7328 Error: The radio is currently */
    00361                 /**< powering down and we can not do anything */
    00362     phnErrDenied,           /**< 0x7329 Request denied */
    00363     phnErrNotYetSupported,          /**< 0x732A Feature not yet supported */
    00364     phnErrSMSMemoryFull,        /**< 0x732B No more memory to receive incoming SMS */
    00365     phnErrSMSMemoryOK,      /**< 0x732C There is now enough memory to receive incoming SMS */
    00366     phnErrCauseCode16,      /**< 0x732D GSM04.08: Cause code 16 */
    00367     phnErrMissingCarKitDriver, /**< 0x732E The wired car kit driver is missing */
    00368
    00369     phnErrHCIMismatch,
    00370     // Add new error codes before this one
    00371     phnErrLAST_2
    00372   };

Top | Palm Developer Network © 2004-2008, Palm, Inc. All rights reserved. Generated on Fri Jun 13 10:07:15 2008 for Palm API Guide