- ESP_OK on success (returned after wakeup) - ESP_ERR_SLEEP_REJECT sleep request is rejected(wakeup source set before the sleep request) - ESP_ERR_SLEEP_TOO_SHORT_SLEEP_DURATION after deducting the sleep flow overhead, the final sleep duration is too short to cover the minimum sleep duration of the chip, when rtc timer wakeup source enabled
Examples
esp_light_sleep_start() is referenced by 4 libraries and example projects: