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;

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.

Calling wifi_set_sta_power(false) will turn off WLAN radio power.

WIFI_STATUS_BUSY
The device is not in client STA mode and cannot be controlled using this API.

Library:

libwifi

Description:

This enumeration defines the values of Wi-Fi status.

Last modified: 2013-12-21

comments powered by Disqus