serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint8(0, satellitesVisible);
  MavlinkMessage.setUint8List(data_, 1, satellitePrn);
  MavlinkMessage.setUint8List(data_, 21, satelliteUsed);
  MavlinkMessage.setUint8List(data_, 41, satelliteElevation);
  MavlinkMessage.setUint8List(data_, 61, satelliteAzimuth);
  MavlinkMessage.setUint8List(data_, 81, satelliteSnr);
  return data_;
}