Intermec 751G user manual Uint GetPowerMode Ulong

Models: 751G

1 156
Download 156 pages 8.92 Kb
Page 98
Image 98

Chapter 3 — Configuring the Computer

GetPowerMode()

Call this function to get the current power savings mode of the radio. Note:

Do not use Automatic Switching mode at this time.

Syntax

UINT GetPowerMode( ULONG & );

 

Parameters

NDIS_RADIO_POWER_MODE_CAM

Continuous Access Mode (ie: always on).

 

NDIS_RADIO_POWER_MODE_PSP

Power Saving Mode.

 

 

 

 

NDIS_RADIO_POWER_UNKNOWN

Unknown power mode.

 

NDIS_RADIO_POWER_AUTO

Auto.

 

 

 

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

If ERROR_SUCCESS is returned, the ULONG reference is populated with a parameter listed above.

Definitions

#ifdef DYNAMIC_LOADING

 

typedef UINT (*PFN_GetPowerMode)(ULONG &);

 

#else

 

UINT GetPowerMode(ULONG &);

 

#endif

GetRSSI()

Call this function to get the current RSSI (Radio Signal Strength

Indicator), in Dbm.

Syntax

UINT GetRSSI( ULONG & );

Parameters

References a ULONG populated with current RSSI after a successful call.

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

If ERROR_SUCCESS is returned, your ULONG reference contains the

 

RSSI. Valid RSSI range is from –100 Dbm to –30 Dbm.

Definitions

#ifdef DYNAMIC_LOADING

 

typedef UINT (*PFN_GetRSSI)(ULONG &);

 

#else

 

UINT GetRSSI(ULONG &);

 

#endif

84

751G Color Mobile Computer User’s Manual

Page 98
Image 98
Intermec 751G user manual Uint GetPowerMode Ulong