blzlib icon indicating copy to clipboard operation
blzlib copied to clipboard

Heart Rate Measure Program

Open alu0101205953 opened this issue 3 years ago • 1 comments

Hi!

I've spent some days working with this library, trying to figure out how to do continuous heart rate measures, but I found some issues with functions blz_char_white and blz_char_notify. Reading on the internet, I found that Xiaomi mi band 6 need to authenticate with a key, but trying to do that, I'm still having issues.

This is the Javascript code I'm trying to translate and adapt to make a main program using this library: https://github.com/gzalo/miband-6-heart-rate-monitor/blob/master/src/miband.js

Hope someone can help me. Thanks in advance

alu0101205953 avatar Apr 12 '22 09:04 alu0101205953

Sorry, unfortunately security (peering) is not yet implemented in the library. It is possible with bluez though and should not be so difficult to add

br101 avatar Apr 14 '22 14:04 br101