Acknowledged

Interval capture broken (again) or not fixed

A previous firmware was meant to fix this issue but it seems to either never have gone or been broken again on certain watches. This works with a strap but fails on optical sensor. The callback is never called.

function SensorSetup() {
		
		if (Sensor has :enableSensorType) {

            var ans_ = false;
			ans_ = Toybox.Sensor.enableSensorType(Sensor.SENSOR_HEARTRATE);
			ans_ = ans_ && Toybox.Sensor.enableSensorType(Sensor.SENSOR_ONBOARD_HEARTRATE);
			Sys.println("Enable ="+ ans_);

		} else {
			Toybox.Sensor.setEnabledSensors( [Sensor.SENSOR_HEARTRATE]);
	}
		
		
		var options = {
			:period => 1, 	// 1 second data packets
			:heartBeatIntervals => {:enabled => true}
		};
		try {
			Toybox.Sensor.registerSensorDataListener(method(:onHeartRateData), options);
		} catch (ex) {
			Sys.println("Failed to set listener");
		}

		Sys.println("Internal SensorSetup()");
	

	}

Parents Comment Children
  • Reports from users that now broken (again) on latest firmware 20.22 on Fenix 7 pro solar.

  • A number of different devices since the firmware "patch". Note a year of so ago this all worked fine - when I had a Fenix-7x which after an update stopped working. I've also added code to retry sensor startup if I get no data for 5 seconds. This makes no difference. HR strap works perfectly in all cases

    Reports from users on :

    • Device Name: fenix 8 - 47mm, AMOLED. Firmware Version: 12.19
    • Device Name: vívoactive 5. Firmware Version: 11.16
    • Device Name: Venu 3. Firmware Version: 11.16
    • Device Name: Garmin SQ2
    • Device Name: Venu 3. Firmware Version: 10.20
    • Device Name: Forerunner 255. Firmware Version: 19.18
    • Device Name: Venu. Firmware Version: 7.80
    • etc

    Thanks,

    David