I'm currently making an app that's gathering some data to pass onto a companion mobile app. At the moment, I'm trying to get the heart rate history using ActivityMonitor/SensorHistory's getHeartRateHistory/Iterator methods, and printing it out to see what it looks like, and it seems like (from what I can tell, anyway) that it only gets the last 4 hours of data? This is all on the simulator, and I still can't figure out how to set heart-rate data, if you can, so it seems to just be using the default heart rate data that always seems to be the same. However, I am looking to get the last week's history of Avg. Heart rates, if possible, like as shown on the Vivoactive HR(The device I am developing on) HR widget(When you click on it and it shows the last 7 days), similar to how I'm getting step data and intensity minutes data per day for the last 7 days. Am I just reading the chart wrong and it's not actually average heart rates per day or is there some way of getting this information from the Connect IQ API that I just missed somewhere, or some other explanation?
Thanks in advance.