User's Manual
Programming—Chapter 7
281700 Series Color Mobile Computer User’s Manual
SetPowerMode()
Call this function to set the desired power mode.
Syntax
UINT SetPowerMode( ULONG mode );
Parameters
NDIS_RADIO_POWER_MODE_CAM Continuous Access Mode (ie: al-
ways on).
NDIS_RADIO_POWER_MODE_PSP Power Saving Mode.
NDIS_RADIO_POWER_UNKNOWN Unknown power mode.
NDIS_RADIO_POW ER_AUTO Auto. (Available for 730 Mobile
Computers)
NDIS_RADIO_POWER_MODE_FAST_PSP Fast PSP, good savings, fast
Return Values
ERROR_SUCCESS when successful,
ERR_QUERY_FAILED when the query failed, or
ERR_CONNECT_FAILED if a connection with the radio failed.
Remarks
None.
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_SetPowerMode)(ULONG mode);
#else
UINT SetPowerMode(ULONG mode);
#endif