Searched refs:OtatoolTarget (Results 1 – 4 of 4) sorted by relevance
38 class OtatoolTarget(): class52 self.target.read_partition(OtatoolTarget.OTADATA_PARTITION, temp_file.name)64 self.target.erase_partition(OtatoolTarget.OTADATA_PARTITION)188 self.target.write_partition(OtatoolTarget.OTADATA_PARTITION, temp_file.name)324 target = OtatoolTarget(**target_args)
52 from otatool import OtatoolTarget60 target = OtatoolTarget(args.port)
223 要使用 OTA 工具的 Python API,第一步是创建 `OtatoolTarget`:228 target = OtatoolTarget("/dev/ttyUSB1")230 现在,可使用创建的 `OtatoolTarget` 在目标设备上完成操作:
223 The starting point for using the tool's Python API to do is create a `OtatoolTarget` object:228 target = OtatoolTarget("/dev/ttyUSB1")