mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-24 00:27:33 +01:00
Log the length of the bytes written
This commit is contained in:
parent
0e49535966
commit
2d10c11005
@ -896,7 +896,7 @@ public class MiBandSupport extends AbstractBTLEDeviceSupport {
|
|||||||
if (status != BluetoothGatt.GATT_SUCCESS) {
|
if (status != BluetoothGatt.GATT_SUCCESS) {
|
||||||
LOG.warn("Could not write to the control point.");
|
LOG.warn("Could not write to the control point.");
|
||||||
}
|
}
|
||||||
LOG.info("handleControlPoint write status:" + status);
|
LOG.info("handleControlPoint write status:" + status + "; length: " + (value != null ? value.length : "(null)"));
|
||||||
|
|
||||||
if (value != null) {
|
if (value != null) {
|
||||||
for (byte b : value) {
|
for (byte b : value) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user