wifi_status_t

Wi-Fi status.

Synopsis:

#include <wifi/wifi_service.h>
 
typedef enum {
      WIFI_STATUS_RADIO_OFF = 0   
      WIFI_STATUS_RADIO_ON = 1   
      WIFI_STATUS_BUSY = 2   
} wifi_status_t;

Since:

BlackBerry 10.0.0

Data:

WIFI_STATUS_RADIO_OFF
The WLAN radio power is off.

Calling wifi_set_sta_power(true) will start the device in client STA mode.

WIFI_STATUS_RADIO_ON
The device is in client STA mode and the WLAN radio is on.
WIFI_STATUS_BUSY
The device is not in client STA mode and cannot be controlled using this API.

Library:

libwifi (For the qcc command, use the -l wifi option to link against this library)

Description:

This enumeration defines the values of Wi-Fi status.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus