@override Uint8List encode() { final buffer = ByteDataWriter(endian: Endian.little); // command type buffer.writeUint8(1); return buffer.toBytes(); }