Intermec 751G SetNetworkMode, SetPowerMode, Call this function to set the desired Network Mode

Models: 751G

1 156
Download 156 pages 8.92 Kb
Page 104
Image 104

Chapter 3 — Configuring the Computer

SetNetworkMode()

Call this function to set the desired Network Mode.

Syntax

UINT SetNetworkMode( ULONG );

Parameters

NDIS_NET_MODE_IBSS

802.11b/g Ad–Hoc Mode.

 

NDIS_NET_MODE_ESS

802.11b/g Infrastructure Mode.

 

 

 

 

NDIS_NET_MODE_UNKNOWN

Anything Else/Unknown Error

 

NDIS_NET_AUTO_UNKNOWN

Automatic Selection.Using this is not supported or recommended

 

 

 

 

NDIS_NET_TYPE_OFDM_5G

5 Gigahertz 54 Mbps

 

NDIS_NET_TYPE_OFDM_2_4G

802.11b/g 2.4 Gigahertz

 

 

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_SetNetworkMode)(ULONG);

 

#else

 

 

UINT SetNetworkMode(ULONG);

 

 

#endif

 

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: 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

None.

 

Definitions

#ifdef DYNAMIC_LOADING

 

typedef UINT (*PFN_SetPowerMode)(ULONG mode); #else

UINT SetPowerMode(ULONG mode); #endif

90

751G Color Mobile Computer User’s Manual

Page 104
Image 104
Intermec 751G user manual SetNetworkMode, SetPowerMode, Call this function to set the desired Network Mode