Debugging#
Functions#
Return Wi-Fi operational statistics.
Start collecting statistical data.
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.
[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:
sl_wifi_init should be called before this API.
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
1114
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.
[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:
sl_wifi_init should be called before this API.
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
1129
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.
[in] | interface | Wi-Fi interface as identified by sl_wifi_interface_t |
Pre-conditions:
sl_wifi_start_statistic_report should be called before this API.
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
1142
of file components/protocol/wifi/inc/sl_wifi.h