Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3486

MicroPython • Pairing/bonding supported in C-SDK but not MicroPython

$
0
0
From my understanding the PICO-W port of Micropython does not support pairing/bonding. These #define options or whatever they are called
MICROPY_PY_BLUETOOTH_ENABLE_PAIRING_BONDING and MICROPY_PY_BLUETOOTH_USE_SYNC_EVENTS are not defined. However, the C-SDK for PICO-W does support pairing/bonding.

So what I am trying to do is build the port with these constants defined, and do what ever other updates are needed such that pairing/bonding are supported. However, this project is huge and complicated and I have only looked at it for about a week. I did find instructions on how to build it, but what I really need is to find where in the RP2 port such settings are defined. Does anyone know where the Bluetooth settings for the RP2 port to PICO-W are defined such that I can, as a first step, define the above? If defined, the btstack code will support the pairing algorithms and the aioble library methods calling the pair() methods should no longer fail as the bond, io, le-secure. and mitm flags will no longer be an unknown parameter.

Statistics: Posted by brianreinhold — Tue Feb 06, 2024 11:16 am — Replies 1 — Views 47



Viewing all articles
Browse latest Browse all 3486

Trending Articles