serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint16(0, rxerrors, Endian.little);
  data_.setUint16(2, fixed, Endian.little);
  data_.setUint8(4, rssi);
  data_.setUint8(5, remrssi);
  data_.setUint8(6, txbuf);
  data_.setUint8(7, noise);
  data_.setUint8(8, remnoise);
  return data_;
}