Missing BLE config params #15792
Replies: 4 comments
-
This is a much bigger topic than just the config params - Pico uses btstack to provide BLE support, but pairing and bonding integration into micropython hasn't been finished yet for btstack. Other ports like stm32 / esp32 with pairing are based on the nimble stack instead. @brianreinhold has been putting a huge amount of work into this space and making a lot of progress, but it's a surprisingly hard thing to get working. |
Beta Was this translation helpful? Give feedback.
-
Yes, we have done a lot of work to add pairing support for the PICO-W with the btstack with aioble and we have a working implementation, at least for the client side. We had to do this given our customer requirements. It required significant modifications to However, it's will take someone who is much more knowledgeable about Micropython and its build environment and aioble than I am to generalize the work and make it useful for all. Again, we have only implemented what was necessary to support a PICO client though the server side should probably be simpler. |
Beta Was this translation helpful? Give feedback.
-
Thanks for clearing things out. @brianreinhold is your implementation available somewhere? If I understand correctly, you don't feel a need to integrate your work to Micropython, is that right? |
Beta Was this translation helpful? Give feedback.
-
@Wojciech-Bie Its not that I don't feel the need but that I lack the knowledge and expertise to do so. I have limited experience with Python in any form and limited understanding of the Micropython build package. I have done a lot of work with Bluetooth Low Energy on Android (client) and the Nordic semiconductor platforms (peripheral) and have worked on B-SIG standards development and know what a Bluetooth library needs to do. I am sure I have done many things that would be unacceptable if I were to make a pull request, especially with respect to the aioble library. And as I said, I have only done it for the client side. |
Beta Was this translation helpful? Give feedback.
-
Is there a plan to implement BLE config params like 'bond', 'le_secure', 'mitm', 'io'? I don't see them in v1.23.0
Beta Was this translation helpful? Give feedback.
All reactions