diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/protocol/GBDeviceProtocol.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/protocol/GBDeviceProtocol.java new file mode 100644 index 000000000..7370caa73 --- /dev/null +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/protocol/GBDeviceProtocol.java @@ -0,0 +1,73 @@ +package nodomain.freeyourgadget.gadgetbridge.protocol; + +import java.util.UUID; + +import nodomain.freeyourgadget.gadgetbridge.GBCommand; +import nodomain.freeyourgadget.gadgetbridge.deviceevents.GBDeviceEvent; + +public abstract class GBDeviceProtocol { + + public byte[] encodeSMS(String from, String body) { + return null; + } + + public byte[] encodeEmail(String from, String subject, String body) { + return null; + } + + public byte[] encodeGenericNotification(String title, String details) { + return null; + } + + public byte[] encodeSetTime(long ts) { + return null; + } + + public byte[] encodeSetCallState(String number, String name, GBCommand command) { + return null; + } + + public byte[] encodeSetMusicInfo(String artist, String album, String track) { + return null; + } + + public byte[] encodeFirmwareVersionReq() { + return null; + } + + public byte[] encodeBatteryInfoReq() { + return null; + } + + public byte[] encodeAppInfoReq() { + return null; + } + + public byte[] encodeAppDelete(UUID uuid) { + return null; + } + + public byte[] encodeAppStart(UUID uuid) { + return null; + } + + public byte[] encodePhoneVersion(byte os) { + return null; + } + + public byte[] encodeSynchronizeActivityData() { + return null; + } + + public byte[] encodeReboot() { + return null; + } + + public byte[] encodeFindDevice(boolean start) { + return null; + } + + public GBDeviceEvent decodeResponse(byte[] responseData) { + return null; + } +} \ No newline at end of file