Hi Nordic Support,
I'm getting this error while trying to connect two 52840 DK, one programmed with the connectivity firmware, and the other one with a sort of ble cli.
Complete error message:
ble_serial.py --com com3 --snr 683356557 --family NRF52 --name "Diapason DK215"
Board already flashed with connectivity firmware.
Socket created
Socket bind complete
Socket now listening
Connected with 127.0.0.1:60774
Traceback (most recent call last):
File "M:\nsapps\ncs\nRF5_SDK_17.1.0_ddde560\examples\FM\FM Diapason\pca10056\s140\ble_serial.py", line 242, in <module>
b = BLE_Serial(comport, args.name, conn)
File "M:\nsapps\ncs\nRF5_SDK_17.1.0_ddde560\examples\FM\FM Diapason\pca10056\s140\ble_serial.py", line 96, in __init__
self.adapter.driver.open()
File "C:\Python27\lib\site-packages\wrapt\wrappers.py", line 645, in __call__
args, kwargs)
File "C:\Python27\lib\site-packages\pc_ble_driver_py\ble_driver.py", line 127, in wrapper
raise NordicSemiException('Failed to {}. Error code: {}'.format(wrapped.__name__, err_code))
pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 3
Please be aware that:
1. the error comes out when connecting (putty) to 127.0.0.1:8889
2. the --com, --snr, --family parameters for the 1st DK are correct, as well as the -- name for the second DK. The two DK are connected and show up properly as CDC UARTs
3. the second DK (running the ble cli) works perfectly, and its ble cli can be connected to through the bluetooth low energy app.
4. the second DK is advertising when connecting (putty) to 127.0.0.1:8889
5. the ble_serial.py I use is an exact copy of nRF5_SDK_17.1.0_ddde560\examples\ble_peripheral\experimental\ble_app_cli
6. Python 2.7.18, Windows 10, rRFConnect SDK v1.9.1
7. this setup was working before my holidays, all commands are saved in unmodified batch scripts to avoid typing errors.
8. I did not change any source code, and (at least voluntarily) I haven't updated anything.
9. Using the example ble_app_cli the error message is the same
Any idea?
Thanks.