esp_wifi_sta_itwt_teardown() function
Tear down individual TWT agreements
Arguments
flow_id
The value range is [0, 7]. FLOW_ID_ALL indicates tear down all individual TWT agreements.
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_WIFI_CONN: WiFi internal error, station or soft-AP control block wrong - ESP_ERR_WIFI_NOT_CONNECT: The station is in disconnect status - ESP_ERR_INVALID_ARG: invalid argument