添加检测时赋码
心跳ack为0时才回复
This commit is contained in:
@@ -117,6 +117,7 @@ def scheme_taskids_to_byte(j:json):
|
||||
t.append((j["PlanID"]>>8)&0xff)
|
||||
t.append((j["PlanID"]>>16)&0xff)
|
||||
t.append((j["PlanID"]>>24)&0xff)
|
||||
print("calc planid:",t.hex(","))
|
||||
for i in j["TaskArray"]:
|
||||
t.append(i["TaskID"])
|
||||
length=len(t)
|
||||
|
Reference in New Issue
Block a user