From 2b1587882f8043c46f6fa21423be346ee4f2d22b Mon Sep 17 00:00:00 2001 From: zhaohe Date: Thu, 20 Mar 2025 11:15:08 +0800 Subject: [PATCH] update protocol --- api/apibasic/packet_interface.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/apibasic/packet_interface.hpp b/api/apibasic/packet_interface.hpp index f315305..bb3f5e3 100644 --- a/api/apibasic/packet_interface.hpp +++ b/api/apibasic/packet_interface.hpp @@ -16,10 +16,10 @@ typedef struct { #pragma pack(pop) typedef enum { - kptv2_cmd = 0xA0, - kptv2_ack = 0xA1, - kptv2_error_ack = 0xA2, - kptv2_event = 0xA3, + kptv2_cmd = 0x70, + kptv2_ack = 0x71, + kptv2_error_ack = 0x72, + kptv2_event = 0x73, } zcan_cmd_packet_type_t; static inline bool zcr_cmd_checkpacket(const zcr_cmd_header_t* header, int len) {