Wi-Fi module state statistics.

Public Attributes#

uint32_t

Timestamp. This is the value of the counter at the time of message. This counter is continuously incremented by one per 100ms time.

uint8_t

State code. This field indicates the state of the module. State code contains two parts (upper and lower nibbles). Upper nibble represents the state of rejoin process, and the lower nibble of state code represents the StateCode.

uint8_t

Reason code. This is used to get the reason code from firmware point of view.

uint8_t

Channel number. If the value of the channel is 0, channel information is not available. In State-I, this represents the channel of association or Invalid if it is startup. In State-II, this represents the channel of next association if module finds better AP in bgscan result. In State-III, this represents the channel at the time of association.

uint8_t

RSSI VALUE. If value of rssi is 100, RSSI information is not available. In State-I, this represents the RSSI of AP at the time of trigger. In State-II, this represent the RSSI of next association. In State-III, this represents the RSSI at the time of final association.

uint8_t

BSSID of AP. If the value of AP BSSID is 00:00:00:00:00:00, MAC information is not available. In State-I, it represents the MAC of AP at the time of scan trigger. In State-II, this represents the MAC of next association. In State-III, this represents the MAC at the time of association.

Public Attribute Documentation#

timestamp#

uint32_t sl_wifi_module_state_stats_response_t::timestamp

Timestamp. This is the value of the counter at the time of message. This counter is continuously incremented by one per 100ms time.


state_code#

uint8_t sl_wifi_module_state_stats_response_t::state_code

State code. This field indicates the state of the module. State code contains two parts (upper and lower nibbles). Upper nibble represents the state of rejoin process, and the lower nibble of state code represents the StateCode.


reason_code#

uint8_t sl_wifi_module_state_stats_response_t::reason_code

Reason code. This is used to get the reason code from firmware point of view.


channel#

uint8_t sl_wifi_module_state_stats_response_t::channel

Channel number. If the value of the channel is 0, channel information is not available. In State-I, this represents the channel of association or Invalid if it is startup. In State-II, this represents the channel of next association if module finds better AP in bgscan result. In State-III, this represents the channel at the time of association.


rssi#

uint8_t sl_wifi_module_state_stats_response_t::rssi

RSSI VALUE. If value of rssi is 100, RSSI information is not available. In State-I, this represents the RSSI of AP at the time of trigger. In State-II, this represent the RSSI of next association. In State-III, this represents the RSSI at the time of final association.


bssid#

uint8_t sl_wifi_module_state_stats_response_t::bssid[6]

BSSID of AP. If the value of AP BSSID is 00:00:00:00:00:00, MAC information is not available. In State-I, it represents the MAC of AP at the time of scan trigger. In State-II, this represents the MAC of next association. In State-III, this represents the MAC at the time of association.