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