First time posting, very new to Connect IQ.
I am trying to write an App which relies heavily upon a users heart rate - in fact it would be useless to use the app without being able to read heart rate.
I have an ANT+ HR monitor, and a Vivoactive HR.
I am trying to plan around extending my app to work on devices with both a built in HR sensor and without. Also, given the higher accuracy of most external HR monitors I would like to prioritize, or even require an external HR monitor even on devices with a built-in one (with a user setting to force the use of the internal one if they choose).
After reviewing many open source projects I have a couple questions:
- Is it possible to differentiate between the internal HR sensor and an external one?
- On devices with both, is it possible to prioritize one over the other?
- How can I produce a prompt or view to wait for a connection to an external HR device, especially on devices without a built in sensor? Similar to how many of the built-in activities wait for GPS.
Also, during my initial testing I found that the ANT+ sensor seemed to disconnect and reconnect several times throughout the workout, is there any way to make the connection more stable in my code?