Classes | Namespaces | Enumerations | Functions | Variables
msp_msg.hpp File Reference
#include <array>
#include <cassert>
#include <climits>
#include <iomanip>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#include "Message.hpp"
Include dependency graph for msp_msg.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  msp::msg::AccCalibration
 
struct  msp::msg::AccTrim
 
struct  msp::msg::AccTrimSettings
 
struct  msp::msg::ActiveBoxes
 
struct  msp::msg::adjustmentRange
 
struct  msp::msg::AdjustmentRanges
 
struct  msp::msg::AdvancedConfig
 
struct  msp::msg::AdvancedConfigSettings
 
struct  msp::msg::Altitude
 
struct  msp::msg::Analog
 
struct  msp::msg::ApiVersion
 Cleanflight. More...
 
struct  msp::msg::ArmingConfig
 
struct  msp::msg::ArmingConfigSettings
 
struct  msp::msg::Attitude
 
struct  msp::msg::BatteryConfig
 
struct  msp::msg::BatteryConfigSettings
 
struct  msp::msg::BatteryState
 
struct  msp::msg::BeeperConfig
 
struct  msp::msg::BeeperConfigSettings
 
struct  msp::msg::BfBuildInfo
 
struct  msp::msg::BfConfig
 
struct  msp::msg::BfConfigSettings
 
struct  msp::msg::BlackboxConfig
 
struct  msp::msg::BlackboxConfigSettings
 
struct  msp::msg::BoardAlignment
 
struct  msp::msg::BoardAlignmentSettings
 
struct  msp::msg::BoardInfo
 
struct  msp::msg::BoardName
 
struct  msp::msg::box_description
 
struct  msp::msg::BoxIds
 
struct  msp::msg::BoxNames
 
struct  msp::msg::BuildInfo
 
struct  msp::msg::CalibrationData
 
struct  msp::msg::CalibrationDataSettings
 
struct  msp::msg::CameraControl
 
struct  msp::msg::CfSerialConfig
 
struct  msp::msg::CfSerialConfigSettings
 
struct  msp::msg::CommonMotorMixer
 
struct  msp::msg::CommonSetMotorMixer
 
struct  msp::msg::CommonSetSetting
 
struct  msp::msg::CommonSetting
 
struct  msp::msg::CommonSetTz
 
struct  msp::msg::CommonTz
 
struct  msp::msg::CompassConfig
 
struct  msp::msg::CompGPS
 
struct  msp::msg::CopyProfile
 
struct  msp::msg::CurrentMeter
 
struct  msp::msg::CurrentMeterConfig
 
struct  msp::msg::CurrentMeterConfigSettings
 
struct  msp::msg::CurrentMeters
 
struct  msp::msg::DataflashErase
 
struct  msp::msg::DataflashRead
 
struct  msp::msg::DataflashSummary
 
struct  msp::msg::Debug
 
struct  msp::msg::DebugMessage
 
struct  msp::msg::Displayport
 
struct  msp::msg::EscData
 
struct  msp::msg::EscSensorData
 
struct  msp::msg::FailsafeConfig
 
struct  msp::msg::FailsafeSettings
 
struct  msp::msg::FcVariant
 
struct  msp::msg::FcVersion
 
struct  msp::msg::Feature
 
struct  msp::msg::FilterConfig
 
struct  msp::msg::FilterConfigSettings
 
struct  msp::msg::FwConfig
 
struct  msp::msg::FwConfigSettings
 
struct  msp::msg::GpsConf
 
struct  msp::msg::GpsConfig
 
struct  msp::msg::GpsConfigSettings
 
struct  msp::msg::GpsStatistics
 
struct  msp::msg::GpsSvInfo
 
struct  msp::msg::GpsSvInfoSettings
 
struct  msp::msg::HsvColor
 
struct  msp::msg::Ident
 Requests (1xx) More...
 
struct  msp::msg::ImuSI
 
