Go to the source code of this file.
Classes | |
struct | msg_acknowledge |
Structure describing the payload section of the MSG_ACKNOWLEDGE message. More... | |
struct | msg_status_text |
Structure describing the payload section of the MSG_STATUS_TEXT message. More... | |
struct | msg_heartbeat |
Structure describing the payload section of the MSG_HEARTBEAT message. More... | |
struct | msg_attitude |
Structure describing the payload section of the MSG_ATTITUDE message. More... | |
struct | msg_location |
Structure describing the payload section of the MSG_LOCATION message. More... | |
struct | msg_pressure |
Structure describing the payload section of the MSG_PRESSURE message. More... | |
struct | msg_perf_report |
Structure describing the payload section of the MSG_PERF_REPORT message. More... | |
struct | msg_version_request |
Structure describing the payload section of the MSG_VERSION_REQUEST message. More... | |
struct | msg_version |
Structure describing the payload section of the MSG_VERSION message. More... | |
struct | msg_command_request |
Structure describing the payload section of the MSG_COMMAND_REQUEST message. More... | |
struct | msg_command_upload |
Structure describing the payload section of the MSG_COMMAND_UPLOAD message. More... | |
struct | msg_command_list |
Structure describing the payload section of the MSG_COMMAND_LIST message. More... | |
struct | msg_command_mode_change |
Structure describing the payload section of the MSG_COMMAND_MODE_CHANGE message. More... | |
struct | msg_value_request |
Structure describing the payload section of the MSG_VALUE_REQUEST message. More... | |
struct | msg_value_set |
Structure describing the payload section of the MSG_VALUE_SET message. More... | |
struct | msg_value |
Structure describing the payload section of the MSG_VALUE message. More... | |
struct | msg_pid_request |
Structure describing the payload section of the MSG_PID_REQUEST message. More... | |
struct | msg_pid_set |
Structure describing the payload section of the MSG_PID_SET message. More... | |
struct | msg_pid |
Structure describing the payload section of the MSG_PID message. More... | |
struct | msg_trim_startup |
Structure describing the payload section of the MSG_TRIM_STARTUP message. More... | |
struct | msg_trim_min |
Structure describing the payload section of the MSG_TRIM_MIN message. More... | |
struct | msg_trim_max |
Structure describing the payload section of the MSG_TRIM_MAX message. More... | |
struct | msg_radio_out |
Structure describing the payload section of the MSG_RADIO_OUT message. More... | |
struct | msg_sensor |
Structure describing the payload section of the MSG_SENSOR message. More... | |
struct | msg_servo_out |
Structure describing the payload section of the MSG_SERVO_OUT message. More... | |
struct | msg_pin_request |
Structure describing the payload section of the MSG_PIN_REQUEST message. More... | |
struct | msg_pin_set |
Structure describing the payload section of the MSG_PIN_SET message. More... | |
struct | msg_dataflash_request |
Structure describing the payload section of the MSG_DATAFLASH_REQUEST message. More... | |
struct | msg_dataflash_set |
Structure describing the payload section of the MSG_DATAFLASH_SET message. More... | |
struct | msg_eeprom_request |
Structure describing the payload section of the MSG_EEPROM_REQUEST message. More... | |
struct | msg_eeprom_set |
Structure describing the payload section of the MSG_EEPROM_SET message. More... | |
struct | msg_position_correct |
Structure describing the payload section of the MSG_POSITION_CORRECT message. More... | |
struct | msg_attitude_correct |
Structure describing the payload section of the MSG_ATTITUDE_CORRECT message. More... | |
struct | msg_position_set |
Structure describing the payload section of the MSG_POSITION_SET message. More... | |
struct | msg_attitude_set |
Structure describing the payload section of the MSG_ATTITUDE_SET message. More... | |
union | _binCommBufferSizer |
Defines | |
#define | BINCOMM_MAX_MESSAGE_SIZE sizeof(union _binCommBufferSizer) |
#define | BINCOMM_MAX_MESSAGE_SIZE sizeof(union _binCommBufferSizer) |
Enumerations | |
enum | MessageID { MSG_PID = 0x42, MSG_DATAFLASH_REQUEST = 0x90, MSG_DATAFLASH_SET = 0x91, MSG_SENSOR = 0x60, MSG_VALUE_REQUEST = 0x30, MSG_VALUE_SET = 0x31, MSG_VALUE = 0x32, MSG_PIN_REQUEST = 0x80, MSG_PIN_SET = 0x81, MSG_POSITION_CORRECT = 0xb0, MSG_ACKNOWLEDGE = 0x0, MSG_ATTITUDE_CORRECT = 0xb1, MSG_HEARTBEAT = 0x1, MSG_POSITION_SET = 0xb2, MSG_ATTITUDE = 0x2, MSG_ATTITUDE_SET = 0xb3, MSG_LOCATION = 0x3, MSG_PRESSURE = 0x4, MSG_TRIM_STARTUP = 0x50, MSG_STATUS_TEXT = 0x5, MSG_TRIM_MIN = 0x51, MSG_PERF_REPORT = 0x6, MSG_TRIM_MAX = 0x52, MSG_VERSION_REQUEST = 0x7, MSG_RADIO_OUT = 0x53, MSG_VERSION = 0x8, MSG_COMMAND_REQUEST = 0x20, MSG_COMMAND_UPLOAD = 0x21, MSG_COMMAND_LIST = 0x22, MSG_COMMAND_MODE_CHANGE = 0x23, MSG_SERVO_OUT = 0x70, MSG_EEPROM_REQUEST = 0xa0, MSG_EEPROM_SET = 0xa1, MSG_PID_REQUEST = 0x40, MSG_PID_SET = 0x41, MSG_ANY = 0xfe, MSG_NULL = 0xff } |
Functions | |
MSG_ACKNOWLEDGE | |
void | send_msg_acknowledge (const uint8_t msgID, const uint8_t sum1, const uint8_t sum2) |
Send a MSG_ACKNOWLEDGE message. | |
void | unpack_msg_acknowledge (uint8_t &msgID, uint8_t &sum1, uint8_t &sum2) |
Unpack a MSG_ACKNOWLEDGE message. | |
MSG_STATUS_TEXT | |
void | send_msg_status_text (const uint8_t severity, const char(&text)[50]) |
Send a MSG_STATUS_TEXT message. | |
void | unpack_msg_status_text (uint8_t &severity, char(&text)[50]) |
Unpack a MSG_STATUS_TEXT message. | |
MSG_HEARTBEAT | |
void | send_msg_heartbeat (const uint8_t flightMode, const uint16_t timeStamp, const uint16_t batteryVoltage, const uint16_t commandIndex) |
Send a MSG_HEARTBEAT message. | |
void | unpack_msg_heartbeat (uint8_t &flightMode, uint16_t &timeStamp, uint16_t &batteryVoltage, uint16_t &commandIndex) |
Unpack a MSG_HEARTBEAT message. | |
MSG_ATTITUDE | |
void | send_msg_attitude (const int16_t roll, const int16_t pitch, const uint16_t yaw) |
Send a MSG_ATTITUDE message. | |
void | unpack_msg_attitude (int16_t &roll, int16_t &pitch, uint16_t &yaw) |
Unpack a MSG_ATTITUDE message. | |
MSG_LOCATION | |
void | send_msg_location (const int32_t latitude, const int32_t longitude, const int32_t altitude, const uint16_t groundSpeed, const uint16_t groundCourse, const uint32_t timeOfWeek) |
Send a MSG_LOCATION message. | |
void | unpack_msg_location (int32_t &latitude, int32_t &longitude, int32_t &altitude, uint16_t &groundSpeed, uint16_t &groundCourse, uint32_t &timeOfWeek) |
Unpack a MSG_LOCATION message. | |
MSG_PRESSURE | |
void | send_msg_pressure (const int32_t pressureAltitude, const int16_t airSpeed) |
Send a MSG_PRESSURE message. | |
void | unpack_msg_pressure (int32_t &pressureAltitude, int16_t &airSpeed) |
Unpack a MSG_PRESSURE message. | |
MSG_PERF_REPORT | |
void | send_msg_perf_report (const uint32_t interval, const uint16_t mainLoopCycles, const uint8_t mainLoopCycleTime, const uint8_t gyroSaturationCount, const uint8_t adcConstraintCount, const uint8_t renormSqrtCount, const uint8_t renormBlowupCount, const uint8_t gpsFixCount, const uint16_t imuHealth, const uint16_t gcsMessageCount) |
Send a MSG_PERF_REPORT message. | |
void | unpack_msg_perf_report (uint32_t &interval, uint16_t &mainLoopCycles, uint8_t &mainLoopCycleTime, uint8_t &gyroSaturationCount, uint8_t &adcConstraintCount, uint8_t &renormSqrtCount, uint8_t &renormBlowupCount, uint8_t &gpsFixCount, uint16_t &imuHealth, uint16_t &gcsMessageCount) |
Unpack a MSG_PERF_REPORT message. | |
MSG_VERSION_REQUEST | |
void | send_msg_version_request (const uint8_t systemType, const uint8_t systemID) |
Send a MSG_VERSION_REQUEST message. | |
void | unpack_msg_version_request (uint8_t &systemType, uint8_t &systemID) |
Unpack a MSG_VERSION_REQUEST message. | |
MSG_VERSION | |
void | send_msg_version (const uint8_t systemType, const uint8_t systemID, const uint8_t(&firmwareVersion)[3]) |
Send a MSG_VERSION message. | |
void | unpack_msg_version (uint8_t &systemType, uint8_t &systemID, uint8_t(&firmwareVersion)[3]) |
Unpack a MSG_VERSION message. | |
MSG_COMMAND_REQUEST | |
void | send_msg_command_request (const uint16_t UNSPECIFIED) |
Send a MSG_COMMAND_REQUEST message. | |
void | unpack_msg_command_request (uint16_t &UNSPECIFIED) |
Unpack a MSG_COMMAND_REQUEST message. | |
MSG_COMMAND_UPLOAD | |
void | send_msg_command_upload (const uint8_t action, const uint16_t itemNumber, const uint16_t listLength, const uint8_t commandID, const uint8_t p1, const int32_t p2, const int32_t p3, const int32_t p4) |
Send a MSG_COMMAND_UPLOAD message. | |
void | unpack_msg_command_upload (uint8_t &action, uint16_t &itemNumber, uint16_t &listLength, uint8_t &commandID, uint8_t &p1, int32_t &p2, int32_t &p3, int32_t &p4) |
Unpack a MSG_COMMAND_UPLOAD message. | |
MSG_COMMAND_LIST | |
void | send_msg_command_list (const uint16_t itemNumber, const uint16_t listLength, const uint8_t commandID, const uint8_t p1, const int32_t p2, const int32_t p3, const int32_t p4) |
Send a MSG_COMMAND_LIST message. | |
void | unpack_msg_command_list (uint16_t &itemNumber, uint16_t &listLength, uint8_t &commandID, uint8_t &p1, int32_t &p2, int32_t &p3, int32_t &p4) |
Unpack a MSG_COMMAND_LIST message. | |
MSG_COMMAND_MODE_CHANGE | |
void | send_msg_command_mode_change (const uint16_t UNSPECIFIED) |
Send a MSG_COMMAND_MODE_CHANGE message. | |
void | unpack_msg_command_mode_change (uint16_t &UNSPECIFIED) |
Unpack a MSG_COMMAND_MODE_CHANGE message. | |
MSG_VALUE_REQUEST | |
void | send_msg_value_request (const uint8_t valueID, const uint8_t broadcast) |
Send a MSG_VALUE_REQUEST message. | |
void | unpack_msg_value_request (uint8_t &valueID, uint8_t &broadcast) |
Unpack a MSG_VALUE_REQUEST message. | |
MSG_VALUE_SET | |
void | send_msg_value_set (const uint8_t valueID, const uint32_t value) |
Send a MSG_VALUE_SET message. | |
void | unpack_msg_value_set (uint8_t &valueID, uint32_t &value) |
Unpack a MSG_VALUE_SET message. | |
MSG_VALUE | |
void | send_msg_value (const uint8_t valueID, const uint32_t value) |
Send a MSG_VALUE message. | |
void | unpack_msg_value (uint8_t &valueID, uint32_t &value) |
Unpack a MSG_VALUE message. | |
MSG_PID_REQUEST | |
void | send_msg_pid_request (const uint8_t pidSet) |
Send a MSG_PID_REQUEST message. | |
void | unpack_msg_pid_request (uint8_t &pidSet) |
Unpack a MSG_PID_REQUEST message. | |
MSG_PID_SET | |
void | send_msg_pid_set (const uint8_t pidSet, const int32_t p, const int32_t i, const int32_t d, const int16_t integratorMax) |
Send a MSG_PID_SET message. | |
void | unpack_msg_pid_set (uint8_t &pidSet, int32_t &p, int32_t &i, int32_t &d, int16_t &integratorMax) |
Unpack a MSG_PID_SET message. | |
MSG_PID | |
void | send_msg_pid (const uint8_t pidSet, const int32_t p, const int32_t i, const int32_t d, const int16_t integratorMax) |
Send a MSG_PID message. | |
void | unpack_msg_pid (uint8_t &pidSet, int32_t &p, int32_t &i, int32_t &d, int16_t &integratorMax) |
Unpack a MSG_PID message. | |
MSG_TRIM_STARTUP | |
void | send_msg_trim_startup (const uint16_t(&value)[8]) |
Send a MSG_TRIM_STARTUP message. | |
void | unpack_msg_trim_startup (uint16_t(&value)[8]) |
Unpack a MSG_TRIM_STARTUP message. | |
MSG_TRIM_MIN | |
void | send_msg_trim_min (const uint16_t(&value)[8]) |
Send a MSG_TRIM_MIN message. | |
void | unpack_msg_trim_min (uint16_t(&value)[8]) |
Unpack a MSG_TRIM_MIN message. | |
MSG_TRIM_MAX | |
void | send_msg_trim_max (const uint16_t(&value)[8]) |
Send a MSG_TRIM_MAX message. | |
void | unpack_msg_trim_max (uint16_t(&value)[8]) |
Unpack a MSG_TRIM_MAX message. | |
MSG_RADIO_OUT | |
void | send_msg_radio_out (const uint16_t(&value)[8]) |
Send a MSG_RADIO_OUT message. | |
void | unpack_msg_radio_out (uint16_t(&value)[8]) |
Unpack a MSG_RADIO_OUT message. | |
MSG_SENSOR | |
void | send_msg_sensor (const uint16_t UNSPECIFIED) |
Send a MSG_SENSOR message. | |
void | unpack_msg_sensor (uint16_t &UNSPECIFIED) |
Unpack a MSG_SENSOR message. | |
MSG_SERVO_OUT | |
void | send_msg_servo_out (const int16_t(&value)[8]) |
Send a MSG_SERVO_OUT message. | |
void | unpack_msg_servo_out (int16_t(&value)[8]) |
Unpack a MSG_SERVO_OUT message. | |
MSG_PIN_REQUEST | |
void | send_msg_pin_request (const uint16_t UNSPECIFIED) |
Send a MSG_PIN_REQUEST message. | |
void | unpack_msg_pin_request (uint16_t &UNSPECIFIED) |
Unpack a MSG_PIN_REQUEST message. | |
MSG_PIN_SET | |
void | send_msg_pin_set (const uint16_t UNSPECIFIED) |
Send a MSG_PIN_SET message. | |
void | unpack_msg_pin_set (uint16_t &UNSPECIFIED) |
Unpack a MSG_PIN_SET message. | |
MSG_DATAFLASH_REQUEST | |
void | send_msg_dataflash_request (const uint16_t UNSPECIFIED) |
Send a MSG_DATAFLASH_REQUEST message. | |
void | unpack_msg_dataflash_request (uint16_t &UNSPECIFIED) |
Unpack a MSG_DATAFLASH_REQUEST message. | |
MSG_DATAFLASH_SET | |
void | send_msg_dataflash_set (const uint16_t UNSPECIFIED) |
Send a MSG_DATAFLASH_SET message. | |
void | unpack_msg_dataflash_set (uint16_t &UNSPECIFIED) |
Unpack a MSG_DATAFLASH_SET message. | |
MSG_EEPROM_REQUEST | |
void | send_msg_eeprom_request (const uint16_t UNSPECIFIED) |
Send a MSG_EEPROM_REQUEST message. | |
void | unpack_msg_eeprom_request (uint16_t &UNSPECIFIED) |
Unpack a MSG_EEPROM_REQUEST message. | |
MSG_EEPROM_SET | |
void | send_msg_eeprom_set (const uint16_t UNSPECIFIED) |
Send a MSG_EEPROM_SET message. | |
void | unpack_msg_eeprom_set (uint16_t &UNSPECIFIED) |
Unpack a MSG_EEPROM_SET message. | |
MSG_POSITION_CORRECT | |
void | send_msg_position_correct (const int16_t latError, const int16_t lonError, const int16_t altError, const int16_t groundSpeedError) |
Send a MSG_POSITION_CORRECT message. | |
void | unpack_msg_position_correct (int16_t &latError, int16_t &lonError, int16_t &altError, int16_t &groundSpeedError) |
Unpack a MSG_POSITION_CORRECT message. | |
MSG_ATTITUDE_CORRECT | |
void | send_msg_attitude_correct (const int16_t rollError, const int16_t pitchError, const int16_t yawError) |
Send a MSG_ATTITUDE_CORRECT message. | |
void | unpack_msg_attitude_correct (int16_t &rollError, int16_t &pitchError, int16_t &yawError) |
Unpack a MSG_ATTITUDE_CORRECT message. | |
MSG_POSITION_SET | |
void | send_msg_position_set (const int32_t latitude, const int32_t longitude, const int32_t altitude, const uint16_t heading) |
Send a MSG_POSITION_SET message. | |
void | unpack_msg_position_set (int32_t &latitude, int32_t &longitude, int32_t &altitude, uint16_t &heading) |
Unpack a MSG_POSITION_SET message. | |
MSG_ATTITUDE_SET | |
void | send_msg_attitude_set (const int16_t roll, const int16_t pitch, const uint16_t yaw) |
Send a MSG_ATTITUDE_SET message. | |
void | unpack_msg_attitude_set (int16_t &roll, int16_t &pitch, uint16_t &yaw) |
Unpack a MSG_ATTITUDE_SET message. |
Definition in file protocol.h.
#define BINCOMM_MAX_MESSAGE_SIZE sizeof(union _binCommBufferSizer) |
#define BINCOMM_MAX_MESSAGE_SIZE sizeof(union _binCommBufferSizer) |
Definition at line 1499 of file protocol.h.
enum MessageID |
Message ID values
Definition at line 1420 of file protocol.h.
void send_msg_acknowledge | ( | const uint8_t | msgID, | |
const uint8_t | sum1, | |||
const uint8_t | sum2 | |||
) | [inline] |
Send a MSG_ACKNOWLEDGE message.
Definition at line 21 of file protocol.h.
void send_msg_attitude | ( | const int16_t | roll, | |
const int16_t | pitch, | |||
const uint16_t | yaw | |||
) | [inline] |
Send a MSG_ATTITUDE message.
Definition at line 147 of file protocol.h.
void send_msg_attitude_correct | ( | const int16_t | rollError, | |
const int16_t | pitchError, | |||
const int16_t | yawError | |||
) | [inline] |
Send a MSG_ATTITUDE_CORRECT message.
Definition at line 1299 of file protocol.h.
void send_msg_attitude_set | ( | const int16_t | roll, | |
const int16_t | pitch, | |||
const uint16_t | yaw | |||
) | [inline] |
Send a MSG_ATTITUDE_SET message.
Definition at line 1389 of file protocol.h.
void send_msg_command_list | ( | const uint16_t | itemNumber, | |
const uint16_t | listLength, | |||
const uint8_t | commandID, | |||
const uint8_t | p1, | |||
const int32_t | p2, | |||
const int32_t | p3, | |||
const int32_t | p4 | |||
) | [inline] |
Send a MSG_COMMAND_LIST message.
Definition at line 553 of file protocol.h.
void send_msg_command_mode_change | ( | const uint16_t | UNSPECIFIED | ) | [inline] |
Send a MSG_COMMAND_MODE_CHANGE message.
Definition at line 613 of file protocol.h.
void send_msg_command_request | ( | const uint16_t | UNSPECIFIED | ) | [inline] |
Send a MSG_COMMAND_REQUEST message.
Definition at line 445 of file protocol.h.
void send_msg_command_upload | ( | const uint8_t | action, | |
const uint16_t | itemNumber, | |||
const uint16_t | listLength, | |||
const uint8_t | commandID, | |||
const uint8_t | p1, | |||
const int32_t | p2, | |||
const int32_t | p3, | |||
const int32_t | p4 | |||
) | [inline] |
Send a MSG_COMMAND_UPLOAD message.
Definition at line 482 of file protocol.h.
void send_msg_dataflash_request | ( | const uint16_t | UNSPECIFIED | ) | [inline] |
Send a MSG_DATAFLASH_REQUEST message.
Definition at line 1129 of file protocol.h.
void send_msg_dataflash_set | ( | const uint16_t | UNSPECIFIED | ) | [inline] |
Send a MSG_DATAFLASH_SET message.
Definition at line 1159 of file protocol.h.
void send_msg_eeprom_request | ( | const uint16_t | UNSPECIFIED | ) | [inline] |
Send a MSG_EEPROM_REQUEST message.
Definition at line 1189 of file protocol.h.
void send_msg_eeprom_set | ( | const uint16_t | UNSPECIFIED | ) | [inline] |
Send a MSG_EEPROM_SET message.
Definition at line 1219 of file protocol.h.
void send_msg_heartbeat | ( | const uint8_t | flightMode, | |
const uint16_t | timeStamp, | |||
const uint16_t | batteryVoltage, | |||
const uint16_t | commandIndex | |||
) | [inline] |
Send a MSG_HEARTBEAT message.
Definition at line 100 of file protocol.h.
void send_msg_location | ( | const int32_t | latitude, | |
const int32_t | longitude, | |||
const int32_t | altitude, | |||
const uint16_t | groundSpeed, | |||
const uint16_t | groundCourse, | |||
const uint32_t | timeOfWeek | |||
) | [inline] |
Send a MSG_LOCATION message.
Definition at line 192 of file protocol.h.
void send_msg_perf_report | ( | const uint32_t | interval, | |
const uint16_t | mainLoopCycles, | |||
const uint8_t | mainLoopCycleTime, | |||
const uint8_t | gyroSaturationCount, | |||
const uint8_t | adcConstraintCount, | |||
const uint8_t | renormSqrtCount, | |||
const uint8_t | renormBlowupCount, | |||
const uint8_t | gpsFixCount, | |||
const uint16_t | imuHealth, | |||
const uint16_t | gcsMessageCount | |||
) | [inline] |
Send a MSG_PERF_REPORT message.
Definition at line 292 of file protocol.h.
void send_msg_pid | ( | const uint8_t | pidSet, | |
const int32_t | p, | |||
const int32_t | i, | |||
const int32_t | d, | |||
const int16_t | integratorMax | |||
) | [inline] |
Send a MSG_PID message.
Definition at line 839 of file protocol.h.
void send_msg_pid_request | ( | const uint8_t | pidSet | ) | [inline] |
Send a MSG_PID_REQUEST message.
Definition at line 751 of file protocol.h.
void send_msg_pid_set | ( | const uint8_t | pidSet, | |
const int32_t | p, | |||
const int32_t | i, | |||
const int32_t | d, | |||
const int16_t | integratorMax | |||
) | [inline] |
Send a MSG_PID_SET message.
Definition at line 785 of file protocol.h.
void send_msg_pin_request | ( | const uint16_t | UNSPECIFIED | ) | [inline] |
Send a MSG_PIN_REQUEST message.
Definition at line 1069 of file protocol.h.
void send_msg_pin_set | ( | const uint16_t | UNSPECIFIED | ) | [inline] |
Send a MSG_PIN_SET message.
Definition at line 1099 of file protocol.h.
void send_msg_position_correct | ( | const int16_t | latError, | |
const int16_t | lonError, | |||
const int16_t | altError, | |||
const int16_t | groundSpeedError | |||
) | [inline] |
Send a MSG_POSITION_CORRECT message.
Definition at line 1252 of file protocol.h.
void send_msg_position_set | ( | const int32_t | latitude, | |
const int32_t | longitude, | |||
const int32_t | altitude, | |||
const uint16_t | heading | |||
) | [inline] |
Send a MSG_POSITION_SET message.
Definition at line 1342 of file protocol.h.
void send_msg_pressure | ( | const int32_t | pressureAltitude, | |
const int16_t | airSpeed | |||
) | [inline] |
Send a MSG_PRESSURE message.
Definition at line 248 of file protocol.h.
void send_msg_radio_out | ( | const uint16_t(&) | value[8] | ) | [inline] |
Send a MSG_RADIO_OUT message.
Definition at line 979 of file protocol.h.
void send_msg_sensor | ( | const uint16_t | UNSPECIFIED | ) | [inline] |
Send a MSG_SENSOR message.
Definition at line 1009 of file protocol.h.
void send_msg_servo_out | ( | const int16_t(&) | value[8] | ) | [inline] |
Send a MSG_SERVO_OUT message.
Definition at line 1039 of file protocol.h.
void send_msg_status_text | ( | const uint8_t | severity, | |
const char(&) | text[50] | |||
) | [inline] |
Send a MSG_STATUS_TEXT message.
Definition at line 62 of file protocol.h.
void send_msg_trim_max | ( | const uint16_t(&) | value[8] | ) | [inline] |
Send a MSG_TRIM_MAX message.
Definition at line 949 of file protocol.h.
void send_msg_trim_min | ( | const uint16_t(&) | value[8] | ) | [inline] |
Send a MSG_TRIM_MIN message.
Definition at line 919 of file protocol.h.
void send_msg_trim_startup | ( | const uint16_t(&) | value[8] | ) | [inline] |
Send a MSG_TRIM_STARTUP message.
Definition at line 889 of file protocol.h.
void send_msg_value | ( | const uint8_t | valueID, | |
const uint32_t | value | |||
) | [inline] |
Send a MSG_VALUE message.
Definition at line 716 of file protocol.h.
void send_msg_value_request | ( | const uint8_t | valueID, | |
const uint8_t | broadcast | |||
) | [inline] |
Send a MSG_VALUE_REQUEST message.
Definition at line 644 of file protocol.h.
void send_msg_value_set | ( | const uint8_t | valueID, | |
const uint32_t | value | |||
) | [inline] |
Send a MSG_VALUE_SET message.
Definition at line 680 of file protocol.h.
void send_msg_version | ( | const uint8_t | systemType, | |
const uint8_t | systemID, | |||
const uint8_t(&) | firmwareVersion[3] | |||
) | [inline] |
Send a MSG_VERSION message.
Definition at line 405 of file protocol.h.
void send_msg_version_request | ( | const uint8_t | systemType, | |
const uint8_t | systemID | |||
) | [inline] |
Send a MSG_VERSION_REQUEST message.
Definition at line 368 of file protocol.h.
void unpack_msg_acknowledge | ( | uint8_t & | msgID, | |
uint8_t & | sum1, | |||
uint8_t & | sum2 | |||
) | [inline] |
Unpack a MSG_ACKNOWLEDGE message.
Definition at line 38 of file protocol.h.
void unpack_msg_attitude | ( | int16_t & | roll, | |
int16_t & | pitch, | |||
uint16_t & | yaw | |||
) | [inline] |
Unpack a MSG_ATTITUDE message.
Definition at line 164 of file protocol.h.
void unpack_msg_attitude_correct | ( | int16_t & | rollError, | |
int16_t & | pitchError, | |||
int16_t & | yawError | |||
) | [inline] |
Unpack a MSG_ATTITUDE_CORRECT message.
Definition at line 1316 of file protocol.h.
void unpack_msg_attitude_set | ( | int16_t & | roll, | |
int16_t & | pitch, | |||
uint16_t & | yaw | |||
) | [inline] |
Unpack a MSG_ATTITUDE_SET message.
Definition at line 1406 of file protocol.h.
void unpack_msg_command_list | ( | uint16_t & | itemNumber, | |
uint16_t & | listLength, | |||
uint8_t & | commandID, | |||
uint8_t & | p1, | |||
int32_t & | p2, | |||
int32_t & | p3, | |||
int32_t & | p4 | |||
) | [inline] |
Unpack a MSG_COMMAND_LIST message.
Definition at line 582 of file protocol.h.
void unpack_msg_command_mode_change | ( | uint16_t & | UNSPECIFIED | ) | [inline] |
Unpack a MSG_COMMAND_MODE_CHANGE message.
Definition at line 624 of file protocol.h.
void unpack_msg_command_request | ( | uint16_t & | UNSPECIFIED | ) | [inline] |
Unpack a MSG_COMMAND_REQUEST message.
Definition at line 456 of file protocol.h.
void unpack_msg_command_upload | ( | uint8_t & | action, | |
uint16_t & | itemNumber, | |||
uint16_t & | listLength, | |||
uint8_t & | commandID, | |||
uint8_t & | p1, | |||
int32_t & | p2, | |||
int32_t & | p3, | |||
int32_t & | p4 | |||
) | [inline] |
Unpack a MSG_COMMAND_UPLOAD message.
Definition at line 514 of file protocol.h.
void unpack_msg_dataflash_request | ( | uint16_t & | UNSPECIFIED | ) | [inline] |
Unpack a MSG_DATAFLASH_REQUEST message.
Definition at line 1140 of file protocol.h.
void unpack_msg_dataflash_set | ( | uint16_t & | UNSPECIFIED | ) | [inline] |
Unpack a MSG_DATAFLASH_SET message.
Definition at line 1170 of file protocol.h.
void unpack_msg_eeprom_request | ( | uint16_t & | UNSPECIFIED | ) | [inline] |
Unpack a MSG_EEPROM_REQUEST message.
Definition at line 1200 of file protocol.h.
void unpack_msg_eeprom_set | ( | uint16_t & | UNSPECIFIED | ) | [inline] |
Unpack a MSG_EEPROM_SET message.
Definition at line 1230 of file protocol.h.
void unpack_msg_heartbeat | ( | uint8_t & | flightMode, | |
uint16_t & | timeStamp, | |||
uint16_t & | batteryVoltage, | |||
uint16_t & | commandIndex | |||
) | [inline] |
Unpack a MSG_HEARTBEAT message.
Definition at line 120 of file protocol.h.
void unpack_msg_location | ( | int32_t & | latitude, | |
int32_t & | longitude, | |||
int32_t & | altitude, | |||
uint16_t & | groundSpeed, | |||
uint16_t & | groundCourse, | |||
uint32_t & | timeOfWeek | |||
) | [inline] |
Unpack a MSG_LOCATION message.
Definition at line 218 of file protocol.h.
void unpack_msg_perf_report | ( | uint32_t & | interval, | |
uint16_t & | mainLoopCycles, | |||
uint8_t & | mainLoopCycleTime, | |||
uint8_t & | gyroSaturationCount, | |||
uint8_t & | adcConstraintCount, | |||
uint8_t & | renormSqrtCount, | |||
uint8_t & | renormBlowupCount, | |||
uint8_t & | gpsFixCount, | |||
uint16_t & | imuHealth, | |||
uint16_t & | gcsMessageCount | |||
) | [inline] |
Unpack a MSG_PERF_REPORT message.
Definition at line 330 of file protocol.h.
void unpack_msg_pid | ( | uint8_t & | pidSet, | |
int32_t & | p, | |||
int32_t & | i, | |||
int32_t & | d, | |||
int16_t & | integratorMax | |||
) | [inline] |
Unpack a MSG_PID message.
Definition at line 862 of file protocol.h.
void unpack_msg_pid_request | ( | uint8_t & | pidSet | ) | [inline] |
Unpack a MSG_PID_REQUEST message.
Definition at line 762 of file protocol.h.
void unpack_msg_pid_set | ( | uint8_t & | pidSet, | |
int32_t & | p, | |||
int32_t & | i, | |||
int32_t & | d, | |||
int16_t & | integratorMax | |||
) | [inline] |
Unpack a MSG_PID_SET message.
Definition at line 808 of file protocol.h.
void unpack_msg_pin_request | ( | uint16_t & | UNSPECIFIED | ) | [inline] |
Unpack a MSG_PIN_REQUEST message.
Definition at line 1080 of file protocol.h.
void unpack_msg_pin_set | ( | uint16_t & | UNSPECIFIED | ) | [inline] |
Unpack a MSG_PIN_SET message.
Definition at line 1110 of file protocol.h.
void unpack_msg_position_correct | ( | int16_t & | latError, | |
int16_t & | lonError, | |||
int16_t & | altError, | |||
int16_t & | groundSpeedError | |||
) | [inline] |
Unpack a MSG_POSITION_CORRECT message.
Definition at line 1272 of file protocol.h.
void unpack_msg_position_set | ( | int32_t & | latitude, | |
int32_t & | longitude, | |||
int32_t & | altitude, | |||
uint16_t & | heading | |||
) | [inline] |
Unpack a MSG_POSITION_SET message.
Definition at line 1362 of file protocol.h.
void unpack_msg_pressure | ( | int32_t & | pressureAltitude, | |
int16_t & | airSpeed | |||
) | [inline] |
Unpack a MSG_PRESSURE message.
Definition at line 262 of file protocol.h.
void unpack_msg_radio_out | ( | uint16_t(&) | value[8] | ) | [inline] |
Unpack a MSG_RADIO_OUT message.
Definition at line 990 of file protocol.h.
void unpack_msg_sensor | ( | uint16_t & | UNSPECIFIED | ) | [inline] |
Unpack a MSG_SENSOR message.
Definition at line 1020 of file protocol.h.
void unpack_msg_servo_out | ( | int16_t(&) | value[8] | ) | [inline] |
Unpack a MSG_SERVO_OUT message.
Definition at line 1050 of file protocol.h.
void unpack_msg_status_text | ( | uint8_t & | severity, | |
char(&) | text[50] | |||
) | [inline] |
Unpack a MSG_STATUS_TEXT message.
Definition at line 76 of file protocol.h.
void unpack_msg_trim_max | ( | uint16_t(&) | value[8] | ) | [inline] |
Unpack a MSG_TRIM_MAX message.
Definition at line 960 of file protocol.h.
void unpack_msg_trim_min | ( | uint16_t(&) | value[8] | ) | [inline] |
Unpack a MSG_TRIM_MIN message.
Definition at line 930 of file protocol.h.
void unpack_msg_trim_startup | ( | uint16_t(&) | value[8] | ) | [inline] |
Unpack a MSG_TRIM_STARTUP message.
Definition at line 900 of file protocol.h.
void unpack_msg_value | ( | uint8_t & | valueID, | |
uint32_t & | value | |||
) | [inline] |
Unpack a MSG_VALUE message.
Definition at line 730 of file protocol.h.
void unpack_msg_value_request | ( | uint8_t & | valueID, | |
uint8_t & | broadcast | |||
) | [inline] |
Unpack a MSG_VALUE_REQUEST message.
Definition at line 658 of file protocol.h.
void unpack_msg_value_set | ( | uint8_t & | valueID, | |
uint32_t & | value | |||
) | [inline] |
Unpack a MSG_VALUE_SET message.
Definition at line 694 of file protocol.h.
void unpack_msg_version | ( | uint8_t & | systemType, | |
uint8_t & | systemID, | |||
uint8_t(&) | firmwareVersion[3] | |||
) | [inline] |
Unpack a MSG_VERSION message.
Definition at line 422 of file protocol.h.
void unpack_msg_version_request | ( | uint8_t & | systemType, | |
uint8_t & | systemID | |||
) | [inline] |
Unpack a MSG_VERSION_REQUEST message.
Definition at line 382 of file protocol.h.