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

Communication from PC to NRF52.

Hi. I have been looking through the forum to find anything that could answer my problem, but can't seem to find it. I am working a project, where our needs is to use a nrf52 as central device and connect to a peripheral device using manufacturer ID. I have the device up and running with SDK 12, using ble_app_hrs_c as an example, connecting via complete local name, so far. Now I want to be able to use this device via commands from a PC. So for example, I connect NRF52 to a PC, i then should be able to send commands from PC via UART, to NRF52 and I should then be able to send a command from PC, e.g. Service Discovery, and it should report back to the PC with what it discovered. Can this be done using the SDK?

Parents Reply Children
  • Hi again. I have tried running the tutorial, and I seem to have gotten to the part where to create the MakeFiles from the example, which i can't get working because the example is on Linux, and i am working on windows atm. . I am just a tad bit confused. My previous setup before working with pc-ble-driver, was with the SDK, and using Eclipse and GCC, to edit the code and program the DK. Can i get the pc-ble-driver to work with the Eclipse environment?  

    Is the pc-ble-driver example just libraries that get created to work with other examples? I can't really connect the dots here. Hope you can you help.

    BR. Andreas

  • Hi,

    There aren't support for Eclipse for the pc-ble-driver. Did you follow the installation guide for the hardware setup? and the "Getting started with the examples" guide?

    The pc-ble -driver consists of libraries that provide SoftDevice functionality to your application via serial port communication with an nRF5 connectivity chip running the SoftDevice and connectivity software. The examples found on the pc-ble-driver Github shows the basic structure of an application that is built on pc-ble-driver. The heart rate monitor (BLE peripheral) and heart rate collector (BLE master) examples included should work with examples from the SDK.

Related