struct  msp::msg::InavAirSpeed
 
struct  msp::msg::InavAnalog
 
struct  msp::msg::InavBatteryConfig
 
struct  msp::msg::InavBatteryConfigSettings
 
struct  msp::msg::InavMisc
 
struct  msp::msg::InavMiscSettings
 
struct  msp::msg::InavOpticalFlow
 
struct  msp::msg::InavPid
 
struct  msp::msg::InavPidSettings
 
struct  msp::msg::InavRateProfile
 
struct  msp::msg::InavRateProfileSettings
 
struct  msp::msg::InavSetBatteryConfig
 
struct  msp::msg::InavSetMisc
 
struct  msp::msg::InavSetRateProfile
 
struct  msp::msg::InavStatus
 
struct  msp::msg::LedColors
 
struct  msp::msg::LedStripConfigs
 
struct  msp::msg::LedStripModecolor
 
struct  msp::msg::LoopTime
 
struct  msp::msg::MagCalibration
 
struct  msp::msg::Misc
 
struct  msp::msg::MiscSettings
 
struct  msp::msg::Mixer
 
struct  msp::msg::ModeRanges
 
struct  msp::msg::Motor
 
struct  msp::msg::Motor3dConfig
 
struct  msp::msg::MotorConfig
 
struct  msp::msg::MotorConfigSettings
 
struct  msp::msg::MotorMixer
 
struct  msp::msg::MotorPins
 
struct  msp::msg::NavConfig
 
struct  msp::msg::NavPosHold
 
struct  msp::msg::NavPosHoldSettings
 
struct  msp::msg::NavStatus
 
struct  msp::msg::OsdCharWrite
 
struct  msp::msg::OsdConfig
 
struct  msp::msg::OsdVideoConfig
 
struct  msp::msg::PassthroughSerial
 
struct  msp::msg::Pid
 
struct  msp::msg::PidAdvanced
 
struct  msp::msg::PidAdvancedSettings
 
struct  msp::msg::PidController
 
struct  msp::msg::PidNames
 
struct  msp::msg::PidSettings
 
struct  msp::msg::PidTerms
 
struct  msp::msg::PositionEstimationConfig
 
struct  msp::msg::PositionEstimationConfigSettings
 
struct  msp::msg::RawGPS
 
struct  msp::msg::RawImu
 
struct  msp::msg::Rc
 
struct  msp::msg::RcDeadband
 
struct  msp::msg::RcDeadbandSettings
 
struct  msp::msg::RcTuning
 
struct  msp::msg::RcTuningSettings
 
struct  msp::msg::Reboot
 
struct  msp::msg::Reserve1
 
struct  msp::msg::Reserve2
 
struct  msp::msg::ResetConfig
 
struct  msp::msg::RssiConfig
 
struct  msp::msg::Rtc
 
struct  msp::msg::RtcVals
 
struct  msp::msg::RthAndLandConfig
 
struct  msp::msg::RthAndLandConfigSettings
 
struct  msp::msg::RxConfig
 
struct  msp::msg::RxConfigSettings
 
struct  msp::msg::RxFailChannelSettings
 
struct  msp::msg::RxFailConfigs
 
struct  msp::msg::RxMap
 
struct  msp::msg::RxMapSettings
 
struct  msp::msg::SdcardSummary
 
struct  msp::msg::SelectSetting
 
struct  msp::msg::SensorAlignment
 
struct  msp::msg::SensorAlignmentSettings
 
struct  msp::msg::SensorConfig
 
struct  msp::msg::SensorConfigSettings
 
struct  msp::msg::SensorStatus
 
struct  msp::msg::Servo
 
struct  msp::msg::ServoConf
 
struct  msp::msg::ServoConfRange
 
struct  msp::msg::ServoMixRule
 
struct  msp::msg::ServoMixRules
 
struct  msp::msg::Set4WayIF
 
struct  msp::msg::SetAccTrim
 
