User's Manual

ProgrammingChapter 7
262 700 Series Color Mobile Computer U ser’s Manual
GetBSSID()
Call this function to get the current MAC address (BSSID) of the service
set. In ESS mode, this is the MAC address of the access point the radio is
associated with. In IBSS mode, this is a randomly generated MAC address,
andservesastheIDfortheIBSS.
Syntax
UINT GetBSSID( TCHAR * );
Parameters
Pointer to a character array, which is populated with the current BSSID
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 TCHAR array is populated with
the BSSID of the current service set: xx-xx-xx-xx-xx-xx
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_GetBSSID)(TCHAR *);
#else
UINT GetBSSID(TCHAR *);
#endif