mirror of
https://github.com/bkerler/edl.git
synced 2024-11-24 08:27:58 -05:00
Change reset command to use reset instead of poweroff
This commit is contained in:
parent
bc745fa992
commit
44e91cc789
2 changed files with 3 additions and 3 deletions
4
edl
4
edl
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
# Qualcomm Sahara / Firehose Client (c) B.Kerler 2018-2021
|
||||
# Qualcomm Sahara / Firehose Client (c) B.Kerler 2018-2023
|
||||
# Licensed under MIT License
|
||||
"""
|
||||
Usage:
|
||||
|
@ -142,7 +142,7 @@ from binascii import hexlify
|
|||
|
||||
args = docopt(__doc__, version='3')
|
||||
|
||||
print("Qualcomm Sahara / Firehose Client V3.60 (c) B.Kerler 2018-2022.")
|
||||
print("Qualcomm Sahara / Firehose Client V3.61 (c) B.Kerler 2018-2023.")
|
||||
|
||||
|
||||
def parse_cmd(rargs):
|
||||
|
|
|
@ -318,7 +318,7 @@ class firehose(metaclass=LogBase):
|
|||
|
||||
def cmd_reset(self, mode="reset"):
|
||||
if mode is None:
|
||||
mode = "poweroff"
|
||||
mode = "reset"
|
||||
data = "<?xml version=\"1.0\" ?><data><power value=\"" + mode + "\"/></data>"
|
||||
val = self.xmlsend(data)
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue