Getauthenticationmode(); Getbssid() - Intermec 751G User Manual

Color mobile computer
Hide thumbs Also See for 751G:
Table of Contents

Advertisement

Chapter 3 — Configuring the Computer
Syntax
UINT GetAuthenticationMode( ULONG & );
Parameters
NDIS_RADIO_AUTH_MODE_OPEN
NDIS_RADIO_AUTH_MODE_SHARED
NDIS_RADIO_AUTH_MODE_AUTO
NDIS_RADIO_AUTH_MODE_ERROR
NDIS_RADIO_AUTH_MODE_WPA
NDIS_RADIO_AUTH_MODE_WPA_PSK
NDIS_RADIO_AUTH_MODE_WPA_NONE WPA None
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 is only valid if ERROR_SUCCESS is returned. Also, if ERROR_SUCCESS is returned, your
USHORT reference is populated with one of the parameters listed above.
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_GetAuthenticationMode)(ULONG &);
#else
UINT GetAuthenticationMode(ULONG &);
#endif
80

GetAuthenticationMode()

Call this function to obtain the radio's current authentication mode.

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,
and serves as the ID for the IBSS.
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:
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_GetBSSID)(TCHAR *);
#else
UINT GetBSSID(TCHAR *);
#endif
802.11b/g Open Authentication. Indicates that the
radio is using an open system.
802.11b/g Shared Authentication. Indicates that the
radio is using a shared key.
Auto switch between Open/Shared. Indicates
automatic detection is used when available.
Defined as error value. Indicates the authentication
mode was not determined at this time or is
unknown.
WPA Authentication
WPA Preshared Key Authentication
xx-xx-xx-xx-xx-xx
751G Color Mobile Computer User's Manual

Advertisement

Table of Contents
loading

Table of Contents