LE secure connection doesn't work #6560
Replies: 1 comment
-
Posted at 2021-09-14 by @gfwilliams It could be that the Bangle doesn't automatically start the bonding procedure for a secure connection, and so the read fails. You could try http://www.espruino.com/Reference#l_BluetoothRemoteGATTServer_startBonding
Posted at 2021-09-14 by ermano Hi Gordon, Thanks for the response. I tried the same with a different setup: Bangle.js being central (scanning advertisements) and a peripheral running on an external nRF board.
Any clue why I get this "public key is not valid" error? Thanks again for the support... Attachments: Posted at 2021-09-15 by @gfwilliams Ahh, yes, I didn't mention that but only certain combinations for
I'm afraid not. I guess it's not referring to the passkey you entered? Maybe Nordic Devzone has some ideas. The odd thing is I'm pretty sure I have had this working, because the passkey pairing on Central code was implemented for a user that needed it for his project. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2021-09-05 by ermano
Hi all,
I have Bangle.js and Puck.js devices but couldn't establish LE secure connections between them.
Puck.js has the following service configuration:
Bangle.js also has the LE secure connections enabled with the following configuration:
Nevertheless, when Bangle.js connects to Puck.js and accesses to the read characteristic, it fails to read.
I also tried to connect to the read characteristic using the NRF connect application. After I connect to Puck.js and try to read the value of characteristic, it triggers bonding and stuck at that stage with no success.
Is there a known issue with the lesc or am I missing something?
Thanks for the support in advance...
Beta Was this translation helpful? Give feedback.
All reactions