Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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.
#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

◆ GOT_CRC1

#define GOT_CRC1   5

Definition at line 16 of file protocol.c.

Referenced by parse_mora().

◆ GOT_LENGTH

#define GOT_LENGTH   2

Definition at line 13 of file protocol.c.

◆ GOT_MSGID

#define GOT_MSGID   3

Definition at line 14 of file protocol.c.

Referenced by parse_mora().

◆ GOT_PAYLOAD

#define GOT_PAYLOAD   4

Definition at line 15 of file protocol.c.

Referenced by gps_mtk_parse(), gps_skytraq_parse(), gps_ubx_parse(), parse_mora(), and ubx_process().

◆ GOT_STX

#define GOT_STX   1

Definition at line 12 of file protocol.c.

Referenced by parse_mora().

◆ UNINIT

Function Documentation

◆ parse_mora()

Variable Documentation

◆ mora_ck_a

uint8_t mora_ck_a

Definition at line 5 of file protocol.c.

◆ mora_ck_b

uint8_t mora_ck_b

Definition at line 5 of file protocol.c.

◆ mora_protocol

struct mora_transport mora_protocol

Definition at line 18 of file protocol.c.

Referenced by digital_cam_uart_event(), and main().