@Test public void test() { ConBeeVersionRequest request = new ConBeeVersionRequest(); request.setSequence(0x02); System.out.println(request); assertTrue(Arrays.equals(new int[] { 0x0D, 0x02, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE8, 0xFF }, request.getOutputBuffer())); }
@Override public int[] getOutputBuffer() { super.getOutputBuffer(); serializeUInt8(VERSION); serializeUInt8(sequence); serializeUInt8(0); serializeUInt16(9); serializeUInt32(0); return copyOutputBuffer(); }
ConBeeVersionRequest extends ConBeeFrameRequest { @Override public int[] getOutputBuffer() { super.getOutputBuffer(); serializeUInt8(VERSION); serializeUInt8(sequence); serializeUInt8(0); serializeUInt16(9); serializeUInt32(0); return copyOutputBuffer(); } }
ConBeeVersionRequest extends ConBeeFrameRequest { @Override public int[] getOutputBuffer() { super.getOutputBuffer(); serializeUInt8(VERSION); serializeUInt8(sequence); serializeUInt8(0); serializeUInt16(9); serializeUInt32(0); return copyOutputBuffer(); }  }
ConBeeVersionRequest extends ConBeeFrameRequest { @Override public int[] getOutputBuffer() { super.getOutputBuffer(); serializeUInt8(VERSION); serializeUInt8(sequence); serializeUInt8(0); serializeUInt16(9); serializeUInt32(0); return copyOutputBuffer(); }  @Override int[] getOutputBuffer(); @Override String toString(); }
ConBeeVersionRequest extends ConBeeFrameRequest { @Override public int[] getOutputBuffer() { super.getOutputBuffer(); serializeUInt8(VERSION); serializeUInt8(sequence); serializeUInt8(0); serializeUInt16(9); serializeUInt32(0); return copyOutputBuffer(); }  @Override int[] getOutputBuffer(); @Override String toString();  }