struct  msp::msg::SetAdjustmentRange
 
struct  msp::msg::SetAdvancedConfig
 
struct  msp::msg::SetArmingConfig
 
struct  msp::msg::SetArmingDisabled
 
struct  msp::msg::SetBatteryConfig
 
struct  msp::msg::SetBeeperConfig
 
struct  msp::msg::SetBfConfig
 
struct  msp::msg::SetBlackboxConfig
 
struct  msp::msg::SetBoardAlignment
 
struct  msp::msg::SetBoardName
 
struct  msp::msg::SetBox
 
struct  msp::msg::SetCalibrationData
 
struct  msp::msg::SetCfSerialConfig
 
struct  msp::msg::SetCompassConfig
 
struct  msp::msg::SetCurrentMeterConfig
 
struct  msp::msg::SetFailsafeConfig
 
struct  msp::msg::SetFeature
 
struct  msp::msg::SetFilterConfig
 
struct  msp::msg::SetFwConfig
 
struct  msp::msg::SetGpsConfig
 
struct  msp::msg::SetHeading
 
struct  msp::msg::SetInavPid
 
struct  msp::msg::SetLedColors
 
struct  msp::msg::SetLedStripConfig
 
struct  msp::msg::SetLedStripModecolor
 
struct  msp::msg::SetLoopTime
 
struct  msp::msg::SetMisc
 
struct  msp::msg::SetMixer
 
struct  msp::msg::SetModeRange
 
struct  msp::msg::SetMotor
 
struct  msp::msg::SetMotor3dConf
 
struct  msp::msg::SetMotorConfig
 
struct  msp::msg::SetNavConfig
 
struct  msp::msg::SetNavPosHold
 
struct  msp::msg::SetOsdConfig
 
struct  msp::msg::SetOsdVideoConfig
 
struct  msp::msg::SetPid
 
struct  msp::msg::SetPidAdvanced
 
struct  msp::msg::SetPidController
 
struct  msp::msg::SetPositionEstimationConfig
 
struct  msp::msg::SetRawGPS
 
struct  msp::msg::SetRawRc
 Response (2xx) More...
 
struct  msp::msg::SetRcDeadband
 
struct  msp::msg::SetRcTuning
 
struct  msp::msg::SetResetCurrPid
 
struct  msp::msg::SetRssiConfig
 
struct  msp::msg::SetRtc
 
struct  msp::msg::SetRthAndLandConfig
 
struct  msp::msg::SetRxConfig
 
struct  msp::msg::SetRxFailConfigs
 
struct  msp::msg::SetRxMap
 
struct  msp::msg::SetSensorAlignment
 
struct  msp::msg::SetSensorConfig
 
struct  msp::msg::SetServoConf
 
struct  msp::msg::SetServoMixRule
 
struct  msp::msg::SetTransponderConfig
 
struct  msp::msg::SetTxInfo
 
struct  msp::msg::SetVoltageMeterConfig
 
struct  msp::msg::SetVtxConfig
 
struct  msp::msg::SetWp
 
struct  msp::msg::SonarAltitude
 
struct  msp::msg::Status
 
struct  msp::msg::StatusBase
 
struct  msp::msg::StatusEx
 
struct  msp::msg::TransponderConfig
 
struct  msp::msg::TransponderConfigSettings
 
struct  msp::msg::TxInfo
 
struct  msp::msg::Uid
 
struct  msp::msg::V2Frame
 
struct  msp::msg::VoltageMeter
 
struct  msp::msg::VoltageMeterConfig
 
struct  msp::msg::VoltageMeterConfigSettings
 
struct  msp::msg::VoltageMeters
 
struct  msp::msg::VtxConfig
 
struct  msp::msg::WayPoint
 
struct  msp::msg::WpGetInfo
 
struct  msp::msg::WpMissionLoad
 
struct  msp::msg::WpMissionSave
 
struct  msp::msg::WriteEEPROM
 

