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) {
|
||||
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) {
|
||||
|
|
Loading…
Reference in New Issue