Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
msp Namespace Reference

Namespaces

 client
 
 msg
 

Classes

class  ByteVector
 
class  ByteVectorBasicTest
 
class  ByteVectorScaledTest
 
class  Message
 
struct  Packable
 Definition of a pure virtual class used to indicate that a child class can pack itself into a ByteVector and unpack itself from a ByteVector. More...
 
class  PeriodicTimer
 
class  Value
 
class  valueTest
 

Typedefs

typedef ::testing::Types< bool, uint8_t, uint16_t, uint32_t, int8_t, int16_t, int32_t, float, double > basicTypes
 
typedef std::shared_ptr< ByteVectorByteVectorPtr
 
typedef std::unique_ptr< ByteVectorByteVectorUptr
 
typedef ::testing::Types< bool, uint8_t, uint16_t, uint32_t, int8_t, int16_t, int32_t, float, double > numTypes
 
typedef ::testing::Types< uint8_t, uint16_t, uint32_t, int8_t, int16_t, int32_t > scaleOutputTypes
 

Enumerations

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

Functions

std::string armingFlagToString (uint32_t flag)
 
std::string firmwareVariantToString (FirmwareVariant variant)
 Converts a FirmwareVariant into a matching string. More...
 
 TEST (ByteVectorBasicTest, Initialzation)
 
 TEST (valueTest, stringInit)
 
 TEST (valueTest, stringAssign)
 
 TEST (valueTest, ByteVecInit)
 
 TEST (valueTest, ByteVecAssign)
 
 TYPED_TEST (ByteVectorBasicTest, Pack1zero)
 
 TYPED_TEST (ByteVectorBasicTest, Pack1one)
 
 TYPED_TEST (valueTest, Initialzation)
 
 TYPED_TEST (ByteVectorBasicTest, Pack1max)
 
 TYPED_TEST (valueTest, AssignmentZero)
 
 TYPED_TEST (ByteVectorBasicTest, Pack1min)
 
 TYPED_TEST (valueTest, AssignmentMax)
 
 TYPED_TEST (ByteVectorBasicTest, Pack1valzero)
 
 TYPED_TEST (ByteVectorBasicTest, Pack1valone)
 
 TYPED_TEST (valueTest, AssignmentMin)
 
 TYPED_TEST (ByteVectorBasicTest, Pack1valmax)
 
 TYPED_TEST (valueTest, AssignmentCast)
 
 TYPED_TEST (ByteVectorBasicTest, Pack1valmin)
 
 TYPED_TEST (ByteVectorBasicTest, Pack10zero)
 
 TYPED_TEST (ByteVectorBasicTest, Pack10one)
 
 TYPED_TEST (ByteVectorBasicTest, Pack10max)
 
 TYPED_TEST (ByteVectorBasicTest, Pack10min)
 
 TYPED_TEST (ByteVectorBasicTest, Pack10valzero)
 
 TYPED_TEST (ByteVectorBasicTest, Pack10valone)
 
 TYPED_TEST (ByteVectorBasicTest, Pack10valmax)
 
 TYPED_TEST (ByteVectorBasicTest, Pack10valmin)
 
 TYPED_TEST (ByteVectorScaledTest, Pack1DoubleZero)
 
 TYPED_TEST (ByteVectorScaledTest, Pack1DoubleTen)
 
 TYPED_TEST (ByteVectorScaledTest, Pack1DoubleSaturationMax)
 
 TYPED_TEST (ByteVectorScaledTest, Pack1DoubleSaturationMin)
 
 TYPED_TEST (ByteVectorScaledTest, Pack1FloatZero)
 
 TYPED_TEST (ByteVectorScaledTest, Pack1FloatTen)
 
 TYPED_TEST (ByteVectorScaledTest, Pack1FloatSaturationMax)
 
 TYPED_TEST (ByteVectorScaledTest, Pack1FloatSaturationMin)
 
 TYPED_TEST_CASE (ByteVectorBasicTest, basicTypes)
 
 TYPED_TEST_CASE (ByteVectorScaledTest, scaleOutputTypes)
 
 TYPED_TEST_CASE (valueTest, numTypes)
 

Variables

static const std::map< std::string, FirmwareVariantvariant_map
 

Typedef Documentation

typedef ::testing::Types<bool, uint8_t, uint16_t, uint32_t, int8_t, int16_t, int32_t, float, double> msp::basicTypes

Definition at line 11 of file ByteVector_test.cpp.

typedef std::shared_ptr<ByteVector> msp::ByteVectorPtr

Definition at line 464 of file ByteVector.hpp.

typedef std::unique_ptr<ByteVector> msp::ByteVectorUptr

Definition at line 465 of file ByteVector.hpp.

