esp_wifi_sta_btwt_get_info() function
Get broadcast TWT information
Arguments
btwt_number
As input param, it stores max btwt number AP supported.
btwt_info
array to hold the btwt information supported by AP, and the array size must be at least as large as the BTWT number.
Return value
- ESP_OK: succeed - ESP_FAIL: fail - ESP_ERR_WIFI_CONN: WiFi internal error, station or soft-AP control block wrong