Skip to content

BT Characteristic value change events don't associate per device #7752

Answered by gfwilliams
earp123 asked this question in Bangle.js
Discussion options

You must be logged in to vote

Interesting, thanks - what you're doing there looks ok.

I've just looked into this and there was a bug in the Bangle.js firmware (it was assuming that the handles received from the Bluetooth stack were unique, when they're only unique per-connection). Previously I'd been testing with different devices and those just happened to have their characteristics on different handle numbers and it was fine, but if you connect to identical devices you get identical handles.

If you install a cutting-edge build now I think you'll find it works correctly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@earp123
Comment options

Answer selected by earp123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants