Python code stuck (connection timeout)

We tested several hundred connection and disconnection cycles with the nRF52840 BLE dongle. The first hundred cycles operated without any issues. However, at a later cycle, the Python application abruptly stopped establishing a connection to the dongle.

We attempted multiple recovery steps—including unplugging and re‑plugging the dongle, as well as rebooting the computer running the Python script—but the script still failed to reconnect.

Notably, nRF Connect for Desktop – Bluetooth Low Energy Standalone v4.0.4 continued to function normally, and it consistently detected the nRF52840 dongle without any problems.

In contrast, the Python code using pc_ble_driver_py repeatedly timed out when attempting to connect to the dongle.

See the attached images.

Parents Reply Children
No Data
Related