From c099e6662b8a6e320ac314d31eda9b40455e5aa7 Mon Sep 17 00:00:00 2001 From: lyg <1543117173@qq.com> Date: 星期四, 22 五月 2025 09:27:37 +0800 Subject: [PATCH] 修改指令json生成相关提示词和代码逻辑 --- tpl/tc_pkt_format.json | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tpl/tc_pkt_format.json b/tpl/tc_pkt_format.json index 5b0c64f..73c812f 100644 --- a/tpl/tc_pkt_format.json +++ b/tpl/tc_pkt_format.json @@ -61,7 +61,7 @@ "name": "鍖呭簭鍒楄鏁�", "code": "packetSequenceCount", "length": 14, - "type": "const", + "type": "pktSeqCnt", "value": "0" } ] @@ -73,7 +73,7 @@ "type": "length", "value": { "start": "secondaryHeader", - "end": "packetDataEnd", + "end": "data", "formula": "N-1" } } @@ -140,7 +140,8 @@ "name": "鍖呭樊閿欐帶鍒跺煙", "code": "pktCheckSum", "length": 16, - "type": "checkSum" + "type": "checkSum", + "value": {"start": "START", "end": "PREV", "type": "ISOSum"} } ], "subPkts": [] -- Gitblit v1.9.1