Update heart rate monitor data format

Print heart rate bpm from 2nd byte of payload.
This commit is contained in:
Michael Mogenson 2020-12-10 10:54:40 -05:00 committed by GitHub
parent 9dde7219a6
commit 855d3c4b78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -86,7 +86,7 @@ func main() {
println("found characteristic", char.UUID().String())
char.EnableNotifications(func(buf []byte) {
println("data:", uint8(buf[0]))
println("data:", uint8(buf[1]))
})
select {}