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

NRF Dongle Protocol

Hi

I need to develop PC software to Discover, Connect, Get and Set data to the nrf device that we developed.

I am using the MCP and nrf connect but my client want to have his own app.

Where can I get the communication protocol for the dongle or the firmware source code . In other words in the MCP if you click on the discover button what command is being send to the dongle over uart to go into discover mode.

regards

Parents
  • Hi,

    MCP is based on the Master Emulator, and the DLL file for Master Emulator can be found in C:\Program Files (x86)\Nordic Semiconductor\Master Emulator folder, if you have MCP installed. This can be used to implement your own C# program, but as MCP have been replaced by nRF Connect, I would not recommend that you use this anymore.

    Instead, I would recommend you to check out the pc-ble-driver library source on Nordic's GitHub. This library "provides serial port communication (using SoftDevice API serialization) to an nRF5x IC running the connectivity firmware included". It has bindings for Python and JavaScript, making it suitable for easy application development. Unfortunately, the driver is not well documented yet, but some examples for both Python and Javascript bindings are provided.

    Best regards,

    Jørgen

  • Sorry, I thought you were using pc-ble-driver as I recommended. If you are using Master Emulator you need to use the firmwares found in C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.10.0.14\firmware\pca10000. I just tested it with the nRF51 Dongle (PCA10031) and it worked. I would still recommend that you use pc-ble-driver instead, as Master Control Panel have been replaced by nRF Connect, which use pc-ble-driver over Master Emulator. Master Emulator will thus not be maintained in the future.

Reply
  • Sorry, I thought you were using pc-ble-driver as I recommended. If you are using Master Emulator you need to use the firmwares found in C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.10.0.14\firmware\pca10000. I just tested it with the nRF51 Dongle (PCA10031) and it worked. I would still recommend that you use pc-ble-driver instead, as Master Control Panel have been replaced by nRF Connect, which use pc-ble-driver over Master Emulator. Master Emulator will thus not be maintained in the future.

Children
No Data
Related