serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint8(0, targetSystem);
  data_.setUint8(1, controlRequest);
  data_.setUint8(2, version);
  MavlinkMessage.setInt8List(data_, 3, passkey);
  return data_;
}