add GBDeviceProtocol again

This commit is contained in:
Andreas Shimokawa 2015-06-23 14:20:13 +02:00
parent 73da7fff0a
commit 5ae812c854
1 changed files with 73 additions and 0 deletions

View File

@ -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;
}
}