1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-08-16 12:21:16 +02:00

Pebble: fix hexdump for health datalog

This commit is contained in:
Andreas Shimokawa 2016-02-08 23:33:05 +01:00
parent cdb25f3183
commit b01a517813

View File

@ -1832,7 +1832,7 @@ public class PebbleProtocol extends GBDeviceProtocol {
LOG.info("DATALOG UUID=" + datalogSession.uuid + ", tag=" + datalogSession.tag + taginfo + ", item_size=" + datalogSession.item_size + ", item_type=" + datalogSession.item_type);
}
if (doHexdump) {
LOG.info(GB.hexdump(buf.array(), 10, length - 10));
LOG.info(GB.hexdump(buf.array(), buf.position(), length - buf.position()));
}
break;
case DATALOG_OPENSESSION: