-
public class LynxSetModuleLEDPatternCommand extends LynxStandardCommand<LynxAck>
Created by bob on 2016-05-07.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
LynxSetModuleLEDPatternCommand.Steps
-
Field Summary
Fields Modifier and Type Field Description public final static int
maxStepCount
-
Constructor Summary
Constructors Constructor Description LynxSetModuleLEDPatternCommand(LynxModule module)
LynxSetModuleLEDPatternCommand(LynxModule module, LynxSetModuleLEDPatternCommand.Steps steps)
-
Method Summary
Modifier and Type Method Description static void
serializeStep(Blinker.Step step, ByteBuffer buffer)
static void
deserializeStep(Blinker.Step step, ByteBuffer buffer)
static int
cbSerializeStep()
static int
getStandardCommandNumber()
int
getCommandNumber()
Array<byte>
toPayloadByteArray()
void
fromPayloadByteArray(Array<byte> rgb)
boolean
isDangerous()
-
Methods inherited from class com.qualcomm.hardware.lynx.commands.standard.LynxStandardCommand
isStandardCommandNumber, isStandardPacketId, isStandardResponseNumber
-
Methods inherited from class com.qualcomm.hardware.lynx.commands.LynxCommand
getResponseClass
-
Methods inherited from class com.qualcomm.hardware.lynx.commands.LynxRespondable
getNackReceived, hasBeenAcknowledged, isAckOrResponseReceived, isAckable, isNackReceived, isResponseExpected, onAckReceived, onNackReceived, onPretendTransmit, onResponseReceived, pretendFinish, send, sendReceive
-
Methods inherited from class com.qualcomm.hardware.lynx.commands.LynxMessage
acquireNetworkLock, forgetSerialization, getDestModuleAddress, getMessageNumber, getModule, getModuleAddress, getNanotimeLastTransmit, getPayloadTimeWindow, getReferenceNumber, getSerialization, hasBeenTransmitted, invokeStaticNullaryMethod, isAck, isNack, isResponse, loadFromSerialization, noteHasBeenTransmitted, releaseNetworkLock, resetModulePingTimer, setMessageNumber, setModule, setNanotimeLastTransmit, setPayloadTimeWindow, setReferenceNumber, setSerialization
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LynxSetModuleLEDPatternCommand
LynxSetModuleLEDPatternCommand(LynxModule module)
-
LynxSetModuleLEDPatternCommand
LynxSetModuleLEDPatternCommand(LynxModule module, LynxSetModuleLEDPatternCommand.Steps steps)
-
-
Method Detail
-
serializeStep
static void serializeStep(Blinker.Step step, ByteBuffer buffer)
-
deserializeStep
static void deserializeStep(Blinker.Step step, ByteBuffer buffer)
-
cbSerializeStep
static int cbSerializeStep()
-
getStandardCommandNumber
static int getStandardCommandNumber()
-
getCommandNumber
int getCommandNumber()
-
toPayloadByteArray
Array<byte> toPayloadByteArray()
-
fromPayloadByteArray
void fromPayloadByteArray(Array<byte> rgb)
-
isDangerous
boolean isDangerous()
-
-
-
-