Namespaces

 msp
 
 msp::msg
 

Enumerations

enum  msp::ArmingFlags : uint32_t {
  msp::ArmingFlags::ARMED = (1 << 2), msp::ArmingFlags::WAS_EVER_ARMED = (1 << 3), msp::ArmingFlags::ARMING_DISABLED_FAILSAFE_SYSTEM = (1 << 7), msp::ArmingFlags::ARMING_DISABLED_NOT_LEVEL = (1 << 8),
  msp::ArmingFlags::ARMING_DISABLED_SENSORS_CALIBRATING = (1 << 9), msp::ArmingFlags::ARMING_DISABLED_SYSTEM_OVERLOADED = (1 << 10), msp::ArmingFlags::ARMING_DISABLED_NAVIGATION_UNSAFE = (1 << 11), msp::ArmingFlags::ARMING_DISABLED_COMPASS_NOT_CALIBRATED = (1 << 12),
  msp::ArmingFlags::ARMING_DISABLED_ACCELEROMETER_NOT_CALIBRATED = (1 << 13), msp::ArmingFlags::ARMING_DISABLED_ARM_SWITCH = (1 << 14), msp::ArmingFlags::ARMING_DISABLED_HARDWARE_FAILURE = (1 << 15), msp::ArmingFlags::ARMING_DISABLED_BOXFAILSAFE = (1 << 16),
  msp::ArmingFlags::ARMING_DISABLED_BOXKILLSWITCH = (1 << 17), msp::ArmingFlags::ARMING_DISABLED_RC_LINK = (1 << 18), msp::ArmingFlags::ARMING_DISABLED_THROTTLE = (1 << 19), msp::ArmingFlags::ARMING_DISABLED_CLI = (1 << 20),
  msp::ArmingFlags::ARMING_DISABLED_CMS_MENU = (1 << 21), msp::ArmingFlags::ARMING_DISABLED_OSD_MENU = (1 << 22), msp::ArmingFlags::ARMING_DISABLED_ROLLPITCH_NOT_CENTERED = (1 << 23), msp::ArmingFlags::ARMING_DISABLED_SERVO_AUTOTRIM = (1 << 24),
  msp::ArmingFlags::ARMING_DISABLED_OOM = (1 << 25), msp::ArmingFlags::ARMING_DISABLED_INVALID_SETTING = (1 << 26), msp::ArmingFlags::ARMING_DISABLED_ALL_FLAGS
}
 
enum  msp::msg::Capability {
  msp::msg::Capability::BIND, msp::msg::Capability::DYNBAL, msp::msg::Capability::FLAP, msp::msg::Capability::NAVCAP,
  msp::msg::Capability::EXTAUX
}
 
enum  msp::msg::DATA_TYPE : uint8_t {
  msp::msg::DATA_TYPE::UNSET, msp::msg::DATA_TYPE::UINT8, msp::msg::DATA_TYPE::INT8, msp::msg::DATA_TYPE::UINT16,
  msp::msg::DATA_TYPE::INT16, msp::msg::DATA_TYPE::UINT32, msp::msg::DATA_TYPE::FLOAT, msp::msg::DATA_TYPE::STRING
}
 
