Change reset command to use reset instead of poweroff

This commit is contained in:
info@revskills.de 2023-05-07 11:59:59 +02:00
parent bc745fa992
commit 44e91cc789
2 changed files with 3 additions and 3 deletions

4
edl
View file

@ -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):

View file

@ -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: