BLE not becoming active?

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
Capstan
Posts: 117
Joined: Sun Jan 29, 2017 4:03 pm
Location: Texas, USA

BLE not becoming active?

Post by Capstan » Sat Feb 13, 2021 7:34 pm

I'm using the most recent micropython stable firmware binary (v1.14) with a WROOM-32. Trying to start experimenting with bluetooth but not getting to square 1. What am I doing wrong here?

>>> import bluetooth
>>> ble = bluetooth.BLE()
>>> ble.active(True)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 110] ETIMEDOUT

Capstan
Posts: 117
Joined: Sun Jan 29, 2017 4:03 pm
Location: Texas, USA

Re: BLE not becoming active?

Post by Capstan » Sun Feb 14, 2021 8:57 pm

I see that this problem was also reported previously in a post a week or two ago, turns out that the idf4 firmware does work and the problem has something to do with the idf3 firmware.

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: BLE not becoming active?

Post by jimmo » Mon Feb 15, 2021 1:46 am

Yep, this appears to be a bug in IDF3 firmware.

I hear that a workaround is to enable WiFi first, but have not tested this myself.

I think we just need to stop supporting IDF3.

Post Reply