Hi all,
I wrote a small python script on top of the pc ble driver bindings and ran into a problem when deploying the script on a new pc:
c:\Python27\Scripts>python.exe btle_test.py -aC7EEEFA85254 -t NRF51
Serial port used: COM46
Traceback (most recent call last):
File "btle_test.py", line 219, in <module>
main(serial_port, args.address)
File "btle_test.py", line 181, in main
collector.open()
File "btle_test.py", line 73, 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.__na
me__, err_code))
pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 13
It is running on a 64-bit windows 7 pc with a NRF51 dongle using v0.8.0 of the pc-ble-driver package. The dongle was working before on a similar setup. Already tried re-plugging a few times with no effect. Also running as administrator did not help.
Has anyone seen similar problems?