Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/DatalogSession.java

29 lines
668 B
Java

package nodomain.freeyourgadget.gadgetbridge.service.devices.pebble;
import java.nio.ByteBuffer;
import java.util.UUID;
class DatalogSession {
final byte id;
final int tag;
final UUID uuid;
final byte item_type;
final short item_size;
String taginfo = "(unknown)";
DatalogSession(byte id, UUID uuid, int tag, byte item_type, short item_size) {
this.id = id;
this.tag = tag;
this.uuid = uuid;
this.item_type = item_type;
this.item_size = item_size;
}
boolean handleMessage (ByteBuffer buf, int length) {
return true;
}
String getTaginfo() {
return taginfo;
}
}