42 switch (state->
state) {
uint8_t data[SYSLINK_MAX_DATA_LEN]
void syslink_parse_init(syslink_parse_state *state)
Init syslink parser.
Syslink protocol for communication with bitcraze/crazyflie NRF mcu.
#define SYSLINK_MAX_DATA_LEN
void syslink_compute_cksum(syslink_message_t *msg)
Compute syslink checksum.
bool syslink_parse_char(syslink_parse_state *state, uint8_t c, syslink_message_t *msg)
Parse one byte.
uint8_t msg[10]
Buffer used for general comunication over SPI (out buffer)