esp_wifi_sta_itwt_set_target_wake_time_offset() function
Set time offset with TBTT of target wake time field in itwt setup request frame.
Arguments
offset_us
Offset with TBTT of target wake time field in itwt setup request frame, range is [0, 102400], unit microseconds.
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_ASSOC: WiFi is not associated - ESP_ERR_INVALID_ARG: invalid argument