public class BytePacketType extends PacketType
be, done, downstream, idOfCommand, numberOfBytesPerValue, numValues, packetSize, started, upstream| Constructor and Description |
|---|
BytePacketType(int id,
int size) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
command(int idOfCommand,
java.lang.Number[] values) |
java.lang.Number[] |
parse(byte[] bytes) |
command, getId, oneShotMode, pollingMode, sendOk, writeIdpublic java.lang.Number[] parse(byte[] bytes)
parse in class PacketTypepublic byte[] command(int idOfCommand,
java.lang.Number[] values)
command in class PacketType