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

pc-ble-driver not enumerating PCA10059

Hello,

thanks for providing the very helpfull pc-ble-driver library on github. I really appreciate this! :-) I have an application, based on a nrf52 (a BLE SWD Debugger) and to fully support BLE 5.0 I want to ship every debugger with an PCA10059, so that users don’t have to rely on there PCs BLE support. To not require the user to figure out, how the CDC Uart name is, I would like to use the sd_rpc_serial_port_enum() function to find all connected devices and pick one based on some heuristic like manufacturer etc.

Unfortunately, the function (sd_rpc_serial_port_enum()) does not return PCA10059 devices. According to the Mac code, the manufacturer have to start with on of „SEGGER“, „arm“, or „mbed“. The manufactor for the PCA10059 is "Nordic Semiconductor". Is this an oversight? I would provide a patch, but I'm only able to do thorough testing on MacOS. (BTW: opening the PCA10059 CDC device by name, works as expected).

best regards,

Torsten

  • Hi Torsten,

    The main difference here on the PCA10059 dongle is that it doesn't have a Segger Jlink acts as the virtual UART chip. Instead we use the USB interface on nRF52 chip itself as a Virtual UART . That's why you see Nordic Semiconductor instead of "Segger "or "ARM". So you would need to modify the code a bit to find also for "Nordic Semiconductor"

Related