API Guide Home (Online version only) |

# HsPhoneErrors.h

Go to the documentation of this file.

    00001 /******************************************************************************
    00002  * Copyright (c) 2004 palmOne, Inc. or its subsidiaries.
    00003  * All rights reserved.
    00004  *****************************************************************************/
    00005 /** @ingroup Telephony
    00006  *
    00007  */
    00008
    00009
    00010 /**
    00011  *
    00012  * @file    HsPhoneErrors.h
    00013  *
    00014  * @brief  Errors returned by API function in GSM/CDMA Library
    00015  *
    00016  * NOTES:
    00017  *  This file is meant to contain all error codes that are returned
    00018  *  by an API in the phone library. If the error is not being returned
    00019  *  by an API call, please do not add it to this file, but keep it in
    00020  *  a private header file in the libraries.
    00021  */
    00022
    00023
    00024
    00025
    00026 #ifndef HS_PHONE_ERRORS_H
    00027 #define HS_PHONE_ERRORS_H
    00028
    00029 #include <HsErrorClasses.h> // For hsPhoneLibErrorClass_1
    00030
    00031 /**
    00032  *  PHN Library result codes
    00033  **/
    00034 typedef Err PHNErrorCode;       /**<        */
    00035
    00036 enum PHNErrorCodeRange_1
    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   };
    00291
    00292
    00293 /**
    00294  *  NOTE: The last error code allowed in Phone library error class #1 is
    00295  *  0x40FF. We reserve a second error base to allow for more error codes
    00296  *  below.  hsPhoneLibErrorClass_2 is 0x7300.
    00297  */
    00298 enum PHNErrorCodeRange_2
    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   };
    00373
    00374 #endif

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