撤销重发机制以及验证seq机制
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#define RESEND_HEADER_0 0xFD
|
||||
#define RESEND_HEADER_1 0xFE
|
||||
|
||||
#define RESEND_MAX_RETRY_CNT 5
|
||||
#define RESEND_MAX_RETRY_CNT 0
|
||||
// 命令类型
|
||||
typedef enum
|
||||
{
|
||||
@@ -34,6 +34,7 @@ typedef enum
|
||||
|
||||
RESEND_CMD_DATA_ACK = 0x06,
|
||||
|
||||
RESEND_CMD_OTA_GET_PARAM = 0x010,
|
||||
RESEND_CMD_OTA_START = 0x011,
|
||||
RESEND_CMD_OTA_DATA = 0x012,
|
||||
RESEND_CMD_OTA_END = 0x013
|
||||
|
||||
Reference in New Issue
Block a user