Is there any kind of documentation anywhere?
not sure there is anything better but the hrm source is here
for VC31 that structure is filled here https://github.com/espruino/Espruino/blob/master/libs/misc/hrm_vc31.c#L832
As @fanoush says really - there's not much in the way of docs and unfortunately the heart rate monitor has had to be reverse engineered.
HRM-rawevents are produced for every reading from the PPG sensor, so they are in general not related to BPM, but to the actual light sensor values from the sensor at that point.
Thanks guys for your continous support! I will go through the script you posted!
do you know if the value reported by the event 'hrm-raw' and in particular the ones in the Uint8Array
vcRaw are referred to BPMs or something else? Is there any kind of documentation anywhere?
Here attached a screenshot of the data printed to the console.