try {
RFXComMessageInterface obj = RFXComMessageFactory.getMessageInterface(packet);
if (obj instanceof RFXComTransmitterMessage) {
RFXComTransmitterMessage resp = (RFXComTransmitterMessage) obj;
if (resp.seqNbr == getSeqNumber()) {
logger.debug("Transmitter response received:\n{}",
obj.toString());
setResponseMessage(resp);