添加jwt模块程序升级命令0xec

This commit is contained in:
ranchuan
2023-10-08 18:25:31 +08:00
parent b784c66e23
commit 5ee17b6ce2
6 changed files with 272 additions and 8 deletions

View File

@@ -229,6 +229,7 @@ class handle:
with open(name,"rb") as f:
self.data=f.read()
self.name=f.name.split('/')[-1]
print("file:{d1},crc32={d2}".format(d1=self.name,d2=hex(crc32(self.data))))
self.stat=0
self.packet_all=(len(self.data)+199)//200
self.sent_bytes=0