Generic Wi-Fi interface information structure.

Public Attributes#

uint16_t

WLAN state: 1 = connected, 0 = disconnected in station mode; number of stations connected in AP mode.

uint16_t

Channel number of connected AP in station mode; channel number of the module in AP mode.

uint8_t

SSID of connected AP in station mode; SSID of the module in AP mode.

uint8_t

Security type of connected AP is supported in station mode, but not in AP mode.

uint8_t

PSK for AP mode, PMK for station mode.

uint8_t

BSSID address of connected AP in station mode; not supported in AP mode.

uint8_t

Wireless mode used in connected AP (6 - AX, 4 - N, 3 - G, 1 - B) in station mode; not supported in AP mode.

uint8_t

MAC address of the module.

Public Attribute Documentation#

wlan_state#

uint16_t sl_wifi_interface_info_t::wlan_state

WLAN state: 1 = connected, 0 = disconnected in station mode; number of stations connected in AP mode.


channel_number#

uint16_t sl_wifi_interface_info_t::channel_number

Channel number of connected AP in station mode; channel number of the module in AP mode.


ssid#

uint8_t sl_wifi_interface_info_t::ssid[SL_WIFI_SSID_LEN]

SSID of connected AP in station mode; SSID of the module in AP mode.


sec_type#

uint8_t sl_wifi_interface_info_t::sec_type

Security type of connected AP is supported in station mode, but not in AP mode.


psk_pmk#

uint8_t sl_wifi_interface_info_t::psk_pmk[SL_WIFI_MAX_PSK_LENGTH]

PSK for AP mode, PMK for station mode.


bssid#

uint8_t sl_wifi_interface_info_t::bssid[SL_WIFI_BSSID_LENGTH]

BSSID address of connected AP in station mode; not supported in AP mode.


wireless_mode#

uint8_t sl_wifi_interface_info_t::wireless_mode

Wireless mode used in connected AP (6 - AX, 4 - N, 3 - G, 1 - B) in station mode; not supported in AP mode.


mac_address#

uint8_t sl_wifi_interface_info_t::mac_address[SL_WIFI_MAC_ADDRESS_LENGTH]

MAC address of the module.