Can anybody explain why I'd get an invalid value exception in the on-device CIQ error log for the following code example?
var options = {
:period => new Toybox.Time.Duration(300),
:order => Toybox.SensorHistory.ORDER_NEWEST_FIRST
};
/* this causes an invalid value exception */
var iter = Toybox.SensorHistory.getBodyBatteryHistory(options);
/* this succeeds */
var iter = Toybox.SensorHistory.getBodyBatteryHistory(null);
Edit: I forgot to mention this error is observed on an FR255 with current 19.18 firmware.