esp32 bluetooth connection related questions

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
kathiravan
Posts: 1
Joined: Sat Mar 19, 2022 7:11 am

esp32 bluetooth connection related questions

Post by kathiravan » Sat Mar 19, 2022 7:22 am

i try to connect paring and bonding in my mobile ,but it not connect

ble = bluetooth.BLE()
ble.active(True)
ble.config(addr_mode=2)
ble.config(bond=True)

Traceback (most recent call last):
File "<stdin>", line 142, in <module>
File "<stdin>", line 25, in __init__
ValueError: unknown config param


this error as show..
how i recover this error

User avatar
andypiper
Posts: 25
Joined: Wed Feb 02, 2022 12:17 pm
Location: Kingston upon Thames, UK
Contact:

Re: esp32 bluetooth connection related questions

Post by andypiper » Sat Mar 19, 2022 10:30 pm

Can you share any more information here?

What kind of board is this, what version of MicroPython are you running, and what is your mobile (phone?)?

Could you also share the imports / more complete code.

Post Reply