API Guide Home
(Online version only)

HsPhoneGSMTypes.h File Reference


Detailed Description

Header File for Phone Library API ---- NETWORK CATEGORY.

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 GSM category. These API calls are used to interact with the wireless network.

Definition in file HsPhoneGSMTypes.h.

Include dependency graph for HsPhoneGSMTypes.h:

Go to the source code of this file.

Data Structures

Defines

Special response values for PhnSATEventGetInkey (besides a single character)

Typedefs

Enumerations


Define Documentation

#define GSMLibRingsDbName   "System Ring Tones"

Name of GSM RingTone DB

Definition at line 63 of file HsPhoneGSMTypes.h.

#define GSMLockSelectorOperatorLock   ('PN')

Definition at line 41 of file HsPhoneGSMTypes.h.

#define GSMLockSelectorProviderLock   ('PP')

Definition at line 42 of file HsPhoneGSMTypes.h.

#define isValidGSMSATEventSetupCallCallTypeEnum (  )     ((x >= phnSATEventSetupCallCallTypeVoice) && (x <= phnSATEventSetupCallCallTypeFax))

Definition at line 357 of file HsPhoneGSMTypes.h.

#define isValidGSMSATEventToneTypeEnum (  )     (((x >= phnSATEventToneTypeDial) && (x <= phnSATEventToneTypeNegativeBeep)) || (x == phnSATEventToneTypeNoneSpecified))

Definition at line 332 of file HsPhoneGSMTypes.h.

#define isValidGSMSIMMessagesDialogKind (  )     ((d >= gsmMessagesConfirmMove) && (d <= gsmMessagesCantReceive))

Definition at line 248 of file HsPhoneGSMTypes.h.

#define isValidPhnGPRSPDPType (  )     ((t >= phnGPRSPDPTypeIP) && (t <= phnGPRSPDPTypePPP))

Definition at line 199 of file HsPhoneGSMTypes.h.

#define isValidPhnGPRSQOSType (  )     ((t >= kGPRSQOSTypeRequired) && (t <= kGPRSQOSTypeMinimum))

Definition at line 212 of file HsPhoneGSMTypes.h.

#define isValidSATNotificationType (  ) 

Value:

(((s >= kSATMainMenuAvailable) && (s <= kSATSendUSSD)) \
              || (s == kSATTimeout) || (s == kSATSessionEnd))

Definition at line 164 of file HsPhoneGSMTypes.h.

#define kLineNumberUnknown   0

Definition at line 67 of file HsPhoneGSMTypes.h.

#define phnNetPrefGPRSPDPContextID   1

Definition at line 52 of file HsPhoneGSMTypes.h.

#define phnSATInkeyResponseValueNo   ((UInt32)'NO__')

Definition at line 297 of file HsPhoneGSMTypes.h.

#define phnSATInkeyResponseValueYes   ((UInt32)'YES_')

Definition at line 296 of file HsPhoneGSMTypes.h.


Typedef Documentation

Definition at line 289 of file HsPhoneGSMTypes.h.

Definition at line 355 of file HsPhoneGSMTypes.h.

Definition at line 280 of file HsPhoneGSMTypes.h.

Definition at line 258 of file HsPhoneGSMTypes.h.

Definition at line 344 of file HsPhoneGSMTypes.h.

Definition at line 310 of file HsPhoneGSMTypes.h.

Definition at line 330 of file HsPhoneGSMTypes.h.

Definition at line 246 of file HsPhoneGSMTypes.h.

Definition at line 197 of file HsPhoneGSMTypes.h.

Definition at line 210 of file HsPhoneGSMTypes.h.

Definition at line 118 of file HsPhoneGSMTypes.h.

Definition at line 144 of file HsPhoneGSMTypes.h.

Definition at line 174 of file HsPhoneGSMTypes.h.

Definition at line 186 of file HsPhoneGSMTypes.h.

Definition at line 106 of file HsPhoneGSMTypes.h.

Definition at line 162 of file HsPhoneGSMTypes.h.


Enumeration Type Documentation

Enumerator:
phnSATEventInputEchoModeShowInput  Show input as entered
phnSATEventInputEchoModeHideInput  Display bullets or boxes instead of entered characters

Definition at line 285 of file HsPhoneGSMTypes.h.

