I'm having a problem while developing with ESP8266, my function enter_light_sleep works but the consumption changes depending on the time I set in the wifi_fpm_do_sleep() function.
If I set the max time (0xFFFFFFF) it works and go near 1,5 mA but never wakeups nor call the wake_cb function
If I set the time to something like 15s (15*1000*1000) it goes to 16 mA (Modem Sleep consumption) , it wakes up after 15s and calls my wake_cb function.
static void enter_light_sleep(void *arg)
mgos_uart_printf(UART_NO, "Enter_light_sleep \r\n");
Who is online
Users browsing this forum: No registered users and 9 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!