public class LynxSetModuleLEDPatternCommand extends LynxStandardCommand<LynxAck>
| Modifier and Type | Class and Description |
|---|---|
static class |
LynxSetModuleLEDPatternCommand.Steps |
| Modifier and Type | Field and Description |
|---|---|
static int |
maxStepCount |
COMMAND_NUMBER_ACK, COMMAND_NUMBER_DEBUG_LOG_LEVEL, COMMAND_NUMBER_DISCOVERY, COMMAND_NUMBER_DOWNLOAD_CHUNK, COMMAND_NUMBER_FAIL_SAFE, COMMAND_NUMBER_FIRST, COMMAND_NUMBER_GET_MODULE_LED_COLOR, COMMAND_NUMBER_GET_MODULE_LED_PATTERN, COMMAND_NUMBER_GET_MODULE_STATUS, COMMAND_NUMBER_KEEP_ALIVE, COMMAND_NUMBER_LAST, COMMAND_NUMBER_NACK, COMMAND_NUMBER_QUERY_INTERFACE, COMMAND_NUMBER_SET_MODULE_LED_COLOR, COMMAND_NUMBER_SET_MODULE_LED_PATTERN, COMMAND_NUMBER_SET_NEW_MODULE_ADDRESS, COMMAND_NUMBER_START_DOWNLOADackOrNackReceived, isAckOrResponseReceived, nackReceived, response, responseOrNackReceived, retransmissionsRemaininghasBeenTransmitted, messageNumber, module, nanotimeLastTransmit, payloadTimeWindow, referenceNumber, serialization| Constructor and Description |
|---|
LynxSetModuleLEDPatternCommand(LynxModule module) |
LynxSetModuleLEDPatternCommand(LynxModule module,
LynxSetModuleLEDPatternCommand.Steps steps) |
| Modifier and Type | Method and Description |
|---|---|
static int |
cbSerializeStep() |
static void |
deserializeStep(Blinker.Step step,
java.nio.ByteBuffer buffer) |
void |
fromPayloadByteArray(byte[] rgb) |
int |
getCommandNumber() |
static int |
getStandardCommandNumber() |
boolean |
isResponseExpected()
Returns whether this message will generate a response message in return.
|
static void |
serializeStep(Blinker.Step step,
java.nio.ByteBuffer buffer) |
byte[] |
toPayloadByteArray() |
isStandardCommandNumber, isStandardPacketId, isStandardResponseNumbergetResponseClassawaitAckResponseOrNack, awaitAndRetransmit, getMsAwaitInterval, getMsRetransmissionInterval, getNackReceived, hasBeenAcknowledged, isAckable, isAckOrResponseReceived, isNackReceived, isRetransmittable, noteAttentionRequired, noteRetransmission, onAckReceived, onNackReceived, onPretendTransmit, onResponseReceived, pretendFinish, responseOrThrow, send, sendReceive, setUnretransmittable, throwIfNack, throwNackForUnsupportedCommand, usePretendResponseIfRealModuleDoesntSupportacquireNetworkLock, forgetSerialization, getDestModuleAddress, getMessageNumber, getModule, getModuleAddress, getNanotimeLastTransmit, getPayloadTimeWindow, getReferenceNumber, getSerialization, hasBeenTransmitted, invokeStaticNullaryMethod, isAck, isNack, isResponse, loadFromSerialization, noteHasBeenTransmitted, releaseNetworkLock, resetModulePingTimer, setMessageNumber, setModule, setNanotimeLastTransmit, setPayloadTimeWindow, setReferenceNumber, setSerializationpublic static final int maxStepCount
public LynxSetModuleLEDPatternCommand(LynxModule module)
public LynxSetModuleLEDPatternCommand(LynxModule module, LynxSetModuleLEDPatternCommand.Steps steps)
public static void serializeStep(Blinker.Step step, java.nio.ByteBuffer buffer)
public static void deserializeStep(Blinker.Step step, java.nio.ByteBuffer buffer)
public static int cbSerializeStep()
public static int getStandardCommandNumber()
public boolean isResponseExpected()
LynxMessageisResponseExpected in class LynxMessagepublic int getCommandNumber()
getCommandNumber in class LynxMessagepublic byte[] toPayloadByteArray()
toPayloadByteArray in class LynxMessagepublic void fromPayloadByteArray(byte[] rgb)
fromPayloadByteArray in class LynxMessage