Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
|
CRTP protocol for communication with bitcraze/crazyflie modems. More...
#include "std.h"
Go to the source code of this file.
Data Structures | |
struct | crtp_commander |
Macros | |
#define | CRTP_PORT_CONSOLE 0x00 |
#define | CRTP_PORT_PARAM 0x02 |
#define | CRTP_PORT_COMMANDER 0x03 |
#define | CRTP_PORT_MEM 0x04 |
#define | CRTP_PORT_LOG 0x05 |
#define | CRTP_PORT_PPRZLINK 0x09 |
#define | CRTP_PORT_PLATFORM 0x0D |
#define | CRTP_PORT_DEBUG 0x0E |
#define | CRTP_PORT_LINK 0x0F |
#define | CRTP_NULL(x) (((x).header & 0xf3) == 0xf3) |
#define | CRTP_MAX_DATA_SIZE 31 |
CRTP protocol for communication with bitcraze/crazyflie modems.
based on PX4 implementation
Definition in file crtp.h.
struct crtp_message_t |
Data Fields | ||
---|---|---|
union crtp_message_t | __unnamed__ | |
uint8_t | data[CRTP_MAX_DATA_SIZE] | |
uint8_t | size |
struct crtp_commander |
union crtp_message_t.__unnamed__ |
Data Fields | ||
---|---|---|
__unnamed__ | __unnamed__ | |
uint8_t | header |
struct crtp_message_t.__unnamed__.__unnamed__ |
#define CRTP_MAX_DATA_SIZE 31 |
Definition at line 50 of file crtp.h.
Referenced by handle_raw_other(), syslink_check_free_space(), and syslink_put_buffer().
#define CRTP_NULL | ( | x | ) | (((x).header & 0xf3) == 0xf3) |
Definition at line 46 of file crtp.h.
Referenced by handle_raw().
#define CRTP_PORT_COMMANDER 0x03 |
Definition at line 36 of file crtp.h.
Referenced by handle_raw().
#define CRTP_PORT_LINK 0x0F |
Definition at line 44 of file crtp.h.
Referenced by handle_raw_other().
#define CRTP_PORT_LOG 0x05 |
Definition at line 38 of file crtp.h.
Referenced by handle_raw_other().
#define CRTP_PORT_MEM 0x04 |
Definition at line 37 of file crtp.h.
Referenced by handle_raw_other().
#define CRTP_PORT_PARAM 0x02 |
Definition at line 35 of file crtp.h.
Referenced by handle_raw_other().
#define CRTP_PORT_PPRZLINK 0x09 |
Definition at line 40 of file crtp.h.
Referenced by handle_raw(), and syslink_dl_init().