-
Could someone point me to the code that measures the heart rate?
Look for hrm related methods of the Bangle class in espruino reference.
I think you should find some of those in the
health
andrecorder
appsboot.js
orwidget.js
files in the BangleApps github repo.
-
so the base firmware does the hrm check? Maybe I could tie into health and when it does it check, use that check to modify the HR delay variable... okay that gives me enough to go on.
If I modify the code, does it need to be compiled in any way in order to be uploaded to the watch? Or is it better to do a pull request and wait for whoever maintains it to accept/reject the change?
This could just be a new option in the health app (dynamic HR monitoring on/off).
Could someone point me to the code that measures the heart rate? Sorry im not familiar with the codebase at all. I'll try and make the adjustment. The health app appears to be a display app for data (not the code that does the actual measuring?).
As for synching, not an issue for me, i'll only sync once a week or so.
Will have a look at recorder, not sure i noticed it when i scanned the apps.