• Where does raw come from with the vc31?

    Interesting - do you still see useful values in raw? As you say it looks almost like it's not set anywhere. It should probably be set with hrmInfo.raw = hrmValue; in heartrate_vc31_binary too.

    And in theory could you modify the manufacturer code to expose their filtered version?

    Not really - it's a binary blob so can't be modified or examined (apart from with a decompiler). I think it works in a different way anyway - by taking blocks of HRM data and examining each block, rather than by 'streaming' it in as our algorithm did.

  • Interesting - do you still see useful values in raw? As you say it looks almost like it's not set anywhere. It should probably be set with hrmInfo.raw = hrmValue; in heartrate_vc31_binary too.

    You're right. .raw is always 0 (as such the magenta line is just displaying the inverse of the average). Should I make a PR or do you want to add that line?

    I think it works in a different way anyway - by taking blocks of HRM data and examining each block, rather than by 'streaming' it in as our algorithm did.

    Decompiled it and yeah I have no idea what it does ¯\_(ツ)_/¯
    Also here's the decompiled version for anyone who wants it https://ktibow.github.io/blog/vcareexplanation/

About

Avatar for KTibow @KTibow started