I'm trying to use the python bindings for pc-ble-driver with an NRF52840 dongle and I'm having trouble flashing the connectivity FW. I've used the bindings with an NRF51 dongle using nrfjprog and it works fine, but the new dongles don't have a programmer built in and use a serial interface instead.
I've tried using the DFU serial method to package the connectivity hex as an application but it doesn't seem to run correctly and I have to manually reset the dongle. I've also tried using nrf connect to flash the device but it does not allow flashing for hex files that write over more than one region. I split the hex file into two regions (soft device and application) and I can flash but the device still doesn't work.
I'm using connectivity_2.0.1_115k2_with_s132_5.0.hex
Is the dongle supported? If so, how do I configure it to use pc-ble-driver and be compatible with the python bindings?
Unfortunately, pc-ble-driver-py does not support the nRF52840 Dongle yet. If you follow the submodule link in the GitHub repo to pc-ble-driver, you can see that this is still on an old version with softdevice v3.0 API. The dongle is currently supported by nRF Connect for Desktop. Support in pc-ble-driver-py will be added in the future.
Do you have any estimated time frame for when the support will be added?
Unfortunately, I do not have that. The dongle is supported in nRF Connect, which depend on pc-ble-driver-js. Support in pc-ble-driver-py will be added when the developers are done with pc-ble-driver-js/nRF Connect support.
When the support has been added, will it be for python 2.7, 3.6, or both?
Currently, pc-ble-driver-py will only work with Python 2.7. We are looking into adding support for Python 3 as well, but I do not have any details on when this will be available.