public class LynxI2cConfigureChannelCommand extends LynxDekaInterfaceCommand<LynxAck>
Modifier and Type | Class and Description |
---|---|
static class |
LynxI2cConfigureChannelCommand.SpeedCode |
Modifier and Type | Field and Description |
---|---|
static int |
cbPayload |
theInterface, theInterfaceName
ackOrNackReceived, isAckOrResponseReceived, nackReceived, response, responseOrNackReceived, retransmissionsRemaining
hasBeenTransmitted, messageNumber, module, nanotimeLastTransmit, payloadTimeWindow, referenceNumber, serialization
Constructor and Description |
---|
LynxI2cConfigureChannelCommand(LynxModuleIntf module) |
LynxI2cConfigureChannelCommand(LynxModuleIntf module,
int busZ,
LynxI2cConfigureChannelCommand.SpeedCode speedCode) |
Modifier and Type | Method and Description |
---|---|
void |
fromPayloadByteArray(byte[] rgb) |
LynxI2cConfigureChannelCommand.SpeedCode |
getSpeedCode() |
byte[] |
toPayloadByteArray() |
getInterface
getBaseCommandNumber, getCommandNumber, getInterfaceCommandIndex
getResponseClass
awaitAckResponseOrNack, awaitAndRetransmit, getMsAwaitInterval, getMsRetransmissionInterval, getNackReceived, hasBeenAcknowledged, isAckable, isAckOrResponseReceived, isNackReceived, isRetransmittable, noteAttentionRequired, noteRetransmission, onAckReceived, onNackReceived, onPretendTransmit, onResponseReceived, pretendFinish, responseOrThrow, send, sendReceive, setUnretransmittable, throwIfNack, throwNackForUnsupportedCommand, usePretendResponseIfRealModuleDoesntSupport
acquireNetworkLock, forgetSerialization, getDestModuleAddress, getMessageNumber, getModule, getModuleAddress, getNanotimeLastTransmit, getPayloadTimeWindow, getReferenceNumber, getSerialization, hasBeenTransmitted, invokeStaticNullaryMethod, isAck, isNack, isResponse, isResponseExpected, loadFromSerialization, noteHasBeenTransmitted, releaseNetworkLock, resetModulePingTimer, setMessageNumber, setModule, setNanotimeLastTransmit, setPayloadTimeWindow, setReferenceNumber, setSerialization
public static final int cbPayload
public LynxI2cConfigureChannelCommand(LynxModuleIntf module)
public LynxI2cConfigureChannelCommand(LynxModuleIntf module, int busZ, LynxI2cConfigureChannelCommand.SpeedCode speedCode)
public LynxI2cConfigureChannelCommand.SpeedCode getSpeedCode()
public byte[] toPayloadByteArray()
toPayloadByteArray
in class LynxMessage
public void fromPayloadByteArray(byte[] rgb)
fromPayloadByteArray
in class LynxMessage