serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint16(0, mcc, Endian.little);
  data_.setUint16(2, mnc, Endian.little);
  data_.setUint16(4, lac, Endian.little);
  data_.setUint8(6, status);
  data_.setUint8(7, failureReason);
  data_.setUint8(8, type);
  data_.setUint8(9, quality);
  return data_;
}