Ok, well that code implies that there would be a heart rate if you had 5 bytes of data advertised.
... but you only have 4, so your heart rate is not being advertised by the band - I guess it must need configuring somehow to advertise it?
Bytes 0+1 are your step count I guess. But bytes 2+3 are both zero so those are unlikely to be heart rate :)
@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.
Ok, well that code implies that there would be a heart rate if you had 5 bytes of data advertised.
... but you only have 4, so your heart rate is not being advertised by the band - I guess it must need configuring somehow to advertise it?
Bytes 0+1 are your step count I guess. But bytes 2+3 are both zero so those are unlikely to be heart rate :)