1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 02:25:50 +01: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); LOG.info("DATALOG UUID=" + datalogSession.uuid + ", tag=" + datalogSession.tag + taginfo + ", item_size=" + datalogSession.item_size + ", item_type=" + datalogSession.item_type);
} }
if (doHexdump) { if (doHexdump) {
LOG.info(GB.hexdump(buf.array(), 10, length - 10)); LOG.info(GB.hexdump(buf.array(), buf.position(), length - buf.position()));
} }
break; break;
case DATALOG_OPENSESSION: case DATALOG_OPENSESSION: