交流学习,如有错误欢迎指正。by:wwdeng QQ:435398366
USB -> usb_vendor_callback -> pc_usb_cmd_set -> anc_cmd_receve_process
pc_usb_cmd_set中cmd = PC_TOOL_CMD_ANC_MC_EQ_TUNING("ANC_MC_EQ")
anc_cmd_receve_process中数据转换为消息结构体
typedef enum {
PC_TOOL_CMD_IDLE,
PC_TOOL_CMD_GET_FW_VER,
PC_TOOL_CMD_GET_PROD_SN,
// QUERY_VOLTAGE,
// BURN_SN,
PC_TOOL_CMD_SYS_REBOOT,
PC_TOOL_CMD_SYS_SHUTDOWN,
PC_TOOL_CMD_PING,
PC_TOOL_CMD_CHECK,
PC_TOOL_CMD_FW_UPDATE,
#ifdef USB_EQ_TUNING
PC_TOOL_CMD_EQ_TUNING,
#endif
#ifdef USB_ANC_MC_EQ_TUNING
PC_TOOL_CMD_ANC_MC_EQ_TUNING,
#endif
PC_TOOL_CMD_NUM,
}PC_TOOL_CMD_E;
交流学习,如有错误欢迎指正。by:wwdeng QQ:435398366