42 switch (
state->state) {
94 if (
state->index >= (
int)
sizeof(
msg->cksum)) {
uint8_t msg[10]
Buffer used for general comunication over SPI (out buffer)
bool syslink_parse_char(syslink_parse_state *state, uint8_t c, syslink_message_t *msg)
Parse one byte.
void syslink_compute_cksum(syslink_message_t *msg)
Compute syslink checksum.
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
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.