00294    {*/

Possible values of serviceType for PhnSATEventDataSvc

Enumerator:
phnSATEventDataSvcTypeOpenChannel 
phnSATEventDataSvcTypeSendData 
phnSATEventDataSvcTypeRcvData 
phnSATEventDataSvcTypeCloseChannel 

Definition at line 349 of file HsPhoneGSMTypes.h.

Possible values of format for PhnSATEventGetInkey and PhnSATEventGetInput

Enumerator:
phnSATEventInputFormatDigit  Get Inkey or Get Input 0-9, #, *, or +
phnSATEventInputFormatSMSChar  Get Inkey or Get Input SMS character set
phnSATEventInputFormatUCS2  Get Inkey or Get Input
phnSATEventInputFormatUnpacked  Get Input only
phnSATEventInputFormatPacked  Get Input only
phnSATEventInputFormatYesNo  Get Inkey or Get Input
phnSATEventInputFormatUnknown  KEEP THIS ONE AT THE END

Definition at line 264 of file HsPhoneGSMTypes.h.

00284                                   {

Enumerator:
phnSATEventMenuFlagHelp  help is available
phnSATEventMenuFlagNextAct  nextAction is valid

Definition at line 253 of file HsPhoneGSMTypes.h.

00263                                  {

Possible values of callType for PhnSATEventSetupCall

Enumerator:
phnSATEventSetupCallCallTypeVoice  SIM wants to set up a voice call
phnSATEventSetupCallCallTypeData  SIM wants to set up a data call
phnSATEventSetupCallCallTypeFax  SIM wants to set up a fax

Definition at line 338 of file HsPhoneGSMTypes.h.

00348                             {

Possible values of timeUnit for PhnSATEventPlayTone

Enumerator:
phnSATEventToneTimeUnitMinutes  Duration specified in minutes
phnSATEventToneTimeUnitSeconds  Duration specified in seconds
phnSATEventToneTimeUnitDeciSeconds  Duration specified in 1/10 seconds

Definition at line 304 of file HsPhoneGSMTypes.h.

00314                               {

Possible values of toneType for PhnSATEventPlayTone

Enumerator:
phnSATEventToneTypeNoneSpecified  Means just do a normal beep...
phnSATEventToneTypeDial 
phnSATEventToneTypeBusy 
phnSATEventToneTypeCongestion 
phnSATEventToneTypeRadioAck 
phnSATEventToneTypeDropped 
phnSATEventToneTypeError 
phnSATEventToneTypeCallWaiting 
phnSATEventToneTypeRinging 
phnSATEventToneTypeGeneralBeep 
phnSATEventToneTypePositiveBeep 
phnSATEventToneTypeNegativeBeep 

Definition at line 315 of file HsPhoneGSMTypes.h.

00337                                        {

Enumerator:
gsmMessagesConfirmMove 
gsmMessagesCantReceive 

Definition at line 242 of file HsPhoneGSMTypes.h.

00252                           {

Enumerator:
phnGPRSPDPTypeIP 
phnGPRSPDPTypePPP 

Definition at line 191 of file HsPhoneGSMTypes.h.

00191 {
00192   phnGPRSPDPTypeIP = 1,         /**<        */
00193   phnGPRSPDPTypePPP = 2         /**<        */
00194 } _PhnGPRSPDPType;
00195 

Enumerator:
kGPRSQOSTypeRequired 
kGPRSQOSTypeMinimum 

Definition at line 204 of file HsPhoneGSMTypes.h.

00204 {
00205   kGPRSQOSTypeRequired = 1,     /**<        */
00206   kGPRSQOSTypeMinimum = 2       /**<        */
00207 } _PhnGPRSQOSType;
00208 

decision we are sending to SIM

Enumerator:
kSATSessionAborted 
kSATItemSelected 
kSATHelpRequested 
kSATNavigateBack 

Definition at line 111 of file HsPhoneGSMTypes.h.

00111              {
00112     kSATSessionAborted,     /**<        */
00113     kSATItemSelected,       /**<        */
00114     kSATHelpRequested,      /**<        */
00115     kSATNavigateBack        /**<        */
00116 } _SATDecisionType;

type of notification sent by SAT

Enumerator:
kSATMainMenuAvailable 
kSATDisplayText 
kSATGetInkey 
kSATGetInput 
kSATSetupCall 
kSATPlayTone 
kSATDisplaySubmenus 
kSATRefresh  application do not get this notification
kSATSendSS 
kSATSendSMS 
kSATSendUSSD 
kSATLaunchBrowser 
kSATIdleModeText 
kSATRunAT 
kSATDataSvc 
kSATSendDTMF 
kSATTimeout 
kSATSessionEnd 

Definition at line 123 of file HsPhoneGSMTypes.h.

00123              {
00124     kSATMainMenuAvailable,      /**<        */
00125     kSATDisplayText,        /**<        */
00126     kSATGetInkey,           /**<        */
00127     kSATGetInput,           /**<        */
00128     kSATSetupCall,          /**<        */
00129     kSATPlayTone,           /**<        */
00130     kSATDisplaySubmenus,        /**<        */
00131     kSATRefresh,            /**< application do not get this notification */
00132     kSATSendSS,         /**<        */
00133     kSATSendSMS,            /**<        */
00134     kSATSendUSSD,           /**<        */
00135     kSATLaunchBrowser,          /**<        */
00136     kSATIdleModeText,           /**<        */
00137     kSATRunAT,          /**<        */
00138     kSATDataSvc,            /**<        */
00139     kSATSendDTMF,           /**<        */
00140     kSATTimeout     = 98,   /**<        */
00141     kSATSessionEnd  = 99        /**<        */
00142 } _SATNotificationType;

Enumerator:
kSATEFSimPhoneBook 

Definition at line 168 of file HsPhoneGSMTypes.h.

00168 {
00169   kSATEFSimPhoneBook = 0x00000001
00170    
00171 }_SATRefreshFile;
00172 

Enumerator:
kSATInitWithFullFileChange 
kSATFileChange 
kSATInitWithFileChange 
kSATInit 
kSATSIMReset 
kSATMax 

Definition at line 176 of file HsPhoneGSMTypes.h.

00176 {
00177   kSATInitWithFullFileChange,
00178   kSATFileChange,
00179   kSATInitWithFileChange,
00180   kSATInit,
00181   kSATSIMReset,
00182   kSATMax
00183 }_SATRefreshType;
00184 

SIM Application Toolkit's data types type of request/respond we are sending

Enumerator:
kSATSelectMainMenuItem 
kSATClearText 
kSATSetInkey 
kSATSetInput 
kSATMakeCall 
kSATSelectItem 
kSATReqLaunchBrowser 
kSATReqIdleModeText 
kSATReqDataSrv 
kSATReqPlayTone 
kSATReqRefresh 
kSATCancel 
kSATUnknownNotification 
kSATApplicationBusy 
kSATUserNotResponse 
kSATEndSession 
kSATReqSendDTMF 

Definition at line 86 of file HsPhoneGSMTypes.h.

00086              {
00087     kSATSelectMainMenuItem,     /**<        */
00088     kSATClearText,          /**<        */
00089     kSATSetInkey,           /**<        */
00090     kSATSetInput,           /**<        */
00091     kSATMakeCall,           /**<        */
00092     kSATSelectItem = 6,     /**<        */
00093     kSATReqLaunchBrowser,       /**<        */
00094     kSATReqIdleModeText, 
00095     kSATReqDataSrv, 
00096     kSATReqPlayTone,            /**<        */
00097     kSATReqRefresh,         /**<        */
00098     kSATCancel     = 95,    /**<        */
00099     kSATUnknownNotification,    /**<        */
00100     kSATApplicationBusy,        /**<        */
00101     kSATUserNotResponse,        /**<        */
00102     kSATEndSession,         /**<        */
00103     kSATReqSendDTMF         /**<        */
00104 } _SATRequestType;

Enumerator:
kSATSetupCallModeNotBusy 
kSATSetupCallWithRedialModeNotBusy 
kSATSetupCallHoldOtherCalls 
kSATSetupCallWithRedialHoldOtherCalls 
kSATSetupCallDisconnectOtherCalls 
kSATSetupCallWithRedialDisconnectOtherCalls 
kSATSetupCallMax 

Definition at line 150 of file HsPhoneGSMTypes.h.


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