00001 #ifndef MSP_ID_HPP
00002 #define MSP_ID_HPP
00003
00004 namespace msp {
00005
00006 enum class ID : uint8_t {
00007
00008 MSP_API_VERSION = 1,
00009 MSP_FC_VARIANT = 2,
00010 MSP_FC_VERSION = 3,
00011 MSP_BOARD_INFO = 4,
00012 MSP_BUILD_INFO = 5,
00013
00014 MSP_BATTERY_CONFIG = 32,
00015 MSP_SET_BATTERY_CONFIG = 33,
00016 MSP_MODE_RANGES = 34,
00017 MSP_SET_MODE_RANGE = 35,
00018 MSP_FEATURE = 36,
00019 MSP_SET_FEATURE = 37,
00020 MSP_BOARD_ALIGNMENT = 38,
00021 MSP_SET_BOARD_ALIGNMENT = 39,
00022 MSP_AMPERAGE_METER_CONFIG = 40,
00023 MSP_SET_AMPERAGE_METER_CONFIG = 41,
00024 MSP_MIXER = 42,
00025 MSP_SET_MIXER = 43,
00026 MSP_RX_CONFIG = 44,
00027 MSP_SET_RX_CONFIG = 45,
00028 MSP_LED_COLORS = 46,
00029 MSP_SET_LED_COLORS = 47,
00030 MSP_LED_STRIP_CONFIG = 48,
00031 MSP_SET_LED_STRIP_CONFIG = 49,
00032 MSP_RSSI_CONFIG = 50,
00033 MSP_SET_RSSI_CONFIG = 51,
00034 MSP_ADJUSTMENT_RANGES = 52,
00035 MSP_SET_ADJUSTMENT_RANGE = 53,
00036
00037 MSP_CF_SERIAL_CONFIG = 54,
00038 MSP_SET_CF_SERIAL_CONFIG = 55,
00039
00040 MSP_VOLTAGE_METER_CONFIG = 56,
00041 MSP_SET_VOLTAGE_METER_CONFIG = 57,
00042
00043 MSP_SONAR_ALTITUDE = 58,
00044
00045 MSP_ARMING_CONFIG = 61,
00046 MSP_SET_ARMING_CONFIG = 62,
00047
00048 MSP_RX_MAP = 64,
00049 MSP_SET_RX_MAP = 65,
00050
00051 MSP_REBOOT = 68,
00052
00053 MSP_BF_BUILD_INFO = 69,
00054
00055 MSP_DATAFLASH_SUMMARY = 70,
00056 MSP_DATAFLASH_READ = 71,
00057 MSP_DATAFLASH_ERASE = 72,
00058
00059 MSP_LOOP_TIME = 73,
00060 MSP_SET_LOOP_TIME = 74,
00061
00062 MSP_FAILSAFE_CONFIG = 75,
00063 MSP_SET_FAILSAFE_CONFIG = 76,
00064
00065 MSP_RXFAIL_CONFIG = 77,
00066 MSP_SET_RXFAIL_CONFIG = 78,
00067
00068 MSP_SDCARD_SUMMARY = 79,
00069
00070 MSP_BLACKBOX_CONFIG = 80,
00071 MSP_SET_BLACKBOX_CONFIG = 81,
00072
00073 MSP_TRANSPONDER_CONFIG = 82,
00074 MSP_SET_TRANSPONDER_CONFIG = 83,
00075
00076 MSP_OSD_CHAR_WRITE = 87,
00077
00078 MSP_VTX = 88,
00079
00080 MSP_OSD_VIDEO_CONFIG = 180,
00081 MSP_SET_OSD_VIDEO_CONFIG = 181,
00082 MSP_OSD_VIDEO_STATUS = 182,
00083 MSP_OSD_ELEMENT_SUMMARY = 183,
00084 MSP_OSD_LAYOUT_CONFIG = 184,
00085 MSP_SET_OSD_LAYOUT_CONFIG = 185,
00086
00087 MSP_3D = 124,
00088 MSP_RC_DEADBAND = 125,
00089 MSP_SENSOR_ALIGNMENT = 126,
00090 MSP_LED_STRIP_MODECOLOR = 127,
00091 MSP_VOLTAGE_METERS = 128,
00092 MSP_AMPERAGE_METERS = 129,
00093 MSP_BATTERY_STATE = 130,
00094 MSP_PILOT = 131,
00095
00096 MSP_SET_3D = 217,
00097 MSP_SET_RC_DEADBAND = 218,
00098 MSP_SET_RESET_CURR_PID = 219,
00099 MSP_SET_SENSOR_ALIGNMENT = 220,
00100 MSP_SET_LED_STRIP_MODECOLOR = 221,
00101 MSP_SET_PILOT = 222,
00102 MSP_PASSTHROUGH_SERIAL = 244,
00103
00104 MSP_UID = 160,
00105 MSP_GPSSVINFO = 164,
00106 MSP_SERVO_MIX_RULES = 241,
00107 MSP_SET_SERVO_MIX_RULE = 242,
00108 MSP_SET_4WAY_IF = 245,
00109
00110
00111 MSP_IDENT = 100,
00112 MSP_STATUS = 101,
00113 MSP_RAW_IMU = 102,
00114 MSP_SERVO = 103,
00115 MSP_MOTOR = 104,
00116 MSP_RC = 105,
00117 MSP_RAW_GPS = 106,
00118 MSP_COMP_GPS = 107,
00119 MSP_ATTITUDE = 108,
00120 MSP_ALTITUDE = 109,
00121 MSP_ANALOG = 110,
00122 MSP_RC_TUNING = 111,
00123 MSP_PID = 112,
00124 MSP_BOX = 113,
00125 MSP_MISC = 114,
00126 MSP_MOTOR_PINS = 115,
00127 MSP_BOXNAMES = 116,
00128 MSP_PIDNAMES = 117,
00129 MSP_WP = 118,
00130 MSP_BOXIDS = 119,
00131 MSP_SERVO_CONF = 120,
00132
00133 MSP_NAV_STATUS = 121,
00134 MSP_NAV_CONFIG = 122,
00135
00136 MSP_CELLS = 130,
00137
00138 MSP_SET_RAW_RC = 200,
00139 MSP_SET_RAW_GPS = 201,
00140 MSP_SET_PID = 202,
00141 MSP_SET_BOX = 203,
00142 MSP_SET_RC_TUNING = 204,
00143 MSP_ACC_CALIBRATION = 205,
00144 MSP_MAG_CALIBRATION = 206,
00145 MSP_SET_MISC = 207,
00146 MSP_RESET_CONF = 208,
00147 MSP_SET_WP = 209,
00148 MSP_SELECT_SETTING = 210,
00149 MSP_SET_HEAD = 211,
00150 MSP_SET_SERVO_CONF = 212,
00151 MSP_SET_MOTOR = 214,
00152 MSP_SET_NAV_CONFIG = 215,
00153
00154 MSP_SET_ACC_TRIM = 239,
00155 MSP_ACC_TRIM = 240,
00156 MSP_BIND = 241,
00157
00158 MSP_EEPROM_WRITE = 250,
00159
00160 MSP_DEBUGMSG = 253,
00161 MSP_DEBUG = 254,
00162 };
00163
00164 }
00165
00166 #endif // MSP_ID_HPP