Heart Rate and Accelerometer data for the VIVOactive HR

Former Member
Former Member
Could some one point me in the direction of the sensor info for Heart Rate and Accelerometer data for the VIVOactive HR.
I need to know how frequently I can programmatically get access to Heart Rate and Accelerometer data from within an app. Can I poll the data every 1 second?
I have looked at the API Documentation and https://developer.garmin.com/connect-iq/compatible-devices/ and https://buy.garmin.com/en-GB/GB/prod538374.html
Thanks
  • Have a look at the AccelMag sample in the SDK samples directory. This shows how to access both the Accelerometer and Magnetic Compass. It uses a timer to grab the data, and IIRC it's something like 10 times a second, but you can do it change that interval if you want.

    As far as heart rate, you can get the 24/7 history (last 4 hours) using ActivityMonitor.getHeartRateHistory(), but if you want a constant reading, you use "Sensors", and enable "SENSOR_HEARTRATE". See the "Sensor" sample, again in the SDK samples directory.