-
• #2
Hi Matt,
I believe passkey should work - I think the only issue is the text of 'Passkey BETA' is too long for the menu item?
-
• #3
I see that now, will ignore the over drawing.
Tested setting the pass code on another watch could still connect from android and mac with out it.
What can I do to get more info to debug this?
I've got swd working on a pi using openocd if that helps. -
• #4
Maybe the device is already whitelisted?
I tried passkey with Android and it does nor work for me. It seems that 6 digits are not expected. -
• #5
could still connect from android and mac with out it.
Do you mean you could actually connect with the Web IDE? Bluetooth is a bit strange in that it allows devices to connect, but then the second they try and access anything (like the Bluetooth serial port Bangle.js exposes) it should ask for the passkey.
Honestly it's a really hard one to debug - you could try uploading some code with the Web IDE that queried
NRF.getSecurityStatus
every second and wrote the response to the screen, and you might get some idea what was happening -
• #6
I made a quick app here https://whatawholeone.github.io/BangleApps/#btpasstest
Aside: The App Loader github icon links to master rather then the btpasstest branchDoes only refresh on button press.
With a passkey set I get:
connected: true
encrypted: false
mitm: false
bonded: false
key: 333456From the Web IDE I send scripts and read from storage, and the mobile, Gadgetbridge can read battery percentage and push notifications.
-
• #7
Wow, ok, thanks - I'll look into that then. If the passkey is set, the UART should only be accessible with an encrypted connection
When I try to set a BLE passkey the menu show BETAnone and numbers ontop of each other.
I can still connect with out the passkey, App Loader and Gadgetbridge.
I see the wiki say this is still beta, but what would you expect to work and not at the moment?
Thanks
Matt