public class BatteryInfoPacket extends Packet
Modifier and Type | Class and Description |
---|---|
static class |
BatteryInfoPacket.Payload |
Packet.Header
Modifier and Type | Field and Description |
---|---|
BatteryInfoPacket.Payload |
payload |
command, header, headerConfiguration, payloadConfiguration, source, status
Constructor and Description |
---|
BatteryInfoPacket() |
BatteryInfoPacket(Application application,
Command command) |
Modifier and Type | Method and Description |
---|---|
Command |
getCommand() |
Status |
getStatus() |
void |
setCommand(Command command) |
void |
setStatus(Status status) |
java.lang.String |
toString() |
void |
updateTimestamp(java.util.ArrayList<java.lang.Long> lastTimestamp) |
decodePacket, getPacket, getSource
public BatteryInfoPacket.Payload payload
public BatteryInfoPacket(Application application, Command command)
public BatteryInfoPacket()
public Command getCommand()
getCommand
in class Packet
public void setCommand(Command command)
setCommand
in class Packet
public void updateTimestamp(java.util.ArrayList<java.lang.Long> lastTimestamp)
public java.lang.String toString()
toString
in class java.lang.Object