User's Manual Part 1

Network SupportChapter 4
104 700 Series Color Mobile Computer User’s Manual
GetAssociationStatus()
Gets the curr ent connection, or association status.
Syntax:
UINT GetAssociationStatus( ULONG & );
Parameters: & References a ULONG value, a current connection status as follows:
NDIS_RADIO_ASSOCIATED Radio is associated w/access point.
NDIS_RADIO_SCANNING Radio is scanning for network.
Returns: ERROR_SUCCESS when successful,
ERR_QUERY_FAILED when the query failed, or
ERR_CONNECT_FAILED if a connection with the radio failed.
GetWepStatus()
Gets the curr ent WEP status.
Syntax:
UINT GetWepStatus( ULONG & );
Parameters: & References a ULONG status value which include the following:
NDIS_RADIO_WEP_ENABLED WEP is currently enabled.
NDIS_RADIO_WEP_DISABLED WEP is currently disabled.
NDIS_RADIO_WEP_ABSENT WEP key is absent.
NDIS_RADIO_WEP_NOT_SUPPORTED
WEP is not supported.
Returns: ERROR_SUCCESS when successful,
ERR_QUERY_FAILED when the query failed, or
ERR_CONNECT_FAILED if a connection with the radio failed.
GetAuthenticationMode()
Gets the current authentication mode.
Syntax:
UINT GetAuthenticationMode( ULONG & );
Parameters: & References a ULONG value which include the following current
authentication mode:
NDIS_RADIO_AUTH_MODE_OPEN Open System is in use.
NDIS_RADIO_AUTH_MODE_SHARED Shared Key is in use.
NDIS_RADIO_AUTH_MODE_AUTO Automatic Detection.
NDIS_RADIO_AUTH_MODE_ERROR Unknown value/Error.
Returns: ERROR_SUCCESS when successful,
ERR_QUERY_FAILED when the query failed, or
ERR_CONNECT_FAILED if a connection with the radio failed.
SetAuthenticationMode()
Sets the radio authentication mode with a value defined in the
GetAuthenticationMode() function.
Syntax:
UINT SetAuthenticationMode( ULONG );
Parameters: Passes in a ULONG set to one of the values as defined in
GetAuthenticationMode().
Returns: ERROR_SUCCESS when successful,
ERR_QUERY_FAILED when the query failed, or
ERR_CONNECT_FAILED if a connection with the radio failed.