How Do I Programmatically Turn the PPT88x6 WLAN Radio On/Off?

Article ID: 44667353

Question

How Do I Programmatically Turn the PPT88x6 WLAN Radio On/Off?

Facts

PPT8866 WM 2003 running images from DCP1.3

Answer

The WLAN radio of the PPT88x6 (Windows Mobile 2003 DCP 1.3 image) can be programmatically turned on or off.
Fact
In addition to being a control panel applet (which you will see on the settings page of the device), WLANCtrl.cpl
also exports two functions, which can be called from a user application:
  • WLANAdapterStatus() - to get the current status of the adapter
  • WLANAdapterControl() - to set the enabled state of the adapter
A header file (WLANCtrl.h) and an import library (WLANCtrl.lib) are provided to facilitate use of the two API's.
See the header file for more information on how to call the APIs. You can get these files from C:\Program Files\Symbol Device Configuration Packages\PPT8800w\v1.3\Flash Folders\Add-ons\WLANCtrl within DCP v1.3