Greetings,
It may be a bug.
Here is my code:
function compute(SensorL, SensorR) {
.......
if (SensorL.data.pair == 0 && SensorR.data.pair == 1) {
//do something
} else if ( SensorR.data.pair == 0 && SensorL.data.pair == 1 ) {
//do something
} else if ( SensorR.data.pair == 0 && SensorL.data.pair == 0 ) {
return;
}
// do some compute
........
}
I wish fit recording will stop if buth sensors are unpaired. But it doesn't work. For details, edge830/1030plus will intermittently appear the data before the sensor is disconnected and edge130/130plus/520 will continue to show the data before the sensor is disconnected.
I would be very grateful if you could provide any help.
Thankyou!