@Test public void doRequest() { ConBeeDeviceStateRequest request = new ConBeeDeviceStateRequest(); request.setSequence(0); System.out.println(request); assertTrue(Arrays.equals(new int[] { 0x07, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF }, request.getOutputBuffer())); }
@Override public int[] getOutputBuffer() { super.getOutputBuffer(); serializeUInt8(DEVICE_STATE); serializeUInt8(sequence); serializeUInt8(0); serializeUInt16(8); serializeUInt8(0); serializeUInt8(0); serializeUInt8(0); return copyOutputBuffer(); }
ConBeeDeviceStateRequest extends ConBeeFrameRequest { @Override public int[] getOutputBuffer() { super.getOutputBuffer(); serializeUInt8(DEVICE_STATE); serializeUInt8(sequence); serializeUInt8(0); serializeUInt16(8); serializeUInt8(0); serializeUInt8(0); serializeUInt8(0); return copyOutputBuffer(); } }
ConBeeDeviceStateRequest extends ConBeeFrameRequest { @Override public int[] getOutputBuffer() { super.getOutputBuffer(); serializeUInt8(DEVICE_STATE); serializeUInt8(sequence); serializeUInt8(0); serializeUInt16(8); serializeUInt8(0); serializeUInt8(0); serializeUInt8(0); return copyOutputBuffer(); }  }
ConBeeDeviceStateRequest extends ConBeeFrameRequest { @Override public int[] getOutputBuffer() { super.getOutputBuffer(); serializeUInt8(DEVICE_STATE); serializeUInt8(sequence); serializeUInt8(0); serializeUInt16(8); serializeUInt8(0); serializeUInt8(0); serializeUInt8(0); return copyOutputBuffer(); }  @Override int[] getOutputBuffer(); @Override String toString(); }
ConBeeDeviceStateRequest extends ConBeeFrameRequest { @Override public int[] getOutputBuffer() { super.getOutputBuffer(); serializeUInt8(DEVICE_STATE); serializeUInt8(sequence); serializeUInt8(0); serializeUInt16(8); serializeUInt8(0); serializeUInt8(0); serializeUInt8(0); return copyOutputBuffer(); }  @Override int[] getOutputBuffer(); @Override String toString();  }