Hi,
I've compiled the pc-ble-driver-py library on a raspberry pi but it doesn't come with a "make install" command. Could someone help me get the right file structure so that nrfutil could use this?
Thanks,
Quinn
Hi,
I've compiled the pc-ble-driver-py library on a raspberry pi but it doesn't come with a "make install" command. Could someone help me get the right file structure so that nrfutil could use this?
Thanks,
Quinn
Hi,
Instead of using make, you should use python setup. You should run "python setup.py install" from pc-ble-driver-py\python-folder. Alternatively, you can run "python setup.py sdist" and then "pip install dist/*.tar.gz".
Hi,
Instead of using make, you should use python setup. You should run "python setup.py install" from pc-ble-driver-py\python-folder. Alternatively, you can run "python setup.py sdist" and then "pip install dist/*.tar.gz".
so this does install pc-ble-driver-py but when I try and run with it I get
RuntimeError: Failed to locate the pc_ble_driver shared library: /home/pi/.local/lib/python2.7/site-packages/pc_ble_driver_py/lib/linux/x86_32/libpc_ble_driver_shared_sd_api_v3.so.
it looks like the pc-ble-driver download only has versions 2 and 5, I assume I want to tell it to use 5 but I'm not sure how to do that.
Thank you
pc-ble-driver-py are not compatible with v5, but with v3. So you have to use pc-ble-driver tav v2.x and not master branch:
https://github.com/NordicSemiconductor/pc-ble-driver/releases
Note: v2.x releases are for SD API v2 & v3, v3.x releases are for SD_API v2 & v5.