增加0xa协议子报文的测试,因为与时间相关,测试范围还较窄,目前仅仅是冒烟测试,貌似是过关的.

This commit is contained in:
2025-09-17 14:40:15 +08:00
parent 1dee4519bb
commit aa28113c07
2 changed files with 481 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ class GenPkt(object):
if not (ptype in [0, 2]):
print('Error, bad subpkt type:', ptype)
return
if not (cmd in [0, 1, 2, 0xb, 0xc, 0xd, 0xe, 0xf]):
if not (cmd in [0, 1, 2, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf]):
print('Error, bad cmd:', cmd)
return