serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint8(0, enableLte);
  data_.setUint8(1, enablePin);
  MavlinkMessage.setInt8List(data_, 2, pin);
  MavlinkMessage.setInt8List(data_, 18, newPin);
  MavlinkMessage.setInt8List(data_, 34, apn);
  MavlinkMessage.setInt8List(data_, 66, puk);
  data_.setUint8(82, roaming);
  data_.setUint8(83, response);
  return data_;
}