typedef ::testing::Types<bool, uint8_t, uint16_t, uint32_t, int8_t, int16_t, int32_t, float, double> msp::numTypes

Definition at line 40 of file value_test.cpp.

typedef ::testing::Types<uint8_t, uint16_t, uint32_t, int8_t, int16_t, int32_t> msp::scaleOutputTypes

Definition at line 16 of file ByteVector_test.cpp.

Enumeration Type Documentation

enum msp::ArmingFlags : uint32_t
strong
Enumerator
ARMED 
WAS_EVER_ARMED 
ARMING_DISABLED_FAILSAFE_SYSTEM 
ARMING_DISABLED_NOT_LEVEL 
ARMING_DISABLED_SENSORS_CALIBRATING 
ARMING_DISABLED_SYSTEM_OVERLOADED 
ARMING_DISABLED_NAVIGATION_UNSAFE 
ARMING_DISABLED_COMPASS_NOT_CALIBRATED 
ARMING_DISABLED_ACCELEROMETER_NOT_CALIBRATED 
ARMING_DISABLED_ARM_SWITCH 
ARMING_DISABLED_HARDWARE_FAILURE 
ARMING_DISABLED_BOXFAILSAFE 
ARMING_DISABLED_BOXKILLSWITCH 
ARMING_DISABLED_RC_LINK 
ARMING_DISABLED_THROTTLE 
ARMING_DISABLED_CLI 
ARMING_DISABLED_CMS_MENU 
ARMING_DISABLED_OSD_MENU 
ARMING_DISABLED_ROLLPITCH_NOT_CENTERED 
ARMING_DISABLED_SERVO_AUTOTRIM 
ARMING_DISABLED_OOM 
ARMING_DISABLED_INVALID_SETTING 
ARMING_DISABLED_ALL_FLAGS 

Definition at line 223 of file msp_msg.hpp.

enum msp::FirmwareVariant : int
strong

Enum of firmware variants.

Enumerator
NONE 

not specified

MWII 

MultiWii

BAFL 

BetaFlight

BTFL 

ButterFlight

CLFL 

CleanFlight

INAV 

INAV

RCFL 

RaceFlight

Definition at line 13 of file FirmwareVariants.hpp.

