Pairing, encryption, and passkeys #13537
Replies: 2 comments 2 replies
-
@brianreinhold You're correct, this just isn't implemented yet in aioble. We need to come up with a good async-based API for this, although maybe in this case something with either callbacks or abstract methods makes more sense? |
Beta Was this translation helpful? Give feedback.
-
would be interested in this issue too. I noticed that a ble_secrets.json file is created when the peripheral is a heart rate sensor, but not when it is a "only" environmental sensor. Probably the host (linux, in this case) is trying to bond the heart rate sensor implicitly. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I do not see any aioble examples where the details of pairing and/or encryption are illustrated. This works fine for just works situations but that is not the only possible pairing that takes place. I am having a hard time seeing how to handle the security function in aioble. in particular handling passkeys/confirmation on the client/central side. I have looked at the source code and see this:
It is all the TODOs.. Using the bluetooth low-level APIs it is pretty straight forward, its just a matter of knowing the correct names for the IRQ event names. Is it possible to handle pairing/encryption details (especially passkeys and confirmations) using the aioble library? This ability is critical for our project. If so, are there any aioble examples of for this?
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions