33 #include "pprzlink/pprzlink_device.h"
35 #define CRTP_BUF_LEN 16
36 #define SYSLINK_RX_BUF_LEN 256
CRTP protocol for communication with bitcraze/crazyflie modems.
Syslink protocol for communication with bitcraze/crazyflie NRF mcu.
void syslink_dl_event(void)
Datalink event.
struct syslink_dl syslink
struct link_device device
syslink_message_t msg_rx
last received syslink message
void syslink_dl_periodic(void)
Periodic function.
uint8_t tx_extract_idx
tx extract index
bool charging
battery charging
syslink_parse_state state
syslink parser state
uint8_t rx_insert_idx
rx insert index
uint8_t rx_extract_idx
rx extract index
void syslink_dl_init(void)
Init function.
uint8_t rx_buf[SYSLINK_RX_BUF_LEN]
received pprzlink bytes from syslink/crtp
#define SYSLINK_RX_BUF_LEN
crtp_message_t msg_tx[CRTP_BUF_LEN]
queued crtp packets to be send
uint8_t tx_insert_idx
tx insert index
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.