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

Running nRF51-ble-bcast-mesh on nRF51 dongles

Hello!

I've just started using the nRF51 dongles (currently having 5 of them) and I would like to test the GitHub mesh protocol. Excuse my lack of experience, but I am having trouble knowing where I should unzip the files. Should I create a new folder inside my SDK and just dump everything there? Could anybody explain how to start using the files provided and run the examples?

Thank you very much!

Parents
  • Hi,

    The mesh protocol is compatible with SDK6.x and 7.x for now, and I recommend that you use 7.2.0. You need the non-packs version of the SDK, which can be found under nRF51_SDK/nRF51_SDK_v7.x.x/nRF51_SDK_7.2.0_cf547b5.zip on the Nordic Developer portal. When you have the correct version, clone the mesh project (or download and unzip) to [SDK7-folder]/examples/[Mesh-folder]. This way, you will not have to change the include paths in the project files.

    There are some example projects located under /nRF51/examples. I recommend that you start with the BLE_Gateway project. Go to [Mesh-folder]/nRF51/examples/BLE_Gateway/arm, and open rbc_mesh_BLE_Gateway_SDK7.uvprojx in Keil uVision 5. Under "Options for target" in uVision, go to the tab "C/C++" and change the BOARD_PCA10001-define to fit your target board. Compile the project.

    Next, use nRFGoStudio to flash the dongle with the Softdevice S110v7.x, available at the Nordic homepage, and then the .hex file you compiled in uVision (found under [Mesh-folder]/nRF51/examples/BLE_Gateway/arm/_build). Look at the BLE_Gateway-readme to see how you can interact with your mesh.

    Trond

  • Sorry I forgot to mark it as "correct answer", but indeed it worked like wonders. Thank you!

Reply Children
No Data
Related