I'm guessing that properties is one of the flags like readable, notify, etc - but not sure which.
I'm sure that'd be in Adafruit's docs somewhere? It's not something you should really try and figure out from Puck.js's source.
And yes, 00-40 sure sounds like it should be [0x00, 0x40] to me.
[0x00, 0x40]
That also fits with the spec I posted earlier. It'd mean:
And 0x40 is 64. So a heart rate of 64 BPM
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm sure that'd be in Adafruit's docs somewhere? It's not something you should really try and figure out from Puck.js's source.
And yes, 00-40 sure sounds like it should be
[0x00, 0x40]
to me.That also fits with the spec I posted earlier. It'd mean:
And 0x40 is 64. So a heart rate of 64 BPM