serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint16(0, dataRate, Endian.little);
  MavlinkMessage.setInt8List(data_, 2, ssid);
  data_.setUint8(34, channelId);
  data_.setUint8(35, signalQuality);
  data_.setUint8(36, security);
  return data_;
}