Debugging#
Functions#
Return Wi-Fi operational statistics.
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/latest/platform-common/status for details.
1242
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.
[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:
sl_wifi_init should be called before this API.
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/latest/platform-common/status for details.
1257
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/latest/platform-common/status for details.
1273
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/latest/platform-common/status for details.
1286
of file components/protocol/wifi/inc/sl_wifi.h