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

i can not open any file from nRF5 SDK folder nor can i build any example project from nrf sdk for mesh .

I am unable to build any example project of nrf sdk for mesh. I have added the SDK root in my global macros as : SDK_ROOT=C:\Nordic_Semi\nRF5_SDK_15.0.0_a53641a . And still i can not open any file from nRF5 SDK folder. is there any other specific format in which i have to add the path? or some other issue?

Parents Reply
  • The difference is that you have SDK ROOT, whereas I do not. I only have the line:

    ../../../../../../components/boards

    whereas you have the SDK_ROOT macro in front. In that case, you will need to add SDK_ROOT to the global macros & make sure it is defined correctly. It is weird that we do not have the same user include directory definitions as I do. I will ask another application engineer about this and get back to you.

Children
  • Thank you so much for your support. I will wait for your response. By the time can you guide me a little on my project? i am trying to interface a simple DHT11 sensor with the nrf52832 kit to send the data in a mesh. I went through the light switch demo and have few doubts. Would i have to flash one board exclusively for provisoner so that it can provision and configure my client and server? And in order to send my DHT11 sesnor data instead of setting and getting led commands, do i only need to change the simpleOnOffModel file or there would be changes in application as well? I have seen many people trying to implement the same thing with their sensor data. Do you have any reference code snippet or a good code walk through of the light switch example. Any help would be really appreciated. We plan to buy the nordic kits in bulk once the prototype of this project is ready. 

  • Hi, it seems you managed to press "Verified Answer" on this case. Unfortunately due to a bug in our system, whenever a case gets changed to verified answer, this case does not show up in our program anymore of unanswered cases. 

    If you want to use the latest mesh sdk, then I would recommend using one board exclusively for the provisioner. You could try merging the provisioner & client examples into one, but you may run into problems. If you want to use one board for the client & provisioner, it could be a better idea to use the mesh sdk v1.0.1 instead.

    If you want to send sensor data instead of telling the LED to turn on & off, the main change is to use your own custom model (i.e. change simpleOnOffModel, see this link for more info).

    Regarding the light switch example, we do have extensive documentation in our Infocenter. I would take a look at this first & test the example code on your dev kits.

Related