Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
protocol.c File Reference
#include "protocol.h"
+ Include dependency graph for protocol.c:

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
 

Macro Definition Documentation

#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().

Function Documentation

Variable Documentation

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().