Looking For an API to Detect Radio Off Condition for Centrino WLANs


Challenge

Looking for a proper programmatic way to detect a "Radio off" (HW button) condition for Centrino WLANs (Intel Pro/Wireless): Is there an official API available or a documented way to query the driver using OIDs?


Solution

The Intel® Mobile Platform SDK supports this capability (See the product web site at:  http://software.intel.com/en-us) The API you will want to look at are the RadioAdapterInstance.HardwareRadioDisabled and RadioAdapterInstance.HardwareRadioEnabled events. When the radio is turned off by the user by pressing the hardware button the HardwareRadioDisabled event is triggered and when the user turns the radio on the HardwareRadioEnabled event is triggered.

The Intel® Mobile Platform SDK can be downloaded from the Intel Mobile Platform SDK web site.


Note that the SDK comes with sample code and a programmer's guide to quickly help developers write applications using C++, Java and C#/.Net.

For more complete information about compiler optimizations, see our Optimization Notice.
Categories: