I am trying to run the heart_rate_collector.py example in Nordic's pc_ble_driver_py library. When I try to execute the program, I get the following error:
Command used to run example:
(I have also tried running with python instead of python3)
I have modified the code in two places:
- main function starting on Line 166 now reads:
- Line 216 now reads:
Things I have tried to resolve this issue:
- Uninstalling Python3.9, and installing Python3.8.8
- I have tried using different serial ports on my computer
The issue still exists.
Additionally, I am using a Mac, and have followed instructions here to properly disable MSD. I am able to verify that the board connects successfully via the serial port by opening nRF Connect and selecting the device.
My system Information:
OS: macOS Big Sur version 11.2.1
Python version 3.8.8
Connectivity firmware version: 4.2.1
SoftDevice API version 5
What am I unable to execute the pc_ble_driver_py example?
Please let me know if I can offer any additional information to help resolve this issue.