Function esp_idf_sys::esp_now_set_wake_window
source ยท pub unsafe extern "C" fn esp_now_set_wake_window(
window: u16,
) -> esp_err_t
Expand description
@brief Set wake window for esp_now to wake up in interval unit
@param window Milliseconds would the chip keep waked each interval, from 0 to 65535.
@attention 1. This configuration could work at connected status. When ESP_WIFI_STA_DISCONNECTED_PM_ENABLE is enabled, this configuration could work at disconnected status. @attention 2. Default value is the maximum.
@return - ESP_OK : succeed - ESP_ERR_ESPNOW_NOT_INIT : ESPNOW is not initialized