code: public byte[] getPacketBytes() {
          byte[] result = new byte[packetBytes.length];
          System.arraycopy(packetBytes, 0, result, 0, packetBytes.length);
          return result;
      }
docs: Get the raw data bytes of the device update packet.
  
  @return the data sent by the device to update its status