#ifndef BLINKY_PROTOCOL_MODULE_H_ #define BLINKY_PROTOCOL_MODULE_H_ #include #include #ifdef __cplusplus extern "C" { #endif #define CDC_PROTO_TYPE_HELLO_REQ 0x01U #define CDC_PROTO_TYPE_HELLO_RSP 0x02U int protocol_module_process_cdc_packet(uint8_t req_type, const uint8_t *req_payload, size_t req_payload_len, uint8_t *rsp_type, uint8_t *rsp_payload, size_t rsp_payload_buf_size, size_t *rsp_payload_len); #ifdef __cplusplus } #endif #endif /* BLINKY_PROTOCOL_MODULE_H_ */