crcExtra method

  1. @override
int crcExtra(
  1. int messageID
)
override

Returns CRC Extra of messageID. Returns -1 if unsupported messageID.

Implementation

@override
int crcExtra(int messageID) {
  switch (messageID) {
    case 0:
      return Heartbeat._mavlinkCrcExtra;
    case 300:
      return ProtocolVersion._mavlinkCrcExtra;
    case 1:
      return SysStatus._mavlinkCrcExtra;
    case 2:
      return SystemTime._mavlinkCrcExtra;
    case 4:
      return Ping._mavlinkCrcExtra;
    case 5:
      return ChangeOperatorControl._mavlinkCrcExtra;
    case 6:
      return ChangeOperatorControlAck._mavlinkCrcExtra;
    case 7:
      return AuthKey._mavlinkCrcExtra;
    case 8:
      return LinkNodeStatus._mavlinkCrcExtra;
    case 11:
      return SetMode._mavlinkCrcExtra;
    case 20:
      return ParamRequestRead._mavlinkCrcExtra;
    case 21:
      return ParamRequestList._mavlinkCrcExtra;
    case 22:
      return ParamValue._mavlinkCrcExtra;
    case 23:
      return ParamSet._mavlinkCrcExtra;
    case 24:
      return GpsRawInt._mavlinkCrcExtra;
    case 25:
      return GpsStatus._mavlinkCrcExtra;
    case 26:
      return ScaledImu._mavlinkCrcExtra;
    case 27:
      return RawImu._mavlinkCrcExtra;
    case 28:
      return RawPressure._mavlinkCrcExtra;
    case 29:
      return ScaledPressure._mavlinkCrcExtra;
    case 30:
      return Attitude._mavlinkCrcExtra;
    case 31:
      return AttitudeQuaternion._mavlinkCrcExtra;
    case 32:
      return LocalPositionNed._mavlinkCrcExtra;
    case 33:
      return GlobalPositionInt._mavlinkCrcExtra;
    case 34:
      return RcChannelsScaled._mavlinkCrcExtra;
    case 35:
      return RcChannelsRaw._mavlinkCrcExtra;
    case 36:
      return ServoOutputRaw._mavlinkCrcExtra;
    case 37:
      return MissionRequestPartialList._mavlinkCrcExtra;
    case 38:
      return MissionWritePartialList._mavlinkCrcExtra;
    case 39:
      return MissionItem._mavlinkCrcExtra;
    case 40:
      return MissionRequest._mavlinkCrcExtra;
    case 41:
      return MissionSetCurrent._mavlinkCrcExtra;
    case 42:
      return MissionCurrent._mavlinkCrcExtra;
    case 43:
      return MissionRequestList._mavlinkCrcExtra;
    case 44:
      return MissionCount._mavlinkCrcExtra;
    case 45:
      return MissionClearAll._mavlinkCrcExtra;
    case 46:
      return MissionItemReached._mavlinkCrcExtra;
    case 47:
      return MissionAck._mavlinkCrcExtra;
    case 48:
      return SetGpsGlobalOrigin._mavlinkCrcExtra;
    case 49:
      return GpsGlobalOrigin._mavlinkCrcExtra;
    case 50:
      return ParamMapRc._mavlinkCrcExtra;
    case 51:
      return MissionRequestInt._mavlinkCrcExtra;
    case 54:
      return SafetySetAllowedArea._mavlinkCrcExtra;
    case 55:
      return SafetyAllowedArea._mavlinkCrcExtra;
    case 61:
      return AttitudeQuaternionCov._mavlinkCrcExtra;
    case 62:
      return NavControllerOutput._mavlinkCrcExtra;
    case 63:
      return GlobalPositionIntCov._mavlinkCrcExtra;
    case 64:
      return LocalPositionNedCov._mavlinkCrcExtra;
    case 65:
      return RcChannels._mavlinkCrcExtra;
    case 66:
      return RequestDataStream._mavlinkCrcExtra;
    case 67:
      return DataStream._mavlinkCrcExtra;
    case 69:
      return ManualControl._mavlinkCrcExtra;
    case 70:
      return RcChannelsOverride._mavlinkCrcExtra;
    case 73:
      return MissionItemInt._mavlinkCrcExtra;
    case 74:
      return VfrHud._mavlinkCrcExtra;
    case 75:
      return CommandInt._mavlinkCrcExtra;
    case 76:
      return CommandLong._mavlinkCrcExtra;
    case 77:
      return CommandAck._mavlinkCrcExtra;
    case 80:
      return CommandCancel._mavlinkCrcExtra;
    case 81:
      return ManualSetpoint._mavlinkCrcExtra;
    case 82:
      return SetAttitudeTarget._mavlinkCrcExtra;
    case 83:
      return AttitudeTarget._mavlinkCrcExtra;
    case 84:
      return SetPositionTargetLocalNed._mavlinkCrcExtra;
    case 85:
      return PositionTargetLocalNed._mavlinkCrcExtra;
    case 86:
      return SetPositionTargetGlobalInt._mavlinkCrcExtra;
    case 87:
      return PositionTargetGlobalInt._mavlinkCrcExtra;
    case 89:
      return LocalPositionNedSystemGlobalOffset._mavlinkCrcExtra;
    case 90:
      return HilState._mavlinkCrcExtra;
    case 91:
      return HilControls._mavlinkCrcExtra;
    case 92:
      return HilRcInputsRaw._mavlinkCrcExtra;
    case 93:
      return HilActuatorControls._mavlinkCrcExtra;
    case 100:
      return OpticalFlow._mavlinkCrcExtra;
    case 101:
      return GlobalVisionPositionEstimate._mavlinkCrcExtra;
    case 102:
      return VisionPositionEstimate._mavlinkCrcExtra;
    case 103:
      return VisionSpeedEstimate._mavlinkCrcExtra;
    case 104:
      return ViconPositionEstimate._mavlinkCrcExtra;
    case 105:
      return HighresImu._mavlinkCrcExtra;
    case 106:
      return OpticalFlowRad._mavlinkCrcExtra;
    case 107:
      return HilSensor._mavlinkCrcExtra;
    case 108:
      return SimState._mavlinkCrcExtra;
    case 109:
      return RadioStatus._mavlinkCrcExtra;
    case 110:
      return FileTransferProtocol._mavlinkCrcExtra;
    case 111:
      return Timesync._mavlinkCrcExtra;
    case 112:
      return CameraTrigger._mavlinkCrcExtra;
    case 113:
      return HilGps._mavlinkCrcExtra;
    case 114:
      return HilOpticalFlow._mavlinkCrcExtra;
    case 115:
      return HilStateQuaternion._mavlinkCrcExtra;
    case 116:
      return ScaledImu2._mavlinkCrcExtra;
    case 117:
      return LogRequestList._mavlinkCrcExtra;
    case 118:
      return LogEntry._mavlinkCrcExtra;
    case 119:
      return LogRequestData._mavlinkCrcExtra;
    case 120:
      return LogData._mavlinkCrcExtra;
    case 121:
      return LogErase._mavlinkCrcExtra;
    case 122:
      return LogRequestEnd._mavlinkCrcExtra;
    case 123:
      return GpsInjectData._mavlinkCrcExtra;
    case 124:
      return Gps2Raw._mavlinkCrcExtra;
    case 125:
      return PowerStatus._mavlinkCrcExtra;
    case 126:
      return SerialControl._mavlinkCrcExtra;
    case 127:
      return GpsRtk._mavlinkCrcExtra;
    case 128:
      return Gps2Rtk._mavlinkCrcExtra;
    case 129:
      return ScaledImu3._mavlinkCrcExtra;
    case 130:
      return DataTransmissionHandshake._mavlinkCrcExtra;
    case 131:
      return EncapsulatedData._mavlinkCrcExtra;
    case 132:
      return DistanceSensor._mavlinkCrcExtra;
    case 133:
      return TerrainRequest._mavlinkCrcExtra;
    case 134:
      return TerrainData._mavlinkCrcExtra;
    case 135:
      return TerrainCheck._mavlinkCrcExtra;
    case 136:
      return TerrainReport._mavlinkCrcExtra;
    case 137:
      return ScaledPressure2._mavlinkCrcExtra;
    case 138:
      return AttPosMocap._mavlinkCrcExtra;
    case 139:
      return SetActuatorControlTarget._mavlinkCrcExtra;
    case 140:
      return ActuatorControlTarget._mavlinkCrcExtra;
    case 141:
      return Altitude._mavlinkCrcExtra;
    case 142:
      return ResourceRequest._mavlinkCrcExtra;
    case 143:
      return ScaledPressure3._mavlinkCrcExtra;
    case 144:
      return FollowTarget._mavlinkCrcExtra;
    case 146:
      return ControlSystemState._mavlinkCrcExtra;
    case 147:
      return BatteryStatus._mavlinkCrcExtra;
    case 148:
      return AutopilotVersion._mavlinkCrcExtra;
    case 149:
      return LandingTarget._mavlinkCrcExtra;
    case 162:
      return FenceStatus._mavlinkCrcExtra;
    case 192:
      return MagCalReport._mavlinkCrcExtra;
    case 225:
      return EfiStatus._mavlinkCrcExtra;
    case 230:
      return EstimatorStatus._mavlinkCrcExtra;
    case 231:
      return WindCov._mavlinkCrcExtra;
    case 232:
      return GpsInput._mavlinkCrcExtra;
    case 233:
      return GpsRtcmData._mavlinkCrcExtra;
    case 234:
      return HighLatency._mavlinkCrcExtra;
    case 235:
      return HighLatency2._mavlinkCrcExtra;
    case 241:
      return Vibration._mavlinkCrcExtra;
    case 242:
      return HomePosition._mavlinkCrcExtra;
    case 243:
      return SetHomePosition._mavlinkCrcExtra;
    case 244:
      return MessageInterval._mavlinkCrcExtra;
    case 245:
      return ExtendedSysState._mavlinkCrcExtra;
    case 246:
      return AdsbVehicle._mavlinkCrcExtra;
    case 247:
      return Collision._mavlinkCrcExtra;
    case 248:
      return V2Extension._mavlinkCrcExtra;
    case 249:
      return MemoryVect._mavlinkCrcExtra;
    case 250:
      return DebugVect._mavlinkCrcExtra;
    case 251:
      return NamedValueFloat._mavlinkCrcExtra;
    case 252:
      return NamedValueInt._mavlinkCrcExtra;
    case 253:
      return Statustext._mavlinkCrcExtra;
    case 254:
      return Debug._mavlinkCrcExtra;
    case 256:
      return SetupSigning._mavlinkCrcExtra;
    case 257:
      return ButtonChange._mavlinkCrcExtra;
    case 258:
      return PlayTune._mavlinkCrcExtra;
    case 259:
      return CameraInformation._mavlinkCrcExtra;
    case 260:
      return CameraSettings._mavlinkCrcExtra;
    case 261:
      return StorageInformation._mavlinkCrcExtra;
    case 262:
      return CameraCaptureStatus._mavlinkCrcExtra;
    case 263:
      return CameraImageCaptured._mavlinkCrcExtra;
    case 264:
      return FlightInformation._mavlinkCrcExtra;
    case 265:
      return MountOrientation._mavlinkCrcExtra;
    case 266:
      return LoggingData._mavlinkCrcExtra;
    case 267:
      return LoggingDataAcked._mavlinkCrcExtra;
    case 268:
      return LoggingAck._mavlinkCrcExtra;
    case 269:
      return VideoStreamInformation._mavlinkCrcExtra;
    case 270:
      return VideoStreamStatus._mavlinkCrcExtra;
    case 271:
      return CameraFovStatus._mavlinkCrcExtra;
    case 275:
      return CameraTrackingImageStatus._mavlinkCrcExtra;
    case 276:
      return CameraTrackingGeoStatus._mavlinkCrcExtra;
    case 280:
      return GimbalManagerInformation._mavlinkCrcExtra;
    case 281:
      return GimbalManagerStatus._mavlinkCrcExtra;
    case 282:
      return GimbalManagerSetAttitude._mavlinkCrcExtra;
    case 283:
      return GimbalDeviceInformation._mavlinkCrcExtra;
    case 284:
      return GimbalDeviceSetAttitude._mavlinkCrcExtra;
    case 285:
      return GimbalDeviceAttitudeStatus._mavlinkCrcExtra;
    case 286:
      return AutopilotStateForGimbalDevice._mavlinkCrcExtra;
    case 287:
      return GimbalManagerSetPitchyaw._mavlinkCrcExtra;
    case 288:
      return GimbalManagerSetManualControl._mavlinkCrcExtra;
    case 290:
      return EscInfo._mavlinkCrcExtra;
    case 291:
      return EscStatus._mavlinkCrcExtra;
    case 299:
      return WifiConfigAp._mavlinkCrcExtra;
    case 301:
      return AisVessel._mavlinkCrcExtra;
    case 310:
      return UavcanNodeStatus._mavlinkCrcExtra;
    case 311:
      return UavcanNodeInfo._mavlinkCrcExtra;
    case 320:
      return ParamExtRequestRead._mavlinkCrcExtra;
    case 321:
      return ParamExtRequestList._mavlinkCrcExtra;
    case 322:
      return ParamExtValue._mavlinkCrcExtra;
    case 323:
      return ParamExtSet._mavlinkCrcExtra;
    case 324:
      return ParamExtAck._mavlinkCrcExtra;
    case 330:
      return ObstacleDistance._mavlinkCrcExtra;
    case 331:
      return Odometry._mavlinkCrcExtra;
    case 332:
      return TrajectoryRepresentationWaypoints._mavlinkCrcExtra;
    case 333:
      return TrajectoryRepresentationBezier._mavlinkCrcExtra;
    case 334:
      return CellularStatus._mavlinkCrcExtra;
    case 335:
      return IsbdLinkStatus._mavlinkCrcExtra;
    case 336:
      return CellularConfig._mavlinkCrcExtra;
    case 339:
      return RawRpm._mavlinkCrcExtra;
    case 340:
      return UtmGlobalPosition._mavlinkCrcExtra;
    case 350:
      return DebugFloatArray._mavlinkCrcExtra;
    case 360:
      return OrbitExecutionStatus._mavlinkCrcExtra;
    case 370:
      return BatteryInfo._mavlinkCrcExtra;
    case 373:
      return GeneratorStatus._mavlinkCrcExtra;
    case 375:
      return ActuatorOutputStatus._mavlinkCrcExtra;
    case 380:
      return TimeEstimateToTarget._mavlinkCrcExtra;
    case 385:
      return Tunnel._mavlinkCrcExtra;
    case 386:
      return CanFrame._mavlinkCrcExtra;
    case 390:
      return OnboardComputerStatus._mavlinkCrcExtra;
    case 395:
      return ComponentInformation._mavlinkCrcExtra;
    case 397:
      return ComponentMetadata._mavlinkCrcExtra;
    case 400:
      return PlayTuneV2._mavlinkCrcExtra;
    case 401:
      return SupportedTunes._mavlinkCrcExtra;
    case 410:
      return Event._mavlinkCrcExtra;
    case 411:
      return CurrentEventSequence._mavlinkCrcExtra;
    case 412:
      return RequestEvent._mavlinkCrcExtra;
    case 413:
      return ResponseEventError._mavlinkCrcExtra;
    case 387:
      return CanfdFrame._mavlinkCrcExtra;
    case 388:
      return CanFilterModify._mavlinkCrcExtra;
    case 9000:
      return WheelDistance._mavlinkCrcExtra;
    case 9005:
      return WinchStatus._mavlinkCrcExtra;
    case 12900:
      return OpenDroneIdBasicId._mavlinkCrcExtra;
    case 12901:
      return OpenDroneIdLocation._mavlinkCrcExtra;
    case 12902:
      return OpenDroneIdAuthentication._mavlinkCrcExtra;
    case 12903:
      return OpenDroneIdSelfId._mavlinkCrcExtra;
    case 12904:
      return OpenDroneIdSystem._mavlinkCrcExtra;
    case 12905:
      return OpenDroneIdOperatorId._mavlinkCrcExtra;
    case 12915:
      return OpenDroneIdMessagePack._mavlinkCrcExtra;
    case 12918:
      return OpenDroneIdArmStatus._mavlinkCrcExtra;
    case 12919:
      return OpenDroneIdSystemUpdate._mavlinkCrcExtra;
    case 12920:
      return HygrometerSensor._mavlinkCrcExtra;
    case 150:
      return FlexifunctionSet._mavlinkCrcExtra;
    case 151:
      return FlexifunctionReadReq._mavlinkCrcExtra;
    case 152:
      return FlexifunctionBufferFunction._mavlinkCrcExtra;
    case 153:
      return FlexifunctionBufferFunctionAck._mavlinkCrcExtra;
    case 155:
      return FlexifunctionDirectory._mavlinkCrcExtra;
    case 156:
      return FlexifunctionDirectoryAck._mavlinkCrcExtra;
    case 157:
      return FlexifunctionCommand._mavlinkCrcExtra;
    case 158:
      return FlexifunctionCommandAck._mavlinkCrcExtra;
    case 170:
      return SerialUdbExtraF2A._mavlinkCrcExtra;
    case 171:
      return SerialUdbExtraF2B._mavlinkCrcExtra;
    case 172:
      return SerialUdbExtraF4._mavlinkCrcExtra;
    case 173:
      return SerialUdbExtraF5._mavlinkCrcExtra;
    case 174:
      return SerialUdbExtraF6._mavlinkCrcExtra;
    case 175:
      return SerialUdbExtraF7._mavlinkCrcExtra;
    case 176:
      return SerialUdbExtraF8._mavlinkCrcExtra;
    case 177:
      return SerialUdbExtraF13._mavlinkCrcExtra;
    case 178:
      return SerialUdbExtraF14._mavlinkCrcExtra;
    case 179:
      return SerialUdbExtraF15._mavlinkCrcExtra;
    case 180:
      return SerialUdbExtraF16._mavlinkCrcExtra;
    case 181:
      return Altitudes._mavlinkCrcExtra;
    case 182:
      return Airspeeds._mavlinkCrcExtra;
    case 183:
      return SerialUdbExtraF17._mavlinkCrcExtra;
    case 184:
      return SerialUdbExtraF18._mavlinkCrcExtra;
    case 185:
      return SerialUdbExtraF19._mavlinkCrcExtra;
    case 186:
      return SerialUdbExtraF20._mavlinkCrcExtra;
    case 187:
      return SerialUdbExtraF21._mavlinkCrcExtra;
    case 188:
      return SerialUdbExtraF22._mavlinkCrcExtra;
    default:
      return -1;
  }
}