This commit is contained in:
Bjoern Kerler 2023-07-23 19:34:33 +02:00
parent 1fc3fe076c
commit fc1ea10e73

View file

@ -407,7 +407,8 @@ class adbtools(metaclass=LogBase):
def SierraWireless(self, cn, info, enable): def SierraWireless(self, cn, info, enable):
print("Sending at switch command") print("Sending at switch command")
kg = SierraKeygen(cn) kg = SierraKeygen(cn=cn,devicegeneration=None)
kg.detectdevicegeneration()
if kg.openlock(): if kg.openlock():
if enable: if enable:
if cn.send('AT!CUSTOM="ADBENABLE",1\r') != -1: if cn.send('AT!CUSTOM="ADBENABLE",1\r') != -1: