Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
#include "protocol.h"
Go to the source code of this file.
Macros | |
#define | UNINIT 0 |
Receiving pprz messages. More... | |
#define | GOT_STX 1 |
#define | GOT_LENGTH 2 |
#define | GOT_MSGID 3 |
#define | GOT_PAYLOAD 4 |
#define | GOT_CRC1 5 |
Functions | |
void | parse_mora (struct mora_transport *t, uint8_t c) |
Variables | |
uint8_t | mora_ck_a |
uint8_t | mora_ck_b |
struct mora_transport | mora_protocol |
#define GOT_CRC1 5 |
Definition at line 16 of file protocol.c.
Referenced by parse_mora().
#define GOT_LENGTH 2 |
Definition at line 13 of file protocol.c.
Referenced by parse_mora().
#define GOT_MSGID 3 |
Definition at line 14 of file protocol.c.
Referenced by parse_mora().
#define GOT_PAYLOAD 4 |
Definition at line 15 of file protocol.c.
Referenced by parse_mora().
#define GOT_STX 1 |
Definition at line 12 of file protocol.c.
Referenced by parse_mora().
#define UNINIT 0 |
Receiving pprz messages.
Definition at line 11 of file protocol.c.
Referenced by parse_mora(), parse_xsens_buffer(), sirf_parse_char(), w5100_read_buffer(), xsens700_init(), and xsens_init().
void parse_mora | ( | struct mora_transport * | t, |
uint8_t | c | ||
) |
Definition at line 20 of file protocol.c.
References mora_transport::ck_a, mora_transport::ck_b, mora_transport::error, GOT_CRC1, GOT_LENGTH, GOT_MSGID, GOT_PAYLOAD, GOT_STX, mora_transport::msg_id, mora_transport::msg_received, mora_transport::payload, mora_transport::payload_idx, mora_transport::payload_len, mora_transport::status, STX, and UNINIT.
Referenced by digital_cam_uart_event(), and main().
uint8_t mora_ck_a |
Definition at line 5 of file protocol.c.
uint8_t mora_ck_b |
Definition at line 5 of file protocol.c.
struct mora_transport mora_protocol |
Definition at line 18 of file protocol.c.
Referenced by digital_cam_uart_event(), and main().