mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-25 19:36:50 +01:00
[PineTime][InfiniTime][2527] remove debug Toast and subscription to UUID_CHARACTERISTIC_MOTION_RAW_XYZ_VALUES
This commit is contained in:
parent
b0ed617072
commit
e332f5d23a
@ -470,7 +470,7 @@ public class PineTimeJFSupport extends AbstractBTLEDeviceSupport implements DfuL
|
||||
|
||||
if (getSupportedServices().contains(PineTimeJFConstants.UUID_SERVICE_MOTION)) {
|
||||
builder.notify(getCharacteristic(PineTimeJFConstants.UUID_CHARACTERISTIC_MOTION_STEP_COUNT), true);
|
||||
builder.notify(getCharacteristic(PineTimeJFConstants.UUID_CHARACTERISTIC_MOTION_RAW_XYZ_VALUES), true);
|
||||
//builder.notify(getCharacteristic(PineTimeJFConstants.UUID_CHARACTERISTIC_MOTION_RAW_XYZ_VALUES), false); // issue #2527
|
||||
}
|
||||
|
||||
setInitialized(builder);
|
||||
@ -635,7 +635,6 @@ public class PineTimeJFSupport extends AbstractBTLEDeviceSupport implements DfuL
|
||||
} else if (characteristicUUID.equals(PineTimeJFConstants.UUID_CHARACTERISTIC_MOTION_STEP_COUNT)) {
|
||||
int steps = BLETypeConversions.toUint32(characteristic.getValue());
|
||||
if (LOG.isDebugEnabled()) {
|
||||
GB.toast("Steps count: " + steps, Toast.LENGTH_SHORT, GB.INFO);
|
||||
LOG.debug("onCharacteristicChanged: MotionService:Steps=" + steps);
|
||||
}
|
||||
onReceiveStepsSample(steps);
|
||||
|
Loading…
Reference in New Issue
Block a user