NordicSemiconductor / pc-ble-driver-py

Python bindings for the ble-driver library
Other
126 stars 115 forks source link

Event data synchronization in ble_adapter is very fragile #43

Open rmcgregor1990 opened 7 years ago

rmcgregor1990 commented 7 years ago

Synchronizing event requests with responses using the EvtSync class in ble_adapter.py is somewhat fragile in the following respects:

Currently the most alarming issue is that if the event wait times out, data from the previously handled event is returned without any error raised. This can lead to very hard to diagnose bugs.

bihanssen commented 5 years ago

@rmcgregor1990 sorry for no response. Thanks for reporting.

Issue related to #55.