ESP8266 Developer Zone The Official ESP8266 Forum 2016-07-25T18:39:02+08:00 https://bbs.espressif.com:443/feed.php?f=66&t=2344 2016-07-25T18:39:02+08:00 2016-07-25T18:39:02+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2344&p=8114#p8114 <![CDATA[Re: 【SOLVED】LIGHT SLEEP ERROR SDK 1.5.4]]>
New bug maybe?

EDIT: Just out of curiosity what are the relevance of the numbers in "fpm 758"?

Statistics: Posted by dnc40085 — Mon Jul 25, 2016 6:39 pm


]]>
2016-07-19T11:13:40+08:00 2016-07-19T11:13:40+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2344&p=8014#p8014 <![CDATA[Re: 【SOLVED】LIGHT SLEEP ERROR SDK 1.5.4]]> and for old SDK, we suggest use"wifi_set_opmode" as workround

Statistics: Posted by ESP_Rubin — Tue Jul 19, 2016 11:13 am


]]>
2016-07-19T10:00:32+08:00 2016-07-19T10:00:32+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2344&p=8012#p8012 <![CDATA[Re: 【SOLVED】LIGHT SLEEP ERROR SDK 1.5.4]]> It would be nice to use "wifi_set_opmode_current()" since it doesn't write to flash.

Statistics: Posted by dnc40085 — Tue Jul 19, 2016 10:00 am


]]>
2016-06-29T22:54:50+08:00 2016-06-29T22:54:50+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2344&p=7568#p7568 <![CDATA[Re: 【Feedback】LIGHT SLEEP ERROR SDK 1.5.4]]> Statistics: Posted by irvinvp — Wed Jun 29, 2016 10:54 pm


]]>
2016-06-29T17:30:37+08:00 2016-06-29T17:30:37+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2344&p=7550#p7550 <![CDATA[Re: LIGHT SLEEP ERROR SDK 1.5.4]]> Statistics: Posted by ESP_Rubin — Wed Jun 29, 2016 5:30 pm


]]>
2016-06-24T02:57:42+08:00 2016-06-24T02:57:42+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2344&p=7490#p7490 <![CDATA[【SOLVED】LIGHT SLEEP ERROR SDK 1.5.4]]>
void sleeping(void);

void wake_up_func(void)
{
wifi_fpm_close();
wifi_set_opmode_current(STATION_MODE);
os_printf("ON\n");
sleeping();
}
void sleeping(void)
{
wifi_station_disconnect();
if(wifi_set_opmode(NULL_MODE)){os_printf("Null OK\n");}
wifi_fpm_set_sleep_type(LIGHT_SLEEP_T);
wifi_fpm_open();
wifi_fpm_set_wakeup_cb(wake_up_func);
os_printf("SUP: %d \n",wifi_fpm_do_sleep(60000000));
}
void user_init(void)
{
uart_init(BIT_RATE_115200,BIT_RATE_115200);
sleeping();
}

Statistics: Posted by irvinvp — Fri Jun 24, 2016 2:57 am


]]>