public abstract class LynxI2cResponse extends LynxDekaInterfaceResponse
| Modifier and Type | Field and Description |
|---|---|
protected byte |
i2cStatus |
RESPONSE_BITackOrNackReceived, isAckOrResponseReceived, nackReceived, response, responseOrNackReceived, retransmissionsRemaininghasBeenTransmitted, messageNumber, module, nanotimeLastTransmit, payloadTimeWindow, referenceNumber, serialization| Constructor and Description |
|---|
LynxI2cResponse(LynxModuleIntf module) |
| Modifier and Type | Method and Description |
|---|---|
byte |
getI2cStatus() |
boolean |
isAddressAcknowledged() |
static boolean |
isAddressAcknowledged(byte status) |
boolean |
isArbitrationLost() |
static boolean |
isArbitrationLost(byte status) |
boolean |
isClockTimeout() |
static boolean |
isClockTimeout(byte status) |
boolean |
isDataAcknowledged() |
static boolean |
isDataAcknowledged(byte status) |
boolean |
isStatusOk() |
static boolean |
isStatusOk(byte status) |
void |
logResponse() |
getInterfacegetBaseCommandNumber, getCommandNumber, getInterfaceResponseIndexisResponse, isResponseExpectedawaitAckResponseOrNack, awaitAndRetransmit, getMsAwaitInterval, getMsRetransmissionInterval, getNackReceived, hasBeenAcknowledged, isAckable, isAckOrResponseReceived, isNackReceived, isRetransmittable, noteAttentionRequired, noteRetransmission, onAckReceived, onNackReceived, onPretendTransmit, onResponseReceived, pretendFinish, responseOrThrow, send, sendReceive, setUnretransmittable, throwIfNack, throwNackForUnsupportedCommand, usePretendResponseIfRealModuleDoesntSupportacquireNetworkLock, forgetSerialization, fromPayloadByteArray, getDestModuleAddress, getMessageNumber, getModule, getModuleAddress, getNanotimeLastTransmit, getPayloadTimeWindow, getReferenceNumber, getSerialization, hasBeenTransmitted, invokeStaticNullaryMethod, isAck, isNack, loadFromSerialization, noteHasBeenTransmitted, releaseNetworkLock, resetModulePingTimer, setMessageNumber, setModule, setNanotimeLastTransmit, setPayloadTimeWindow, setReferenceNumber, setSerialization, toPayloadByteArraypublic LynxI2cResponse(LynxModuleIntf module)
public byte getI2cStatus()
public boolean isAddressAcknowledged()
public boolean isDataAcknowledged()
public boolean isArbitrationLost()
public boolean isClockTimeout()
public boolean isStatusOk()
public void logResponse()
public static boolean isAddressAcknowledged(byte status)
public static boolean isDataAcknowledged(byte status)
public static boolean isArbitrationLost(byte status)
public static boolean isClockTimeout(byte status)
public static boolean isStatusOk(byte status)