User's Manual Part 1

Network SupportChapter 4
103700 Series Color Mobile Computer User’s Manual
GetNetworkMode()
Retrieves the network mode.
Syntax: UINT GetNetworkMode( ULONG & );
Parameters: & References a ULONG value, populated with one of the following:
NDIS_NET_MODE_IBSS 802.11 Ad-Hoc Mode.
NDIS_NET_MODE_ESS 802.11 Infrastructure Mode.
NDIS_NET_MODE_UNKNOWN Unknown Value or Error.
NDIS_NET_AUTO_UNKNOWN
Automatic Selection. Use of this option is not recommended.
Returns: ERROR_SUCCESS when successful,
ERR_QUERY_FAILED when the query failed, or
ERR_CONNECT_FAILED if a connection with the radio failed.
SetNetworkMode()
Sets the radio and updates the CE registry.
Syntax:
UINT SetNetworkMode( ULONG & );
Parameters: & References a ULONG value, populated with one of the values defined
in GetNetworkMode().
Returns: ERROR_SUCCESS when successful,
ERR_QUERY_FAILED when the query failed, or
ERR_CONNECT_FAILED if a connection with the radio failed.
AddWep()
Adds a WEP key to the radio configuration.
Syntax:
UINT AddWep( ULONG 1, BOOL 2, TCHAR * 3 );
Parameters: ULONG Pointer that identifies what key to be set.
BOOL Specifies whether the key being set is the default TX key.
TCHAR Pointer that specifies the key data either in hex (string
lengths of 10 or 26) or ASCII (string lengths of 5 or 13).
Returns: ERROR_SUCCESS when successful,
ERR_QUERY_FAILED when the query failed, or
ERR_CONNECT_FAILED if a connection with the radio failed.
GetRSSI()
Sets the current RSSI (Received Signal Strength Indication).
Syntax:
UINT GetRSSI( ULONG & );
Parameters: & References a ULONG value.
Returns: ERROR_SUCCESS when successful,
ERR_QUERY_FAILED when the query failed, or
ERR_CONNECT_FAILED if a connection with the radio failed.