Go to the documentation of this file.
43 #define CMD_TYPE_ERR 'E'
45 typedef int (* cmd_handler_t)(
const uint8_t *data,
int len);
47 #define CMD_HANDLERS(...) \
48 const cmd_handler_t cmd_handlers[] = {__VA_ARGS__, NULL}
50 void cmd_input(
const uint8_t *data,
int data_len);
51 void cmd_send(
const uint8_t *data,
int data_len);