enum msp::ID : uint16_t
strong
Enumerator
MSP_API_VERSION 
MSP_FC_VARIANT 
MSP_FC_VERSION 
MSP_BOARD_INFO 
MSP_BUILD_INFO 
MSP_INAV_PID 
MSP_SET_INAV_PID 
MSP_NAME 
MSP_SET_NAME 
MSP_NAV_POSHOLD 
MSP_SET_NAV_POSHOLD 
MSP_CALIBRATION_DATA 
MSP_SET_CALIBRATION_DATA 
MSP_POSITION_ESTIMATION_CONFIG 
MSP_SET_POSITION_ESTIMATION_CONFIG 
MSP_WP_MISSION_LOAD 
MSP_WP_MISSION_SAVE 
MSP_WP_GETINFO 
MSP_RTH_AND_LAND_CONFIG 
MSP_SET_RTH_AND_LAND_CONFIG 
MSP_FW_CONFIG 
MSP_SET_FW_CONFIG 
MSP_BATTERY_CONFIG 
MSP_SET_BATTERY_CONFIG 
MSP_MODE_RANGES 
MSP_SET_MODE_RANGE 
MSP_FEATURE 
MSP_SET_FEATURE 
MSP_BOARD_ALIGNMENT 
MSP_SET_BOARD_ALIGNMENT 
MSP_CURRENT_METER_CONFIG 
MSP_SET_CURRENT_METER_CONFIG 
MSP_MIXER 
MSP_SET_MIXER 
MSP_RX_CONFIG 
MSP_SET_RX_CONFIG 
MSP_LED_COLORS 
MSP_SET_LED_COLORS 
MSP_LED_STRIP_CONFIG 
MSP_SET_LED_STRIP_CONFIG 
MSP_RSSI_CONFIG 
MSP_SET_RSSI_CONFIG 
MSP_ADJUSTMENT_RANGES 
MSP_SET_ADJUSTMENT_RANGE 
MSP_CF_SERIAL_CONFIG 
MSP_SET_CF_SERIAL_CONFIG 
MSP_VOLTAGE_METER_CONFIG 
MSP_SET_VOLTAGE_METER_CONFIG 
MSP_SONAR_ALTITUDE 
MSP_PID_CONTROLLER 
MSP_SET_PID_CONTROLLER 
MSP_ARMING_CONFIG 
MSP_SET_ARMING_CONFIG 
MSP_RX_MAP 
MSP_SET_RX_MAP 
MSP_BF_CONFIG 
MSP_SET_BF_CONFIG 
MSP_REBOOT 
MSP_BF_BUILD_INFO 
MSP_DATAFLASH_SUMMARY 
MSP_DATAFLASH_READ 
MSP_DATAFLASH_ERASE 
MSP_LOOP_TIME 
MSP_SET_LOOP_TIME 
MSP_FAILSAFE_CONFIG 
MSP_SET_FAILSAFE_CONFIG 
MSP_RXFAIL_CONFIG 
MSP_SET_RXFAIL_CONFIG 
MSP_SDCARD_SUMMARY 
MSP_BLACKBOX_CONFIG 
MSP_SET_BLACKBOX_CONFIG 
MSP_TRANSPONDER_CONFIG 
MSP_SET_TRANSPONDER_CONFIG 
MSP_OSD_CONFIG 
MSP_SET_OSD_CONFIG 
MSP_OSD_CHAR_READ 
MSP_OSD_CHAR_WRITE 
MSP_VTX_CONFIG 
MSP_SET_VTX_CONFIG 
MSP_ADVANCED_CONFIG 
MSP_SET_ADVANCED_CONFIG 
MSP_FILTER_CONFIG 
MSP_SET_FILTER_CONFIG 
MSP_PID_ADVANCED 
MSP_SET_PID_ADVANCED 
MSP_SENSOR_CONFIG 
MSP_SET_SENSOR_CONFIG 
MSP_CAMERA_CONTROL 
MSP_SET_ARMING_DISABLED 
MSP_IDENT 
MSP_STATUS 
MSP_RAW_IMU 
MSP_SERVO 
MSP_MOTOR 
MSP_RC 
MSP_RAW_GPS 
MSP_COMP_GPS 
MSP_ATTITUDE 
MSP_ALTITUDE 
MSP_ANALOG 
MSP_RC_TUNING 
MSP_PID 
MSP_ACTIVEBOXES 
MSP_MISC 
MSP_MOTOR_PINS 
MSP_BOXNAMES 
MSP_PIDNAMES 
MSP_WP 
MSP_BOXIDS 
MSP_SERVO_CONF 
MSP_NAV_STATUS 
MSP_NAV_CONFIG 
MSP_MOTOR_3D_CONFIG 
MSP_RC_DEADBAND 
MSP_SENSOR_ALIGNMENT 
MSP_LED_STRIP_MODECOLOR 
MSP_VOLTAGE_METERS 
MSP_CURRENT_METERS 
MSP_BATTERY_STATE 
MSP_MOTOR_CONFIG 
MSP_GPS_CONFIG 
MSP_COMPASS_CONFIG 
MSP_ESC_SENSOR_DATA 
MSP_STATUS_EX 
MSP_SENSOR_STATUS 
MSP_UID 
MSP_GPSSVINFO 
MSP_GPSSTATISTICS 
MSP_OSD_VIDEO_CONFIG 
MSP_SET_OSD_VIDEO_CONFIG 
MSP_DISPLAYPORT 
MSP_COPY_PROFILE 
MSP_BEEPER_CONFIG 
MSP_SET_BEEPER_CONFIG 
MSP_SET_TX_INFO 
MSP_TX_INFO 
MSP_SET_RAW_RC 
MSP_SET_RAW_GPS 
MSP_SET_PID 
MSP_SET_BOX 
MSP_SET_RC_TUNING 
MSP_ACC_CALIBRATION 
MSP_MAG_CALIBRATION 
MSP_SET_MISC 
MSP_RESET_CONF 
MSP_SET_WP 
MSP_SELECT_SETTING 
MSP_SET_HEADING 
MSP_SET_SERVO_CONF 
MSP_SET_MOTOR 
MSP_SET_NAV_CONFIG 
MSP_SET_MOTOR_3D_CONF 
MSP_SET_RC_DEADBAND 
MSP_SET_RESET_CURR_PID 
MSP_SET_SENSOR_ALIGNMENT 
MSP_SET_LED_STRIP_MODECOLOR 
MSP_SET_MOTOR_CONFIG 
MSP_SET_GPS_CONFIG 
MSP_SET_COMPASS_CONFIG 
MSP_SET_ACC_TRIM 
MSP_ACC_TRIM 
MSP_SERVO_MIX_RULES 
MSP_SET_SERVO_MIX_RULE 
MSP_PASSTHROUGH_SERIAL 
MSP_SET_4WAY_IF 
MSP_SET_RTC 
MSP_RTC 
MSP_EEPROM_WRITE 
MSP_RESERVE_1 
MSP_RESERVE_2 
MSP_DEBUGMSG 
MSP_DEBUG 
MSP_V2_FRAME 
MSP2_COMMON_TZ 
MSP2_COMMON_SET_TZ 
MSP2_COMMON_SETTING 
MSP2_COMMON_SET_SETTING 
MSP2_COMMON_MOTOR_MIXER 
MSP2_COMMON_SET_MOTOR_MIXER 
MSP2_INAV_STATUS 
MSP2_INAV_OPTICAL_FLOW 
MSP2_INAV_ANALOG 
MSP2_INAV_MISC 
MSP2_INAV_SET_MISC 
MSP2_INAV_BATTERY_CONFIG 
MSP2_INAV_SET_BATTERY_CONFIG 
MSP2_INAV_RATE_PROFILE 
MSP2_INAV_SET_RATE_PROFILE 
MSP2_INAV_AIR_SPEED 

