|
API Guide Home (Online version only) |
![]() |
NOTES: All implementations of the Handspring Phone Library support a common API. This API is broken up into various categories for easier management. This file defines the CDMA category. These API calls are used to interact with the wireless network.
Definition in file HsPhoneCDMATypes.h.
Include dependency graph for HsPhoneCDMATypes.h:

Go to the source code of this file.
| #define indicatorBlockedCallerIDChar '!' |
CDMA Only -- Means the caller ID is blocked
Definition at line 38 of file HsPhoneCDMATypes.h.
| #define indicatorNoCallerIDChar '?' |
workaround for differing header files in sdk-3.5 and sdk-internal CDMA Only -- Means there is no caller ID
Definition at line 37 of file HsPhoneCDMATypes.h.
| #define indicatorRemainingCallerIDChar '~' |
CDMA Only -- Means the caller ID is the remaining caller (3+ calls scenario)
Definition at line 39 of file HsPhoneCDMATypes.h.
| #define isValidPDPReadAck | ( | r | ) | ((r >= phnPDPReadOK) && (r <= phnPDPReadInternalModemErr)) |
Definition at line 221 of file HsPhoneCDMATypes.h.
| #define isValidPhnOneXDataFailType | ( | d | ) | ((d >= phnOneXFailPrev) && (d <= phnOneXFailUnknown)) |
Definition at line 88 of file HsPhoneCDMATypes.h.
| #define isValidPhnPDPCopyAck | ( | c | ) | ((c >= phnPDPCopyOK) && (c <= phnPDPCopyInternalModemErr)) |
Definition at line 260 of file HsPhoneCDMATypes.h.
| #define isValidPhnPDPDeleteAck | ( | d | ) | ((d >= phnPDPDeleteOK) && (d <= phnPDPDeleteInternalModemErr)) |
Definition at line 278 of file HsPhoneCDMATypes.h.
| #define isValidPhnPDPIndexType | ( | t | ) | ((t >= phnPDPDefaultIndex) && (t <= phnPDPGenericIndex)) |
Definition at line 236 of file HsPhoneCDMATypes.h.
| #define isValidPhnPDPReplaceAck | ( | r | ) | ((r >= phnPDPReplaceOK) && (r <= phnPDPReplaceInternalModemErr)) |
Definition at line 296 of file HsPhoneCDMATypes.h.
| #define isValidPhnPDPWriteAck | ( | w | ) | ((w >= phnPDPWriteOK) && (w <= phnPDPWriteInternalModemErr)) |
Definition at line 207 of file HsPhoneCDMATypes.h.
| #define PhnCDMAMediaTVSettingsMajorVersion 0x0001 |
Definition at line 902 of file HsPhoneCDMATypes.h.
| #define PhnCDMAMediaTVSettingsMinorVersion 0x0000 |
Definition at line 903 of file HsPhoneCDMATypes.h.
| #define PhnCDMAMediaTVSettingsVersion (((UInt32)PhnCDMAMediaTVSettingsMajorVersion << 16) | PhnCDMAMediaTVSettingsMinorVersion) |
Definition at line 904 of file HsPhoneCDMATypes.h.
| #define phnMaxDialStrLen 15 |
HI_ONEX_MAX_DIAL_STR_LEN
Definition at line 50 of file HsPhoneCDMATypes.h.
| #define phnMaxMNAAASharedSecretLen 48 |
HI_ONEX_MAX_MN_AAA_SHARED_SECRET_LEN
Definition at line 48 of file HsPhoneCDMATypes.h.
| #define phnMaxMNHASharedSecretLen 48 |
HI_ONEX_MAX_MN_HA_SHARED_SECRET_LEN
Definition at line 47 of file HsPhoneCDMATypes.h.
| #define phnMaxMslLen 6 |
HI_ONEX_MSL_LEN
Definition at line 51 of file HsPhoneCDMATypes.h.
| #define phnMaxNAILen 72 |
Max length of NAI
Definition at line 46 of file HsPhoneCDMATypes.h.
| #define phnMaxSvcStrLen 22 |
HI_ONEX_MAX_SVC_STR_LEN
Definition at line 49 of file HsPhoneCDMATypes.h.
| #define phnMaxUrlLen 128 |
Max URL length
Definition at line 52 of file HsPhoneCDMATypes.h.
| #define phnOtasp3GPDCommitFlag 0x0080 |
Definition at line 63 of file HsPhoneCDMATypes.h.
| #define phnOtaspAkeyCommitFlag 0x0040 |
Definition at line 62 of file HsPhoneCDMATypes.h.
| #define phnOtaspCommitFlag 0x0800 |
Definition at line 67 of file HsPhoneCDMATypes.h.
| #define phnOtaspFTCCommitFlag 0x0002 |
Definition at line 57 of file HsPhoneCDMATypes.h.
| #define phnOtaspIMSICommitFlag 0x0010 |
Definition at line 60 of file HsPhoneCDMATypes.h.
| #define phnOtaspInitProgReqFlag 0x1000 |
Definition at line 68 of file HsPhoneCDMATypes.h.
| #define phnOtaspMIPRetryCommitFlag 0x0200 |
Definition at line 65 of file HsPhoneCDMATypes.h.
| #define phnOtaspMIPStatCommitFlag 0x0100 |
Definition at line 64 of file HsPhoneCDMATypes.h.
| #define phnOtaspMobdirCommitFlag 0x0001 |
Definition at line 56 of file HsPhoneCDMATypes.h.
| #define phnOtaspNamLockCommitFlag 0x0020 |
Definition at line 61 of file HsPhoneCDMATypes.h.
| #define phnOtaspProgInProgressFlag 0x2000 |
Definition at line 69 of file HsPhoneCDMATypes.h.
| #define phnOtaspRoamListCommitFlag 0x0004 |
Definition at line 58 of file HsPhoneCDMATypes.h.
| #define phnOtaspSPCCommitFlag 0x0008 |
Definition at line 59 of file HsPhoneCDMATypes.h.
| #define phnOtaspSPCFail 0x0400 |
Definition at line 66 of file HsPhoneCDMATypes.h.
| #define phnOtaspSSDCommitFlag 0x4000 |
Definition at line 70 of file HsPhoneCDMATypes.h.
| #define phnOtaspSuccessful 0x02FF |
Definition at line 72 of file HsPhoneCDMATypes.h.
| #define phnOtaspUnsuccessful 0x03FF |
Definition at line 73 of file HsPhoneCDMATypes.h.
| #define phnPDPUidLen 15 |
Max PDP UID length
Definition at line 45 of file HsPhoneCDMATypes.h.
| typedef UInt32 PhnCDMAFirmwareType |
Definition at line 889 of file HsPhoneCDMATypes.h.
| typedef struct _PhnCDMAMediaTVSettings PhnCDMAMediaTVSettingsType |
| typedef UInt32 PhnCDMAVoicemailType |
Definition at line 899 of file HsPhoneCDMATypes.h.
| typedef UInt32 PhnGenericCDMAPreference |
Definition at line 862 of file HsPhoneCDMATypes.h.
| typedef UInt32 PhnGenericCDMASMSEncodingType |
Definition at line 874 of file HsPhoneCDMATypes.h.
| typedef struct PhnPDDataType * PhnPDDataPtr |
| typedef UInt8 PhnPDPConnectionType |
Definition at line 319 of file HsPhoneCDMATypes.h.
| typedef UInt8 PhnPDPCopyAck |
Definition at line 258 of file HsPhoneCDMATypes.h.
| typedef UInt8 PhnPDPDeleteAck |
Definition at line 276 of file HsPhoneCDMATypes.h.
| typedef UInt8 PhnPDPIndexType |
Definition at line 234 of file HsPhoneCDMATypes.h.
| typedef UInt8 PhnPDPReplaceAck |
Definition at line 294 of file HsPhoneCDMATypes.h.
| typedef UInt32 PhnPDPService |
Definition at line 339 of file HsPhoneCDMATypes.h.
| typedef UInt8 PhnSysPrefSetting |
Definition at line 849 of file HsPhoneCDMATypes.h.
| enum _PhnCDMAFirmwareType |
| phnCDMAFirmwareSprint | |
| phnCDMAFirmwareVerizon | |
| phnCDMAFirmwareBellMobility | |
| phnCDMAFirmwareEarthlink | |
| phnCDMAFirmwareCrowdy | CDMA rest of world |
| phnCDMAFirmwareAlltel |
Definition at line 879 of file HsPhoneCDMATypes.h.
00880 { 00881 phnCDMAFirmwareSprint = 0, /**< */ 00882 phnCDMAFirmwareVerizon, /**< */ 00883 phnCDMAFirmwareBellMobility, /**< */ 00884 phnCDMAFirmwareEarthlink, /**< */ 00885 phnCDMAFirmwareCrowdy, /**<CDMA rest of world*/ 00886 phnCDMAFirmwareAlltel /**< */ 00887 } _PhnCDMAFirmwareType;
Definition at line 892 of file HsPhoneCDMATypes.h.
00893 { 00894 phnCDMAVoicemailMDN = 0, 00895 phnCDMAVoicemailMDN1, 00896 phnCDMAVoicemailDigits 00897 } _PhnCDMAVoicemailType;
| phnGenericCDMASMSEncoding | |
| phnGenericCDMAVoiceMailNumber | |
| phnGenericCDMAVoiceMailOption | |
| phnGenericCDMAAllowPDPSlotModification |
Definition at line 854 of file HsPhoneCDMATypes.h.
00855 { 00856 phnGenericCDMASMSEncoding, /**< */ 00857 phnGenericCDMAVoiceMailNumber, /**< */ 00858 phnGenericCDMAVoiceMailOption, 00859 phnGenericCDMAAllowPDPSlotModification 00860 } _PhnGenericCDMAPreference;
Definition at line 867 of file HsPhoneCDMATypes.h.
00868 { 00869 phnSMSEncodingGSM = 0, /**< */ 00870 phnSMSEncodingASCII, /**< */ 00871 phnSMSEncodingISO8859_1 /**< */ 00872 } _PhnGenericCDMASMSEncodingType;
We changed the ordering of enum to match the TIL type and to keep it consistent with Crowdy NV table for the PDP. Previously, this type was only used by NetPref we impact was minimal. The new ordering also allows us to overload the NetMaster "isMobileIPValue" record value with this value. This way any of 'if (isMobileIPValue)' will return true for both MIP and MIP with fallback. Later we can check the specific in Netmaster as needed
Definition at line 311 of file HsPhoneCDMATypes.h.
00311 { 00312 phnPDPConnectionTypeSIP = 0, /**< PDP contains Simple IP settings */ 00313 phnPDPConnectionTypeMIPWithSIPFallback, /**< PDP contains MobileIP settings. Also allows Simple IP fallback - for Crowdy */ 00314 phnPDPConnectionTypeMIP, /**< PDP contains Mobile IP settings */ 00315 phnPDPConnectionTypeInvalid 00316 00317 } _PhnPDPConnectionType;
| enum _PhnPDPCopyAck |
Definition at line 241 of file HsPhoneCDMATypes.h.
00242 { 00243 phnPDPCopyOK, /**< */ 00244 phnPDPCopyInvalidFromIndex, /**< */ 00245 phnPDPCopyFromIndexNotActive, /**< */ 00246 phnPDPCopyNotAllowedAtFromIndex, /**< */ 00247 phnPDPCopyInvalidToIndex, /**< */ 00248 phnPDPCopyToIndexInUse, /**< */ 00249 phnPDPCopyNotAllowedAtToIndex, /**< */ 00250 phnPDPCopyInvalidNAILen, /**< */ 00251 phnPDPCopyInvalidNAIName, /**< */ 00252 phnPDPCopyDuplicateNAI, /**< */ 00253 phnPDPCopyInvalidAAALen, /**< */ 00254 phnPDPCopyInvalidSvcStrLen, /**< */ 00255 phnPDPCopyInternalModemErr /**< */ 00256 } _PhnPDPCopyAck; /**< */
| enum _PhnPDPDeleteAck |
| phnPDPDeleteOK | |
| phnPDPDeleteInvalidIndex | |
| phnPDPDeleteIndexActive | |
| phnPDPDeleteIndexNotUsed | |
| phnPDPDeleteNotAllowedAtIndex | |
| phnPDPDeleteInternalModemErr |
Definition at line 266 of file HsPhoneCDMATypes.h.
00267 { 00268 phnPDPDeleteOK, /**< */ 00269 phnPDPDeleteInvalidIndex, /**< */ 00270 phnPDPDeleteIndexActive, /**< */ 00271 phnPDPDeleteIndexNotUsed, /**< */ 00272 phnPDPDeleteNotAllowedAtIndex, /**< */ 00273 phnPDPDeleteInternalModemErr /**< */ 00274 } _PhnPDPDeleteAck;
| enum _PhnPDPIndexType |
Definition at line 226 of file HsPhoneCDMATypes.h.
00227 { 00228 phnPDPDefaultIndex, /**< */ 00229 phnPDPTempIndex, /**< */ 00230 phnPDPGenericIndex /**< */ 00231 00232 } _PhnPDPIndexType;
| enum _PhnPDPReplaceAck |
| phnPDPReplaceOK | |
| phnPDPReplaceInvalidIndex | |
| phnPDPReplaceInvalidNotUsed | |
| phnPDPReplaceNotAllowedAtIndex | |
| phnPDPReplaceInvalidLen | |
| phnPDPReplaceInternalModemErr |
Definition at line 283 of file HsPhoneCDMATypes.h.
00284 { 00285 phnPDPReplaceOK, /**< */ 00286 phnPDPReplaceInvalidIndex, /**< */ 00287 phnPDPReplaceInvalidNotUsed, /**< */ 00288 phnPDPReplaceNotAllowedAtIndex, /**< */ 00289 phnPDPReplaceInvalidLen, /**< */ 00290 phnPDPReplaceInternalModemErr /**< */ 00291 00292 } _PhnPDPReplaceAck;
| enum _PhnPDPService |
Bit mask that identifies the services a given profile should be used for
Definition at line 324 of file HsPhoneCDMATypes.h.
00325 { 00326 phnPDPServiceUnknown = 0x00000000, /**< */ 00327 phnPDPServiceInternet = 0x00000001, /**< Profile to be used for generic internet */ 00328 phnPDPServiceWAP = 0x00000002, /**< Profile to be used for WAP */ 00329 phnPDPServicePrivate = 0x00000004, /**< Profile to be used for application specfic gateway */ 00330 phnPDPServiceMMS = 0x00000008, /**< Profile to be used for MMS */ 00331 phnPDPServiceBrowser = 0x00000010, /**< Profile to be used for Browser */ 00332 phnPDPServiceMail = 0x00000020, /**< Profile to be used for email */ 00333 phnPDPServiceIM = 0x00000040, /**< Profile to be used for IM */ 00334 phnPDPServiceDownloads = 0x00000080, /**< Profile to be used for downloads */ 00335 phnPDPServiceCorporateGateway = 0x00000100, /**< Profile to be used for corporate network */ 00336 phnPDPServicePictureMail = 0x00000200 /**< Profile for Picture Mail */ 00337 } _PhnPDPService;
| enum _PhnSysPrefSetting |
Definition at line 840 of file HsPhoneCDMATypes.h.
00841 { 00842 phnSysPrefHomeOnly, /**< */ 00843 phnSysPrefAOnly, /**< */ 00844 phnSysPrefBOnly, /**< */ 00845 phnSysPrefStandard /**< */ 00846 00847 } _PhnSysPrefSetting;
| enum PhnMIPFailType |
Definition at line 134 of file HsPhoneCDMATypes.h.
00134 { 00135 00136 phnMIPSuccess, /**< */ 00137 phnMIPNoSimBindings, /**< */ 00138 phnMIPFaReasonUnspecified=64, /**< */ 00139 phnMIPFaAdminProhibited=65, /**< */ 00140 phnMIPFaInsufficientResources=66, /**< */ 00141 phnMIPFaMobileNodeAuth=67, /**< */ 00142 phnMIPFaHomeAgentAuth=68, /**< */ 00143 phnMIPFaReqLifetimeTooLong=69, /**< */ 00144 phnMIPFaPoorlyFormedReq=70, /**< */ 00145 phnMIPFaPoorlyFormedReply=71, /**< */ 00146 phnMIPFaReqedEncapUnavail=72, /**< */ 00147 phnMIPFaReservedNUnavail=73, /**< */ 00148 phnMIPFaCantRevTun=74, /**< */ 00149 phnMIPFaMustRevTun=75, /**< */ 00150 phnMIPFaBadTtl=76, /**< */ 00151 phnMIPFaInvalidCareOfAddr=77, /**< */ 00152 phnMIPFaRegistration_Timeout=78, /**< */ 00153 PhnMIPFADelvStyleUnsupported=79, /**< */ 00154 phnMIPFaHome_Network_Unreachable=80, /**< */ 00155 phnMIPFaHa_Host_Unreachable=81, /**< */ 00156 phnMIPFaHa_Port_Unreachable=82, /**< */ 00157 phnMIPFaHa_Unreachable=88, /**< */ 00158 PhnMIPFANonzeroHomeAddrReq=96, /**< */ 00159 PhnMIPFAMissingNai=97, /**< */ 00160 phnMIPFaForeign_Agent=98, /**< */ 00161 PhnMIPFAMissingHomeAddr=99, /**< */ 00162 PhnMIPFAError1=100, /**< */ 00163 PhnMIPFAError2 =101, /**< */ 00164 phnMIPFaUnknown_Challenge=104, /**< */ 00165 phnMIPFaMissing_Challenge=105, /**< */ 00166 phnMIPFaStale_Challenge=106, /**< */ 00167 phnMIPHaReasonUnspecified=128, /**< */ 00168 phnMIPHaAdminProhibited=129, /**< */ 00169 phnMIPHaInsufficientResources=130, /**< */ 00170 phnMIPHaMobileNodeAuth=131, /**< */ 00171 phnMIPHaForeignAgentAuth=132, /**< */ 00172 phnMIPHaRegIdMismatch=133, /**< */ 00173 phnMIPHaPoorlyFormedReq=134, /**< */ 00174 phnMIPHaTooManySimMobBindings=135, /**< */ 00175 phnMIPHaUnknownHaAddr=136, /**< */ 00176 phnMIPHaCantRevTun=137, /**< */ 00177 phnMIPHaMustRevTun=138, /**< */ 00178 phnMIPHaReqEncapNotAvail=139, /**< */ 00179 phnMIPHAError1=140, /**< */ 00180 phnMIPHAError2=141 /**< */ 00181 00182 } PhnMIPFailType;
| enum PhnOneXDataFailType |
Definition at line 79 of file HsPhoneCDMATypes.h.
00079 { 00080 phnOneXFailPrev=0, /**< current used PREV does not support the type of data call attempted */ 00081 phnOneXFailNoSrv=1, /**< modem did not have service when the data call was attempted */ 00082 phnOneXFailNetworkSORej=2, /**< The network rejected the service option for the data call */ 00083 phnOneXFailModemSORej=3, /**< The modem does not support or restricts the service option for the data call */ 00084 phnOneXFailNetworkBusy=4, /**< The network was busy */ 00085 phnOneXFailUnknown=5 /**< */ 00086 } PhnOneXDataFailType;
| enum PhnPDPAUncerttype |
Definition at line 94 of file HsPhoneCDMATypes.h.
00094 { 00095 PhnPDPAUncert0_5_M = 0x00, /**< Standard deviation of 0.5 meters */ 00096 PhnPDPAUncert0_75_M, /**< Standard deviation of 0.75 meters */ 00097 PhnPDPAUncert1_M, /**< Standard deviation of 1 meter */ 00098 PhnPDPAUncert1_5_M, /**< Standard deviation of 1.5 meters */ 00099 PhnPDPAUncert2_M, /**< Standard deviation of 2 meters */ 00100 PhnPDPAUncert3_M, /**< Standard deviation of 3 meters */ 00101 PhnPDPAUncert4_M, /**< Standard deviation of 4 meters */ 00102 PhnPDPAUncert6_M, /**< Standard deviation of 6 meters */ 00103 PhnPDPAUncert8_M, /**< Standard deviation of 8 meters */ 00104 PhnPDPAUncert12_M, /**< Standard deviation of 12 meters */ 00105 PhnPDPAUncert16_M, /**< Standard deviation of 16 meters */ 00106 PhnPDPAUncert24_M, /**< Standard deviation of 24 meters */ 00107 PhnPDPAUncert32_M, /**< Standard deviation of 32 meters */ 00108 PhnPDPAUncert48_M, /**< Standard deviation of 48 meters */ 00109 PhnPDPAUncert64_M, /**< Standard deviation of 64 meters */ 00110 PhnPDPAUncert96_M, /**< Standard deviation of 96 meters */ 00111 PhnPDPAUncert128_M, /**< Standard deviation of 128 meters */ 00112 PhnPDPAUncert192_M, /**< Standard deviation of 192 meters */ 00113 PhnPDPAUncert256_M, /**< Standard deviation of 256 meters */ 00114 PhnPDPAUncert384_M, /**< Standard deviation of 384 meters */ 00115 PhnPDPAUncert512_M, /**< Standard deviation of 512 meters */ 00116 PhnPDPAUncert768_M, /**< Standard deviation of 768 meters */ 00117 PhnPDPAUncert1024_M, /**< Standard deviation of 1,024 meters */ 00118 PhnPDPAUncert1536_M, /**< Standard deviation of 1,536 meters */ 00119 PhnPDPAUncert2048_M, /**< Standard deviation of 2,048 meters */ 00120 PhnPDPAUncert3072_M, /**< Standard deviation of 3,072 meters */ 00121 PhnPDPAUncert4096_M, /**< Standard deviation of 4,096 meters */ 00122 PhnPDPAUncert6144_M, /**< Standard deviation of 6,144 meters */ 00123 PhnPDPAUncert8192_M, /**< Standard deviation of 8,192 meters */ 00124 PhnPDPAUncert12288_M, /**< Standard deviation of 12,2288 meters */ 00125 PhnPDPAUncertGREATER_12288_M, /**< Standard deviation that is greater than 12,288 meters */ 00126 PhnPDPAUncertNOT_COMPUTABLE_M, /**< Standard deviation is not computable */ 00127 PhnPDPAUncertMAX 00128 } PhnPDPAUncerttype;
| enum PhnPDPReadAck |
| phnPDPReadOK | |
| phnPDPReadInvalidIndex | |
| phnPDPReadNotAllowedAtIndex | |
| phnPDPReadIndexNotSet | |
| phnPDPReadInternalModemErr |
Definition at line 212 of file HsPhoneCDMATypes.h.
00213 { 00214 phnPDPReadOK, /**< */ 00215 phnPDPReadInvalidIndex, /**< */ 00216 phnPDPReadNotAllowedAtIndex, /**< */ 00217 phnPDPReadIndexNotSet, /**< */ 00218 phnPDPReadInternalModemErr /**< */ 00219 }PhnPDPReadAck;
| enum PhnPDPWriteAck |
Definition at line 188 of file HsPhoneCDMATypes.h.
00189 { 00190 00191 phnPDPWriteOK, /**< */ 00192 phnPDPWriteInvalidIndex, /**< */ 00193 phnPDPWriteIndexInUse, /**< */ 00194 phnPDPWriteNotAllowedAtIndex, /**< */ 00195 phnPDPWriteInvalidNAILen, /**< */ 00196 phnPDPWriteInvalidNAIName, /**< */ 00197 phnPDPWriteDuplicateNAI, /**< */ 00198 phnPDPWriteInvalidAAALen, /**< */ 00199 phnPDPInvalidHALen, /**< */ 00200 phnPDPWriteInvalidSvcStrLen, /**< */ 00201 phnPDPWriteInvalidDialStrLen, /**< */ 00202 phnPDPWriteIndexNotPrevSet, /**< */ 00203 phnPDPWriteInternalModemErr /**< */ 00204 00205 }PhnPDPWriteAck;
| Top | Palm Developer Network © 2004-2008, Palm, Inc. All rights reserved. Generated on Fri Jun 13 10:07:14 2008 for Palm API Guide |