feat(ppclock): SUOTA 固件升级(ota.py + CLI ota 子命令 + 预检),APK互证报告入库,123 测试全绿
This commit is contained in:
1 parent
7079053dde
commit
3b92c382fc
7 files changed
+443
No files matched your search
@@ -89,3 +89,8 @@ class BLETransport:
|
||||
|
||||
async def delay(self, seconds: float):
|
||||
await asyncio.sleep(seconds)
|
||||
|
||||
async def run_ota(self, image: bytes, on_progress=None):
|
||||
"""SUOTA 固件升级(证据 analysis/apk/apk-analysis.md §e)。"""
|
||||
from . import ota
|
||||
return await ota.run_ota(self._client, image, on_progress)
|
||||
Reference in new issue
Block a user