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
1 changed files with 1 additions and 1 deletions

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) {