User's Manual Part 1
Network SupportChapter —4
102 700 Series Color Mobile Computer User’s Manual
GetLinkSpeed()
Retrieves the current link speed of the radio connection.
Syntax: UINT GetLinkSpeed( int & );
Parameters: & References an integer.
Returns: ERROR_SUCCESS when successful,
ERR_QUERY_FAILED when the query failed, or
ERR_CONNECT_FAILED if a connection with the radio failed.
GetNetworkType()
Retrieves the network type.
Syntax:
UINT GetNetworkType( ULONG & );
Parameters: & References a ULONG value, populated with one of the following:
NDIS_NET_TYPE_FH Frequency Hopping Radio
NDIS_NET_TYPE_DS Direct Sequence Radio
NDIS_NET_TYPE_UNDEFINED
Unknown or information not available.
Returns: ERROR_SUCCESS when successful,
ERR_QUERY_FAILED when the query failed, or
ERR_CONNECT_FAILED if a connection with the radio failed.
GetTXPower()
Gets the current TX power of the radio in milliwatts.
Syntax:
UINT GetTXPower( ULONG & );
Parameters: & References a ULONG value, populated with one of the following
in milliwatts (mW):
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.
Returns: ERROR_SUCCESS when successful,
ERR_QUERY_FAILED when the query failed, or
ERR_CONNECT_FAILED if a connection with the radio failed.