public byte[] getPacketBytes() {
        byte[] result = new byte[packetBytes.length];
        System.arraycopy(packetBytes, 0, result, 0, packetBytes.length);
        return result;
    }
public byte [ ] getPacketBytes ( ) { byte [ ] result = new byte [ packetBytes . length ] ; System . arraycopy ( packetBytes , 0 , result , 0 , packetBytes . length ) ; return result ; }
Get the raw data bytes of the device update packet.

@return the data sent by the device to update its status