1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-13 08:54:03 +02:00

Log the length of the bytes written

This commit is contained in:
cpfeiffer 2016-04-02 22:35:37 +02:00
parent 0e49535966
commit 2d10c11005

View File

@ -896,7 +896,7 @@ public class MiBandSupport extends AbstractBTLEDeviceSupport {
if (status != BluetoothGatt.GATT_SUCCESS) {
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) {
for (byte b : value) {