C/C++ 协议解析通用流转包方法不怕连包一、流程图二、详细代码
一、流程图二、详细代码//begin解析数据包static uint8_t parse_packet_buf[20480];static int16_t parse_packet_buf_index = 0;static uint8_t resolver_num_packets = 0;static void add_parse_packet_buf(uint8_t* data, uint16_t len){ if(len<(20480-parse_packet_buf_..