Forerunner 235 - SensorHistory - heart rate historical data

Former Member
Former Member
Hello Garmin Forum,

I have a question about the getHeartRateHistory method in ActivityMonitor. If I input for the first, period parameter:

new Time.Duration(86400) the app crashes without a log that indicates why it crashed. It runs on the simulator without crashing.

Second, if I use a numeric variable for the period parameter such as 10000 I don't get more than 4 hours worth of heart rate data. Is this limitation on purpose?

I've been testing on SDK level 1.4 on a Forerunner 235.

I did find the SensorHistory API but I don't think it's available for Forerunner 235 since its SDK level is capped at 1.4.1. So I guess my question is, can I get more heart rate data from the API for the Forerunner 235?

Many thanks in advance to anyone that is able to help me with this issue.

Kind regards,
Rick Lamers
  • The 235 doesn't support SensorHistory (it needs 2.x FW). getHeartRateHistory() is the same for on watches that do support the ActivityMonitor and SensorHistory versions, except an invalid reading is indicated a bit differently between the two calls.


    The 4hr's worth of data is all that's available, so that's all you can get. You can only get the same data that's displayed on the HR widget.