User's Manual
Programming—Chapter 7
271700 Series Color Mobile Computer User’s Manual
GetTXPower()
Call this function to get the current transmit power of the radio.
Syntax
UINT GetTXPower( ULONG & );
Parameters
NDIS_POWER_LEVEL_63 63 mW
NDIS_POWER_LEVEL_30 30 mW
NDIS_POWER_LEVEL_15 15 mW
NDIS_POWER_LEVEL_5 5mW
NDIS_POWER_LEVEL_1 1mW
NDIS_POWER_LEVEL_UNKNOWN Unknown Value or Error.
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 is populated
with the TX power in milliwatts (mW). Valid ranges are from 5 mW to
100 mW.
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_GetTXPower)(ULONG &);
#else
UINT GetTXPower(ULONG &);
#endif