enum  msp::ID : uint16_t {
  msp::ID::MSP_API_VERSION = 1, msp::ID::MSP_FC_VARIANT = 2, msp::ID::MSP_FC_VERSION = 3, msp::ID::MSP_BOARD_INFO = 4,
  msp::ID::MSP_BUILD_INFO = 5, msp::ID::MSP_INAV_PID = 6, msp::ID::MSP_SET_INAV_PID = 7, msp::ID::MSP_NAME = 10,
  msp::ID::MSP_SET_NAME = 11, msp::ID::MSP_NAV_POSHOLD = 12, msp::ID::MSP_SET_NAV_POSHOLD = 13, msp::ID::MSP_CALIBRATION_DATA = 14,
  msp::ID::MSP_SET_CALIBRATION_DATA = 15, msp::ID::MSP_POSITION_ESTIMATION_CONFIG = 16, msp::ID::MSP_SET_POSITION_ESTIMATION_CONFIG = 17, msp::ID::MSP_WP_MISSION_LOAD = 18,
  msp::ID::MSP_WP_MISSION_SAVE = 19, msp::ID::MSP_WP_GETINFO = 20, msp::ID::MSP_RTH_AND_LAND_CONFIG = 21, msp::ID::MSP_SET_RTH_AND_LAND_CONFIG = 22,
  msp::ID::MSP_FW_CONFIG = 23, msp::ID::MSP_SET_FW_CONFIG = 24, msp::ID::MSP_BATTERY_CONFIG = 32, msp::ID::MSP_SET_BATTERY_CONFIG = 33,
  msp::ID::MSP_MODE_RANGES = 34, msp::ID::MSP_SET_MODE_RANGE = 35, msp::ID::MSP_FEATURE = 36, msp::ID::MSP_SET_FEATURE = 37,
  msp::ID::MSP_BOARD_ALIGNMENT = 38, msp::ID::MSP_SET_BOARD_ALIGNMENT = 39, msp::ID::MSP_CURRENT_METER_CONFIG = 40, msp::ID::MSP_SET_CURRENT_METER_CONFIG = 41,
  msp::ID::MSP_MIXER = 42, msp::ID::MSP_SET_MIXER = 43, msp::ID::MSP_RX_CONFIG = 44, msp::ID::MSP_SET_RX_CONFIG = 45,
  msp::ID::MSP_LED_COLORS = 46, msp::ID::MSP_SET_LED_COLORS = 47, msp::ID::MSP_LED_STRIP_CONFIG = 48, msp::ID::MSP_SET_LED_STRIP_CONFIG = 49,
  msp::ID::MSP_RSSI_CONFIG = 50, msp::ID::MSP_SET_RSSI_CONFIG = 51, msp::ID::MSP_ADJUSTMENT_RANGES = 52, msp::ID::MSP_SET_ADJUSTMENT_RANGE = 53,
  msp::ID::MSP_CF_SERIAL_CONFIG = 54, msp::ID::MSP_SET_CF_SERIAL_CONFIG = 55, msp::ID::MSP_VOLTAGE_METER_CONFIG = 56, msp::ID::MSP_SET_VOLTAGE_METER_CONFIG = 57,
  msp::ID::MSP_SONAR_ALTITUDE = 58, msp::ID::MSP_PID_CONTROLLER = 59, msp::ID::MSP_SET_PID_CONTROLLER = 60, msp::ID::MSP_ARMING_CONFIG = 61,
  msp::ID::MSP_SET_ARMING_CONFIG = 62, msp::ID::MSP_RX_MAP = 64, msp::ID::MSP_SET_RX_MAP = 65, msp::ID::MSP_BF_CONFIG = 66,
  msp::ID::MSP_SET_BF_CONFIG = 67, msp::ID::MSP_REBOOT = 68, msp::ID::MSP_BF_BUILD_INFO = 69, msp::ID::MSP_DATAFLASH_SUMMARY = 70,
  msp::ID::MSP_DATAFLASH_READ = 71, msp::ID::MSP_DATAFLASH_ERASE = 72, msp::ID::MSP_LOOP_TIME = 73, msp::ID::MSP_SET_LOOP_TIME = 74,
  msp::ID::MSP_FAILSAFE_CONFIG = 75, msp::ID::MSP_SET_FAILSAFE_CONFIG = 76, msp::ID::MSP_RXFAIL_CONFIG = 77, msp::ID::MSP_SET_RXFAIL_CONFIG = 78,
  msp::ID::MSP_SDCARD_SUMMARY = 79, msp::ID::MSP_BLACKBOX_CONFIG = 80, msp::ID::MSP_SET_BLACKBOX_CONFIG = 81, msp::ID::MSP_TRANSPONDER_CONFIG = 82,
  msp::ID::MSP_SET_TRANSPONDER_CONFIG = 83, msp::ID::MSP_OSD_CONFIG = 84, msp::ID::MSP_SET_OSD_CONFIG = 85, msp::ID::MSP_OSD_CHAR_READ = 86,
  msp::ID::MSP_OSD_CHAR_WRITE = 87, msp::ID::MSP_VTX_CONFIG = 88, msp::ID::MSP_SET_VTX_CONFIG = 89, msp::ID::MSP_ADVANCED_CONFIG = 90,
  msp::ID::MSP_SET_ADVANCED_CONFIG = 91, msp::ID::MSP_FILTER_CONFIG = 92, msp::ID::MSP_SET_FILTER_CONFIG = 93, msp::ID::MSP_PID_ADVANCED = 94,
  msp::ID::MSP_SET_PID_ADVANCED = 95, msp::ID::MSP_SENSOR_CONFIG = 96, msp::ID::MSP_SET_SENSOR_CONFIG = 97, msp::ID::MSP_CAMERA_CONTROL = 98,
  msp::ID::MSP_SET_ARMING_DISABLED = 99, msp::ID::MSP_IDENT = 100, msp::ID::MSP_STATUS = 101, msp::ID::MSP_RAW_IMU = 102,
  msp::ID::MSP_SERVO = 103, msp::ID::MSP_MOTOR = 104, msp::ID::MSP_RC = 105, msp::ID::MSP_RAW_GPS = 106,
  msp::ID::MSP_COMP_GPS = 107, msp::ID::MSP_ATTITUDE = 108, msp::ID::MSP_ALTITUDE = 109, msp::ID::MSP_ANALOG = 110,
  msp::ID::MSP_RC_TUNING = 111, msp::ID::MSP_PID = 112, msp::ID::MSP_ACTIVEBOXES = 113, msp::ID::MSP_MISC = 114,
  msp::ID::MSP_MOTOR_PINS = 115, msp::ID::MSP_BOXNAMES = 116, msp::ID::MSP_PIDNAMES = 117, msp::ID::MSP_WP = 118,
  msp::ID::MSP_BOXIDS = 119, msp::ID::MSP_SERVO_CONF = 120, msp::ID::MSP_NAV_STATUS = 121, msp::ID::MSP_NAV_CONFIG = 122,
  msp::ID::MSP_MOTOR_3D_CONFIG = 124, msp::ID::MSP_RC_DEADBAND = 125, msp::ID::MSP_SENSOR_ALIGNMENT = 126, msp::ID::MSP_LED_STRIP_MODECOLOR = 127,
  msp::ID::MSP_VOLTAGE_METERS = 128, msp::ID::MSP_CURRENT_METERS = 129, msp::ID::MSP_BATTERY_STATE = 130, msp::ID::MSP_MOTOR_CONFIG = 131,
  msp::ID::MSP_GPS_CONFIG = 132, msp::ID::MSP_COMPASS_CONFIG = 133, msp::ID::MSP_ESC_SENSOR_DATA = 134, msp::ID::MSP_STATUS_EX = 150,
  msp::ID::MSP_SENSOR_STATUS = 151, msp::ID::MSP_UID = 160, msp::ID::MSP_GPSSVINFO = 164, msp::ID::MSP_GPSSTATISTICS = 166,
  msp::ID::MSP_OSD_VIDEO_CONFIG = 180, msp::ID::MSP_SET_OSD_VIDEO_CONFIG = 181, msp::ID::MSP_DISPLAYPORT = 182, msp::ID::MSP_COPY_PROFILE = 183,
  msp::ID::MSP_BEEPER_CONFIG = 184, msp::ID::MSP_SET_BEEPER_CONFIG = 185, msp::ID::MSP_SET_TX_INFO = 186, msp::ID::MSP_TX_INFO = 187,
  msp::ID::MSP_SET_RAW_RC = 200, msp::ID::MSP_SET_RAW_GPS = 201, msp::ID::MSP_SET_PID = 202, msp::ID::MSP_SET_BOX = 203,
  msp::ID::MSP_SET_RC_TUNING = 204, msp::ID::MSP_ACC_CALIBRATION = 205, msp::ID::MSP_MAG_CALIBRATION = 206, msp::ID::MSP_SET_MISC = 207,
  msp::ID::MSP_RESET_CONF = 208, msp::ID::MSP_SET_WP = 209, msp::ID::MSP_SELECT_SETTING = 210, msp::ID::MSP_SET_HEADING = 211,
  msp::ID::MSP_SET_SERVO_CONF = 212, msp::ID::MSP_SET_MOTOR = 214, msp::ID::MSP_SET_NAV_CONFIG = 215, msp::ID::MSP_SET_MOTOR_3D_CONF = 217,
  msp::ID::MSP_SET_RC_DEADBAND = 218, msp::ID::MSP_SET_RESET_CURR_PID = 219, msp::ID::MSP_SET_SENSOR_ALIGNMENT = 220, msp::ID::MSP_SET_LED_STRIP_MODECOLOR = 221,
  msp::ID::MSP_SET_MOTOR_CONFIG = 222, msp::ID::MSP_SET_GPS_CONFIG = 223, msp::ID::MSP_SET_COMPASS_CONFIG = 224, msp::ID::MSP_SET_ACC_TRIM = 239,
  msp::ID::MSP_ACC_TRIM = 240, msp::ID::MSP_SERVO_MIX_RULES = 241, msp::ID::MSP_SET_SERVO_MIX_RULE = 242, msp::ID::MSP_PASSTHROUGH_SERIAL = 244,
  msp::ID::MSP_SET_4WAY_IF = 245, msp::ID::MSP_SET_RTC = 246, msp::ID::MSP_RTC = 247, msp::ID::MSP_EEPROM_WRITE = 250,
  msp::ID::MSP_RESERVE_1 = 251, msp::ID::MSP_RESERVE_2 = 252, msp::ID::MSP_DEBUGMSG = 253, msp::ID::MSP_DEBUG = 254,
  msp::ID::MSP_V2_FRAME = 255, msp::ID::MSP2_COMMON_TZ = 0x1001, msp::ID::MSP2_COMMON_SET_TZ = 0x1002, msp::ID::MSP2_COMMON_SETTING = 0x1003,
  msp::ID::MSP2_COMMON_SET_SETTING = 0x1004, msp::ID::MSP2_COMMON_MOTOR_MIXER = 0x1005, msp::ID::MSP2_COMMON_SET_MOTOR_MIXER = 0x1006, msp::ID::MSP2_INAV_STATUS = 0x2000,
  msp::ID::MSP2_INAV_OPTICAL_FLOW = 0x2001, msp::ID::MSP2_INAV_ANALOG = 0x2002, msp::ID::MSP2_INAV_MISC = 0x2003, msp::ID::MSP2_INAV_SET_MISC = 0x2004,
  msp::ID::MSP2_INAV_BATTERY_CONFIG = 0x2005, msp::ID::MSP2_INAV_SET_BATTERY_CONFIG = 0x2006, msp::ID::MSP2_INAV_RATE_PROFILE = 0x2007, msp::ID::MSP2_INAV_SET_RATE_PROFILE = 0x2008,
  msp::ID::MSP2_INAV_AIR_SPEED = 0x2009
}
 
