Intermec CN2B User Manual page 185

Mobile computer
Hide thumbs Also See for CN2B:
Table of Contents

Advertisement

Syntax
UINT SetAuthenticationMode( 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
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
None.
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_SetAuthenticationMode)(ULONG);
#else
UINT SetAuthenticationMode(ULONG);
#endif
CN2B Mobile Computer User's Manual
SetAuthenticationMode()
Call this function to set the desired authentication mode.
SetChannel()
This function is currently not implemented. Ad-hoc networks automati-
cally select a channel or use the already existing channel.
Syntax
UINT SetChannel( USHORT );
Parameters
USHORT value that should populate with the desired channel (1-
14).
Return Values
None.
Remarks
None.
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_SetChannel)(USHORT);
#else
UINT SetChannel(USHORT);
#endif
Chapter 7 — Programming
802.11 Open Authentication. Indicates that
the radio is using an open system.
802.11 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 authenti-
cation mode was not determined at this time or
is unknown.
WPA Authentication
WPA Preshared Key Authentication
WPA None
169

Advertisement

Table of Contents
loading

Table of Contents