esp_wifi_internal_light_sleep_configure() function
Set light sleep mode to require WiFi to enable or disable Advanced DTIM sleep function
Arguments
light_sleep_enable
true for light sleep mode is enabled, false for light sleep mode is disabled.
Return value
- ESP_OK: succeed