This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52840 Dongle and ble_serial.py

I am trying to run ble_serial.py in the ble_app_cli SDK example using the nrf52840 dongle. To do so, I tried flashing the connectivity firmware automatically via the nrfConnect Desktop Bluetooth Low Energy application. When I run the python script, I can connect and everything runs OK for 30 seconds although there is one exception: 

Exception: 'BLE_Serial' object has no attribute 'on_gattc_evt_exchange_mtu_rsp'

After 30 seconds, it loses connection and constantly tries to reconnect with no success. I have also tried flashing connectivity_1.2.3_usb_dfu_pkg.zip from the pc-ble-driver repo checking to see if it could be a version issue but the problem exists there as well. 

Any idea what could be going wrong?

Related