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

Use nRF5SDK examples with pc-ble-driver

The nRF5SDK has a rich set  of examples illustrating extensive use of the BLE APIs, including full examples of the Blood Pressure profile and other health device profiles. The examples for the pc-ble-driver, by comparison, are woefully anemic. Our reasons for using the pc-ble-driver is that our test suite for health device ble centrals/clients requires interfacing to the user that cannot be sensibly loaded on the nRF5 MCU and it will require dynamic configuring at run time of numerous simulated peripherals. 

Part of the  tests will be full fledged BLE health profile peripherals which we then hoped could be downloaded and installed onto the nRF5840 without changing the source code. Let's face it, its far easier to develop and test and run apps on the PC than on an embedded platform. Thus another potential advantage of developing code using the pc-ble-driver and then build the same code for an ARM processor.Lot easier than re-writing the code.

Is this even possible? How can I use the nRF5SDK examples with the pc-ble-driver? Is there any documentation about the differences between the BLE APIs of the pc-ble-driver and those of the nRF5SDK? Its also not completely clear what is application code and what is nRF5 API  code (if any ... perhaps all C-code in the SDK is 'application' code?

Parents Reply
  • Hi,

    I have heard about other customers doing something like this, bu tit is not the main motivation for serialization from Nordic's side. The main motivations are:

    • Serialization firmware running on the nRF chip can be used when the nRF is used as a BLE connectivity chip for another host MCU.
    • The pc-ble-driver is a PC side companion that can be used with serialization for:
      • Nordics developed Test tools (such as nRF Connect BLE)
      • Customer test tools or other applications (such as for instance your use case).

    Regarding the original questions, the pc-ble-driver is just a host-side implementation of the SoftDevice API. We do not provide anything similar to the nRF5 SDK for any other platform then the nRF itself (so no PC side equivalent).

Children
Related