Open Informatic opened 4 years ago
Just got a (somewhat verified) report of cli.py timing out on BLE version check before enabling encryption. https://github.com/Informatic/py9b/blob/c96a402245bd22249a6bb8164438f9ddc70c6879/cli.py#L44
cli.py
Replacing that line with if True: seemed to help. Would be nice to just add a CLI flag to forcibly enable encryption in these cases. (or dynamically check if the encryption key characteristic is present, instead of checking BLE firmware version)
if True:
Just got a (somewhat verified) report of
cli.py
timing out on BLE version check before enabling encryption. https://github.com/Informatic/py9b/blob/c96a402245bd22249a6bb8164438f9ddc70c6879/cli.py#L44Replacing that line with
if True:
seemed to help. Would be nice to just add a CLI flag to forcibly enable encryption in these cases. (or dynamically check if the encryption key characteristic is present, instead of checking BLE firmware version)