1、新增Dengle定时参数下发功能,支持最多10条配置,断电保存到Flash,COM打开时暂停发送、关闭后恢复
2、新增USB查询产品码(0x66)和查询Dengle配置(0x74)命令 3、修复bleproto组包栈溢出导致设置Dengle后复位的问题,并完善CDC的DTR状态判断
This commit is contained in:
@@ -19,7 +19,11 @@
|
||||
|
||||
#define USR_PRODCODE_LEN (4)
|
||||
#define USR_PCODE_LEN (6)
|
||||
#define USR_JB_CMD_SET_PRODCODE (0x64) /**< USB 下发产品码命令 */
|
||||
#define USR_JB_CMD_SET_PRODCODE (0x64) /**< USB 设置产品码;ACK=0x65 */
|
||||
#define USR_JB_CMD_GET_PRODCODE (0x66) /**< USB 查询产品码;RSP=0x67 */
|
||||
#define USR_JB_CMD_DENGLE_SET (0x70) /**< USB 设置 Dengle 定时;ACK=0x71 */
|
||||
#define USR_JB_CMD_DENGLE_CLR (0x72) /**< USB 清除全部 Dengle;ACK=0x73 */
|
||||
#define USR_JB_CMD_DENGLE_QRY (0x74) /**< USB 查询 Dengle 配置;RSP=0x75 */
|
||||
|
||||
/*============================================================================*/
|
||||
/* 外部接口 */
|
||||
|
||||
Reference in New Issue
Block a user