1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-01-12 18:57:36 +01:00

Pebble: fix long standing bug in uuid encoding for ACK messages (did not seem to do any harm)

This commit is contained in:
Andreas Shimokawa 2017-01-11 23:42:40 +01:00
parent 50cb3c9db3
commit 0218cee0e1

View File

@ -1706,7 +1706,7 @@ public class PebbleProtocol extends GBDeviceProtocol {
buf.put(APPLICATIONMESSAGE_ACK); buf.put(APPLICATIONMESSAGE_ACK);
buf.put(id); buf.put(id);
buf.putLong(uuid.getMostSignificantBits()); buf.putLong(uuid.getMostSignificantBits());
buf.putLong(uuid.getMostSignificantBits()); buf.putLong(uuid.getLeastSignificantBits());
return buf.array(); return buf.array();
} }