RuntimeError: Wifi Unknown Error 0x0005
Posted: Tue Feb 12, 2019 2:58 am
Hi, I am running some example code on my esp32 devkit. I am using this image of micropython: esp32-20190207-v1.10-54-g43a894fb4.bin.
import network
ap = network.WLAN(network.AP_IF) # create access-point interface
ap.config(essid='ESP-AP') # set the ESSID of the access point <=== Here it breaks:
ap.active(True) # activate the interface
>>> ap.config(essid='ESP-AP')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: Wifi Unknown Error 0x0005
>>>
I've tried searching in the forum but I did not find references for the previous error 0x0005. Do you know what it means?
Thanks.
Borch
import network
ap = network.WLAN(network.AP_IF) # create access-point interface
ap.config(essid='ESP-AP') # set the ESSID of the access point <=== Here it breaks:
ap.active(True) # activate the interface
>>> ap.config(essid='ESP-AP')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: Wifi Unknown Error 0x0005
>>>
I've tried searching in the forum but I did not find references for the previous error 0x0005. Do you know what it means?
Thanks.
Borch