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

pc-ble-driver compatibility with SDK15.3.0 connectivity S140_usb_hci example

Hello Nordic Support Team,

The question I have is simple. 

Can I use the pc-ble-driver with the ble_connectivity_s140_usb_hci example found in SDK15.3.0?

If not why? 

Also if not, what files are the github scripts using from the SDK to compile the USB Hex file used for connectivity with the pc-ble-driver?

Thank you for your answers.

  • Hello Jared,

    Thank you for your answers.

    I will close the subject.

  • Hello Jared,

    Sorry but I have to reject this answer. 

    I started binding the C/C++ pc-ble-driver in C#.

    I tried using the example ble_connectivity_s140_usb_hci_pca10056 on my target board and the driver on the PC.

    The sd_rpc_adapter_create(transport_layer) API call works fine and the adapter is created. 

    However, when I try to do sd_rpc_open I get an NRF_TIMEOUT error from my target board. 

    This DOES NOT happen when I use the github pre-compiled file 

    connectivity_4.0.0_usb_with_s140_6.1.0.hex

    This means that the example on SDK 15.3.0 is not the same as the precompiled github file. 

    Can you please let me know which files I need to compile from the SDK 15.3.0 in order to get the same behaviour as with the pre-compiled hex file?

  • Hey Sebastian,

    I'd like to push here... same question from my side.

    @Jared: Any concrete advice which changes have to be made to get it running?

  • I have a similar question. How can I use the examples in the SDK15.4.0 with the HEX file generated from the pc-ble-driver project. The HR example in the pc-ble-driver project builds and runs fine. But I take the BP example from the nRF5_SDK_15.3.0_59ac345 it does not compile. The h-files referenced are not part of the pc-ble-driver h-files and the APIs used are completely different. This means if I write source code for the nRF5840 dongle that runs from the PC, I cannot recompile it for installation on the nRF5840; I have to completely rewrite the code.

    That does not make sense and appears to be self-defeating. Why would Nordic do that?

Related