RuntimeError: Wifi Unknown Error 0x0005

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
borch
Posts: 1
Joined: Tue Feb 12, 2019 2:41 am

RuntimeError: Wifi Unknown Error 0x0005

Post by borch » 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

NilsBe
Posts: 2
Joined: Sun Jan 06, 2019 10:47 pm

Re: RuntimeError: Wifi Unknown Error 0x0005

Post by NilsBe » Thu May 16, 2019 6:15 am

I have the same Problem.

AJB2K3
Posts: 9
Joined: Wed Mar 06, 2019 5:20 pm

Re: RuntimeError: Wifi Unknown Error 0x0005

Post by AJB2K3 » Thu May 16, 2019 4:57 pm

I'm not sure as I don't have enough knowledge so I'm guessing here but

Does ap.active need to be before ap.config?

I'm noticed errors popping up when code isn't in the correct order.

Post Reply