Juho Hovila
Juho Hovila
``` $ jlink.compatible_firmware_version Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.9/site-packages/pylink/jlink.py", line 142, in wrapper return func(self, *args, **kwargs) File "/usr/local/lib/python3.9/site-packages/pylink/jlink.py", line 1232, in compatible_firmware_version raise...
Script to reproduce the issue: ``` from blatann import BleDevice dev = '/dev/ttyACM0' def create(): print('create') ble = BleDevice(dev) ble.open() return ble def destroy(ble): print('destroy') ble.close() ble = create() destroy(ble)...
KeyError is raised when connection is disconnected just before attempting to write at https://github.com/NordicSemiconductor/pc-ble-driver-py/blob/a6b36d3a8924b809fe86267ba3f8079dc173fb27/pc_ble_driver_py/ble_adapter.py#L500. More specific error should be raised.
#### Environment details - OS type and version: Ubuntu 20.04 - Python version: Python 3.10.10 - pip version: pip 23.0.1 - `google-auth-oauthlib` version: Version: 1.0.0 #### Steps to reproduce 1....
This is often symptom of blocked SWD access due to security reasons. Would it be possible to have specific exception type for this error to not have to rely on...