User's Manual
ProgrammingChapter —7
264 700 Series Color Mobile Computer U ser’s Manual
GetLinkSpeed()
Call this f u nction to get the current link speed of the 802.11b radio.
Syntax
UINT GetLinkSpeed( int & );
Parameters
This function accepts an int r eference, and your int is populated with the
current link speed, in Mbps, rounded to the nearest whole integer, for ex-
ample: 1, 2, 5, 11, etc.
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
Data returned is valid if ERROR_SUCCESS is returned.
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_GetLinkSpeed)(int &);
#else
UINT GetLinkSpeed(int &);
#endif