mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-25 11:26:47 +01:00
Pebble: for 3.x notification, do not zero parent UUID
instead reuse the same reandom UUID again.
This commit is contained in:
parent
91cc19befe
commit
49cc4ec9d6
@ -404,7 +404,6 @@ public class PebbleProtocol extends GBDeviceProtocol {
|
|||||||
|
|
||||||
// pin - 46 bytes
|
// pin - 46 bytes
|
||||||
buf.put(uuid_buf); // random UUID
|
buf.put(uuid_buf); // random UUID
|
||||||
Arrays.fill(uuid_buf, (byte) 0);
|
|
||||||
buf.put(uuid_buf); // parent UUID
|
buf.put(uuid_buf); // parent UUID
|
||||||
buf.putInt(timestamp); // 32-bit timestamp
|
buf.putInt(timestamp); // 32-bit timestamp
|
||||||
buf.putShort((short) 0); // duration
|
buf.putShort((short) 0); // duration
|
||||||
|
Loading…
Reference in New Issue
Block a user