enum  msp::msg::MultiType : uint8_t {
  msp::msg::MultiType::TRI = 1, msp::msg::MultiType::QUADP, msp::msg::MultiType::QUADX, msp::msg::MultiType::BI,
  msp::msg::MultiType::GIMBAL, msp::msg::MultiType::Y6, msp::msg::MultiType::HEX6, msp::msg::MultiType::FLYING_WING,
  msp::msg::MultiType::Y4, msp::msg::MultiType::HEX6X, msp::msg::MultiType::OCTOX8, msp::msg::MultiType::OCTOFLATP,
  msp::msg::MultiType::OCTOFLATX, msp::msg::MultiType::AIRPLANE, msp::msg::MultiType::HELI_120_CCPM, msp::msg::MultiType::HELI_90_DEG,
  msp::msg::MultiType::VTAIL4, msp::msg::MultiType::HEX6H, msp::msg::MultiType::DUALCOPTER = 20, msp::msg::MultiType::SINGLECOPTER
}
 
enum  msp::msg::PID_Element : uint8_t {
  msp::msg::PID_Element::PID_ROLL = 0, msp::msg::PID_Element::PID_PITCH, msp::msg::PID_Element::PID_YAW, msp::msg::PID_Element::PID_POS_Z,
  msp::msg::PID_Element::PID_POS_XY, msp::msg::PID_Element::PID_VEL_XY, msp::msg::PID_Element::PID_SURFACE, msp::msg::PID_Element::PID_LEVEL,
  msp::msg::PID_Element::PID_HEADING, msp::msg::PID_Element::PID_VEL_Z, msp::msg::PID_Element::PID_ITEM_COUNT
}
 
