Connect to BLE device using random adddress type
-
I'm unable to connect to my BT weighing scale using the examples. I can read it's address from adv = bluetooth.get_adv(), but connecting fails.
When using the Bluez stack on a Raspberry Pi, I need to connect using the "random" parameter, like "gatttool -b F4:B8:5E:E6:63:96 -I -t random" when using gatttool on the commandline which works.
I think i need a similar random way of connecting using "bluetooth.connect(adv.mac)" in micropython on the LoPy. Is that supported at all? -
As with pairing it's not possible to connect to random addresses yet, both need the security manager which hasn't been implemented yet
-
@jmarcelino thanks for responding!
I'll keep an eye on the release notes for this... -
@jmarcelino Just checking if this is resolved. I am still not able to connect to BLE device when using Bluetooth.RANDOM_ADDR.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register Login