esp_wifi_sta_get_btwt_num() function
Get number of broadcast TWTs supported by the connected AP
Arguments
btwt_number
store number of btwts supported by the connected AP
Return value
- ESP_OK: succeed - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init - ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start - ESP_ERR_INVALID_ARG: invalid argument