Debugging#

Functions#

sl_status_t
sl_wifi_get_statistics(sl_wifi_interface_t interface, sl_wifi_statistics_t *statistics)

Return Wi-Fi operational statistics.

sl_status_t
sl_wifi_get_operational_statistics(sl_wifi_interface_t interface, sl_wifi_operational_statistics_t *operational_statistics)

Return Wi-Fi operational statistics.

sl_status_t
sl_wifi_start_statistic_report(sl_wifi_interface_t interface, sl_wifi_channel_t channel)

Start collecting statistical data.

sl_status_t
sl_wifi_stop_statistic_report(sl_wifi_interface_t interface)

Stop collecting statistical data.

Function Documentation#

sl_wifi_get_statistics#

sl_status_t sl_wifi_get_statistics (sl_wifi_interface_t interface, sl_wifi_statistics_t * statistics)

Return Wi-Fi operational statistics.

Parameters
[in]interface

Wi-Fi interface as identified by sl_wifi_interface_t

[out]statistics

sl_wifi_statistics_t object that contains Wi-Fi statistics.

  • Pre-conditions:

Returns


Definition at line 1209 of file components/protocol/wifi/inc/sl_wifi.h

sl_wifi_get_operational_statistics#

sl_status_t sl_wifi_get_operational_statistics (sl_wifi_interface_t interface, sl_wifi_operational_statistics_t * operational_statistics)

Return Wi-Fi operational statistics.

Parameters
[in]interface

Wi-Fi interface as identified by sl_wifi_interface_t

[out]operational_statistics

sl_wifi_operational_statistics_t object that contains Wi-Fi statistics.

  • Pre-conditions:

Returns


Definition at line 1224 of file components/protocol/wifi/inc/sl_wifi.h

sl_wifi_start_statistic_report#

sl_status_t sl_wifi_start_statistic_report (sl_wifi_interface_t interface, sl_wifi_channel_t channel)

Start collecting statistical data.

Parameters
[in]interface

Wi-Fi interface as identified by sl_wifi_interface_t

[in]channel

Provides the statistics report on the channel specified by sl_wifi_channel_t.

  • Pre-conditions:

Returns


Definition at line 1240 of file components/protocol/wifi/inc/sl_wifi.h

sl_wifi_stop_statistic_report#

sl_status_t sl_wifi_stop_statistic_report (sl_wifi_interface_t interface)

Stop collecting statistical data.

Parameters
[in]interface

Wi-Fi interface as identified by sl_wifi_interface_t

Returns


Definition at line 1253 of file components/protocol/wifi/inc/sl_wifi.h