Basic Connect/Disconnect Functions - Intermec CN2B User Manual

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

Advertisement

Chapter 7 — Programming
NETWLAN.DLL
This is the 802.11b/g driver. It is present in all CN2B CE loads that use the 802.11b/g network
PRISMNDS.DLL
interface card.
80211API.DLL
This file is an Intermec authored file that provides the programmer with a set of API calls to
configure or monitor status of the 802.11b/g network.
80211CONF.EXE
This is the "Control Panel" for configuring the 802.11b/g network parameters. Note that it is
an EXE file and is actually called by CPL802.CPL (see below).
CPL802.CPL
A control panel application that does nothing but call 80211CONF.EXE.
80211SCAN.EXE
Internally manages the Scan List activity.
802PM.DLL
This handles profile management for radio configurable values.
URODDSVC.EXE
This handles radio configuration and security authentication based on a selected profile.

Basic Connect/Disconnect Functions

Syntax
UINT RadioConnect( );
Parameters
None
Return Values
ERROR_SUCCESS when successful, otherwise ERR_CONNECT_FAILED
Remarks
Call this function before calling other functions found within this API. It hunts out and connects to
the 802.11b/g radio available on the system. Check extended error codes if anything else is returned.
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_RadioConnect)();
#else
UINT RadioConnect();
#endif
158
within their application. The routines provided also reads/writes values to
the CE registry pertaining to the 802.11b/g radio driver. By using the pro-
vided functions, a programmer can alter the 802.11b/g parameters of Net-
work Name (SSID), WEP keys, infrastructure modes, radio channel, and
power management modes. A programmer can also retrieve network con-
nect status and signal strength indication from the RF network card.
The API is contained within the 80211API.DLL file that should be present
in any load with the 802.11b/g networking installed.
The Profile Manager supports up to four radio configuration profiles.
These profiles are the same as those set by the Wireless Network applet that
runs on the Windows CE unit. You can configure different 802.11b/g pro-
files and switch between them using the 802.11 API. See the ConfigurePro-
file() function on page 172 for more information.
These functions are available when using the 802.11b/g radio module.
RadioConnect()
Connects to the available radio. Use this function if you plan on using a lot
of API calls that talk directly to the radio. Note that the 802.11b/g radio
must be enabled via NDISTRAY before you can connect to it.
CN2B Mobile Computer User's Manual

Advertisement

Table of Contents
loading

Table of Contents