pc-ble-driver-py icon indicating copy to clipboard operation
pc-ble-driver-py copied to clipboard

write_req raise KeyError when connection is disconnected

Open juhhov opened this issue 2 years ago • 0 comments

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.

juhhov avatar Jul 26 '22 07:07 juhhov