wifi_station_disconnect是异步执行?

genvy
Posts: 13
Joined: Tue Jul 05, 2016 11:06 am

wifi_station_disconnect是异步执行?

Postby genvy » Fri Jul 08, 2016 1:13 pm

wifi_station_disconnect之后马上wifi_set_opmode(NULL_MODE)经常会引起Fatal exception。在wifi_event_callback里直接调用wifi_set_opmode(NULL_MODE)也会引起同样问题,用一个异步任务去执行才正常。

force slp enable,type: 1
pm close 7
fpm open,type:1 0
state: 5 -> 0 (0)
rm 0
del if0
usl
mode : null
Fatal exception 0(IllegalInstructionCause):
epc1=0x402114c0, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

ets Jan 8 2013,rst cause:2, boot mode:(3,0)

ESP_Rubin
Posts: 222
Joined: Wed Jun 29, 2016 11:59 am

Re: wifi_station_disconnect是异步执行?

Postby ESP_Rubin » Wed Aug 03, 2016 1:31 pm

你好,
应该不会的,您那边的测试代码可以给我看看吗?

Who is online

Users browsing this forum: No registered users and 318 guests