2015-08-03 23:51:53 +02:00
|
|
|
package nodomain.freeyourgadget.gadgetbridge.service.bt;
|
2015-06-23 14:20:13 +02:00
|
|
|
|
|
|
|
import java.util.UUID;
|
|
|
|
|
2015-08-03 23:09:49 +02:00
|
|
|
import nodomain.freeyourgadget.gadgetbridge.model.ServiceCommand;
|
2015-06-23 14:20:13 +02:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2015-08-03 23:09:49 +02:00
|
|
|
public byte[] encodeSetCallState(String number, String name, ServiceCommand command) {
|
2015-06-23 14:20:13 +02:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2015-06-24 00:23:38 +02:00
|
|
|
public byte[] encodeScreenshotReq() {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2015-06-23 14:20:13 +02:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|