Definition at line 30 of file msp_msg.hpp.

Function Documentation

std::string msp::armingFlagToString ( uint32_t  flag)
inline

Definition at line 264 of file msp_msg.hpp.

std::string msp::firmwareVariantToString ( FirmwareVariant  variant)
inline

Converts a FirmwareVariant into a matching string.

Parameters
variantEnum of FirmwareVariant
Returns
A string matching the firmware type

Definition at line 36 of file FirmwareVariants.hpp.

msp::TEST ( ByteVectorBasicTest  ,
Initialzation   
)

Definition at line 20 of file ByteVector_test.cpp.

msp::TEST ( valueTest  ,
stringInit   
)

Definition at line 103 of file value_test.cpp.

msp::TEST ( valueTest  ,
stringAssign   
)

Definition at line 109 of file value_test.cpp.

msp::TEST ( valueTest  ,
ByteVecInit   
)

Definition at line 119 of file value_test.cpp.

msp::TEST ( valueTest  ,
ByteVecAssign   
)

Definition at line 125 of file value_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack1zero   
)

Definition at line 27 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack1one   
)

Definition at line 36 of file ByteVector_test.cpp.

msp::TYPED_TEST ( valueTest  ,
Initialzation   
)

Definition at line 44 of file value_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack1max   
)

Definition at line 45 of file ByteVector_test.cpp.

msp::TYPED_TEST ( valueTest  ,
AssignmentZero   
)

Definition at line 50 of file value_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack1min   
)

Definition at line 54 of file ByteVector_test.cpp.

msp::TYPED_TEST ( valueTest  ,
AssignmentMax   
)

Definition at line 62 of file value_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack1valzero   
)

Definition at line 63 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack1valone   
)

Definition at line 74 of file ByteVector_test.cpp.

msp::TYPED_TEST ( valueTest  ,
AssignmentMin   
)

Definition at line 75 of file value_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack1valmax   
)

Definition at line 85 of file ByteVector_test.cpp.

msp::TYPED_TEST ( valueTest  ,
AssignmentCast   
)

Definition at line 88 of file value_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack1valmin   
)

Definition at line 96 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack10zero   
)

Definition at line 107 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack10one   
)

Definition at line 118 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack10max   
)

Definition at line 129 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack10min   
)

Definition at line 140 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack10valzero   
)

Definition at line 151 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack10valone   
)

Definition at line 164 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack10valmax   
)

Definition at line 177 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorBasicTest  ,
Pack10valmin   
)

Definition at line 190 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorScaledTest  ,
Pack1DoubleZero   
)

Definition at line 203 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorScaledTest  ,
Pack1DoubleTen   
)

Definition at line 212 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorScaledTest  ,
Pack1DoubleSaturationMax   
)

Definition at line 221 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorScaledTest  ,
Pack1DoubleSaturationMin   
)

Definition at line 230 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorScaledTest  ,
Pack1FloatZero   
)

Definition at line 239 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorScaledTest  ,
Pack1FloatTen   
)

Definition at line 248 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorScaledTest  ,
Pack1FloatSaturationMax   
)

Definition at line 257 of file ByteVector_test.cpp.

msp::TYPED_TEST ( ByteVectorScaledTest  ,
Pack1FloatSaturationMin   
)

Definition at line 266 of file ByteVector_test.cpp.

msp::TYPED_TEST_CASE ( ByteVectorBasicTest  ,
basicTypes   
)
msp::TYPED_TEST_CASE ( ByteVectorScaledTest  ,
scaleOutputTypes   
)
msp::TYPED_TEST_CASE ( valueTest  ,
numTypes   
)

Variable Documentation

const std::map<std::string, FirmwareVariant> msp::variant_map
static
Initial value:
= {
{"MWII", FirmwareVariant::MWII},
{"BAFL", FirmwareVariant::BAFL},
{"BTFL", FirmwareVariant::BTFL},
{"CLFL", FirmwareVariant::CLFL},
{"INAV", FirmwareVariant::INAV},
{"RCFL", FirmwareVariant::RCFL}}

Definition at line 23 of file FirmwareVariants.hpp.



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