Hello, I am devleoping a pc station using pc-ble-driver. I was successfully able to install it on one of my computers but am facing a problem installing it on my surface pro 4. I followed the instruction. This is what I did.
- Installed Boost.
- installed pc-ble-driver-py using
pip install pc-ble-driver-py
- Using a nrf52 development board flashed the hex in github.com/.../master
However when I run the heart_rate_collector example using cmd(admin),
python heart_rate_collector.py nRF52
I get this error
0 : COM12: 682050514 Enter your choice: 0 Serial port used: COM12 Traceback (most recent call last): File "heart_rate_collector.py", line 187, in main(serial_port) File "heart_rate_collector.py", line 149, in main collector.open() File "heart_rate_collector.py", line 67, in open self.adapter.driver.open() File "C:\Python27\lib\site-packages\wrapt\wrappers.py", line 561, in call args, kwargs) File "C:\Python27\lib\site-packages\pc_ble_driver_py\ble_driver.py", line 126, in wrapper raise NordicSemiException('Failed to {}. Error code: {}'.format(wrapped.name, err_code)) pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 13 C:\Python27\Lib\site-packages\pc_ble_driver_py\examples>
======================================== Some people say that this is a permission problem so i tried to give all permission on the python27 folder. It did not work.
Am I missing a step when I am installing the driver?
Thanks in advance