Adding support for disabling secure aut.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2022-10-24 00:04:55 +02:00
parent 8c21a2bbcd
commit 71ecb23af6
2 changed files with 93 additions and 75 deletions

View File

@@ -121,9 +121,15 @@ class VendorConfig(Config):
def unlock_device(self):
self._send_command_key(VendorConfig.CMD.CONFIG_UNLOCK)
def disable_device_aut(self):
self._call(
Config.CMD.VENDOR_PROTOTYPE,
{
VendorConfig.PARAM.VENDOR_COMMAND_ID: VendorConfig.CMD.CONFIG_AUT,
},
)
#vcfg.enable_disable_device_aut(True)
def parse_args():
parser = argparse.ArgumentParser()