enum  msp::msg::Sensor {
  msp::msg::Sensor::Accelerometer, msp::msg::Sensor::Barometer, msp::msg::Sensor::Magnetometer, msp::msg::Sensor::GPS,
  msp::msg::Sensor::Sonar, msp::msg::Sensor::OpticalFlow, msp::msg::Sensor::Pitot, msp::msg::Sensor::GeneralHealth
}
 
enum  msp::msg::SwitchPosition : size_t { msp::msg::SwitchPosition::LOW = 0, msp::msg::SwitchPosition::MID = 1, msp::msg::SwitchPosition::HIGH = 2 }
 

Functions

std::string msp::armingFlagToString (uint32_t flag)
 
std::ostream & operator<< (std::ostream &s, const msp::msg::ImuSI &val)
 

Variables

static const size_t msp::msg::BOARD_IDENTIFIER_LENGTH = 4
 
static const size_t msp::msg::BUILD_DATE_LENGTH = 11
 
static const size_t msp::msg::BUILD_TIME_LENGTH = 8
 
static const std::vector< std::string > msp::msg::FEATURES
 
static const size_t msp::msg::GIT_SHORT_REVISION_LENGTH = 7
 
static const size_t msp::msg::LED_CONFIGURABLE_COLOR_COUNT = 16
 
static const size_t msp::msg::LED_DIRECTION_COUNT = 6
 
static const size_t msp::msg::LED_MAX_STRIP_LENGTH = 32
 
static const size_t msp::msg::LED_MODE_COUNT = 6
 
static const size_t msp::msg::LED_SPECIAL_COLOR_COUNT = 11
 
static const size_t msp::msg::MAX_ADJUSTMENT_RANGE_COUNT = 12
 
static const size_t msp::msg::MAX_MAPPABLE_RX_INPUTS = 4
 
static const size_t msp::msg::MAX_MODE_ACTIVATION_CONDITION_COUNT = 20
 
static const size_t msp::msg::MAX_NAME_LENGTH = 16
 
static const size_t msp::msg::MAX_SIMULTANEOUS_ADJUSTMENT_COUNT = 6
 
static const size_t msp::msg::N_MOTOR = 8
 
static const size_t msp::msg::N_SERVO = 8
 
static const size_t msp::msg::NAUX = 4
 
static const size_t msp::msg::OSD_ITEM_COUNT = 41
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const msp::msg::ImuSI val 
)
inline

Definition at line 5555 of file msp_msg.hpp.



msp
Author(s): Christian Rauch
autogenerated on Tue Oct 6 2020 03:39:02