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

Getting Started for Controlling Mesh Network via Smartphone

Hi!

I would like create my own application of BLE Mesh on nRF52832, I had gone through the Light switch example and understood some basic concepts and now i'm thinking start my own application (BLE Chat) from scratch. Can anyone please suggest me how to program for BLE mesh with flow chart (what all to initialise and how should be the program flow) step by step (if possible give me sample code for better understanding) and how to add BLE Mesh SDK to segger studio. I also have a some doubt that nRF52832 is running on any RTOS for Light Switch example?, can both servers will communicate ? and it is possible to implement client and server on single nRF52832? 

Regards,

Vijay Rakesh 

  • Here is a link for adding Segger Embedded Studio project files to the Mesh SDK. The nrf52832 is not running on a Real Time Operating System in the light switch example. The servers can communicate with each other in the light switch example (for example by relaying messages to each other). It might be possible to implement a client & server on the same nrf52832, but this is not a regular use case. Normally, you want the client and server to be on different devices.

  • Thanks for the reply, Is there any example code for light switch control from smartphone using BLE Mesh? I want to implement Chatting with BLE Mesh. So that i can take as a reference to develop my project.

  • There should be an iOS mesh app available very soon for iPhone. The source code for iOS should also be available soon.

  • But I was requesting sample code from nRF52832 side. I had seen this example on YouTube https://youtu.be/uPByM8SdTE8 and I would like to implement the same. Is there any sample code for the same application? From nRF5 side when it receives data from smartphone it unicast or broadcast the data depending upon the received value.

  • I guess you are referring to this application. This FW was made for the Nordic Thingy, so I am not sure it will work out of the box on a nrf52832 dk or on nrf52832 custom HW.

1 2