pub unsafe extern "C" fn esp_wifi_connectionless_module_set_wake_interval(
wake_interval: u16,
) -> i32
Expand description
@brief Set wake interval for connectionless modules to wake up periodically.
@attention 1. Only one wake interval for all connectionless modules. @attention 2. This configuration could work at connected status. When ESP_WIFI_STA_DISCONNECTED_PM_ENABLE is enabled, this configuration could work at disconnected status. @attention 3. Event WIFI_EVENT_CONNECTIONLESS_MODULE_WAKE_INTERVAL_START would be posted each time wake interval starts. @attention 4. Recommend to configure interval in multiples of hundred. (e.g. 100ms) @attention 5. Recommend to configure interval to ESP_WIFI_CONNECTIONLESS_INTERVAL_DEFAULT_MODE to get stable performance at coexistence mode.
@param wake_interval Milliseconds after would the chip wake up, from 1 to 65535.