Pebble: remove unused function (was used for firmware 2.x)

This commit is contained in:
Andreas Shimokawa
2025-11-20 18:54:12 +01:00
parent 15d8ceea8a
commit 6069842fb4
@@ -1626,19 +1626,6 @@ public class PebbleProtocol extends GBDeviceProtocol {
return encodeSystemMessage(SYSTEMMESSAGE_FIRMWAREFAIL); return encodeSystemMessage(SYSTEMMESSAGE_FIRMWAREFAIL);
} }
byte[] encodeAppRefresh(int index) {
final short LENGTH_REFRESHAPP = 5;
ByteBuffer buf = ByteBuffer.allocate(LENGTH_PREFIX + LENGTH_REFRESHAPP);
buf.order(ByteOrder.BIG_ENDIAN);
buf.putShort(LENGTH_REFRESHAPP);
buf.putShort(ENDPOINT_APPMANAGER);
buf.put(APPMANAGER_REFRESHAPP);
buf.putInt(index);
return buf.array();
}
private byte[] encodeDatalog(byte handle, byte reply) { private byte[] encodeDatalog(byte handle, byte reply) {
ByteBuffer buf = ByteBuffer.allocate(LENGTH_PREFIX + 2); ByteBuffer buf = ByteBuffer.allocate(LENGTH_PREFIX + 2);
buf.order(ByteOrder.BIG_ENDIAN); buf.order(ByteOrder.BIG_ENDIAN);