@Test public void test() { XBeeHardwareVersionResponse event = new XBeeHardwareVersionResponse(); event.deserialize(getPacketData("00 07 88 01 48 56 00 19 48 77")); System.out.println(event); assertEquals(0x88, event.getFrameType()); }
@Override public void deserialize(int[] incomingData) { initialiseDeserializer(incomingData); frameId = deserializeInt8(); deserializeAtCommand(); commandStatus = deserializeCommandStatus(); if (commandStatus != CommandStatus.OK || isComplete()) { return; } hardwareVersion = deserializeData(); }
XBeeHardwareVersionResponse extends XBeeFrame implements XBeeResponse { @Override public void deserialize(int[] incomingData) { initialiseDeserializer(incomingData); frameId = deserializeInt8(); deserializeAtCommand(); commandStatus = deserializeCommandStatus(); if (commandStatus != CommandStatus.OK || isComplete()) { return; } hardwareVersion = deserializeData(); } }
XBeeHardwareVersionResponse extends XBeeFrame implements XBeeResponse { @Override public void deserialize(int[] incomingData) { initialiseDeserializer(incomingData); frameId = deserializeInt8(); deserializeAtCommand(); commandStatus = deserializeCommandStatus(); if (commandStatus != CommandStatus.OK || isComplete()) { return; } hardwareVersion = deserializeData(); }  }
XBeeHardwareVersionResponse extends XBeeFrame implements XBeeResponse { @Override public void deserialize(int[] incomingData) { initialiseDeserializer(incomingData); frameId = deserializeInt8(); deserializeAtCommand(); commandStatus = deserializeCommandStatus(); if (commandStatus != CommandStatus.OK || isComplete()) { return; } hardwareVersion = deserializeData(); }  Integer getFrameId(); CommandStatus getCommandStatus(); int[] getHardwareVersion(); @Override void deserialize(int[] incomingData); @Override String toString(); }
XBeeHardwareVersionResponse extends XBeeFrame implements XBeeResponse { @Override public void deserialize(int[] incomingData) { initialiseDeserializer(incomingData); frameId = deserializeInt8(); deserializeAtCommand(); commandStatus = deserializeCommandStatus(); if (commandStatus != CommandStatus.OK || isComplete()) { return; } hardwareVersion = deserializeData(); }  Integer getFrameId(); CommandStatus getCommandStatus(); int[] getHardwareVersion(); @Override void deserialize(int[] incomingData); @Override String toString();  }