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

Issues getting Thingy Mesh Provisioning Demo v0.5 working

Hi all,

As a followup of this question, I started with the Thingy Mesh Provisioning Demo v0.5. However, I cannot get this version working possibly due to some unclear points in the README.MD

1. It's not entirely clear how the different folders should be structured. My current structure is as follows:

  • C
    • NordicSemi
      • nRF5_SDK_15.0.0_a53641a
      • nrf5_SDK_for_Mesh_v2.2.0_src
        • examples
          • light_switch
            •  thingy_provisioning_demo_generic_OnOff_BLINK
            • ....
        • external
          • ThingySDKv2.1  (the modded version from git)
          • ......
        • .....

Is this correct?

2. Point 10. in the tutorial states: "Compile one of the project provided in this repo and flash the firmware, the softdevice is flashed automatically."

         Which one should I compile in order to get this demo working?

3. Currently when I try to build the "light_switch_proxy_server_nrf52832_xxAA_s132_6_0_0.emProject", I get the following error:

Building ‘thingy52-mesh-provisioning-demo’ from solution ‘thingy52-mesh-provisioning-demo’ in configuration ‘Debug’
1> Compiling ‘main.c’
2> Compiling ‘rtt_input.c’
3> Compiling ‘mesh_app_utils.c’
4> Compiling ‘nrf_mesh_weak.c’
1> C:\bluetooth-mesh-research\nrf5_SDK_for_Mesh_v2.2.0_src\examples\light_switch\thingy_provisioning_demo_generic_OnOff_BLINK\src\main.c:38:10: fatal error: boards.h: No such file or directory
1> compilation terminated.
4> C:\bluetooth-mesh-research\nrf5_SDK_for_Mesh_v2.2.0_src\examples\nrf_mesh_weak.c:38:10: fatal error: nrf_error.h: No such file or directory
4> compilation terminated.
3> C:\bluetooth-mesh-research\nrf5_SDK_for_Mesh_v2.2.0_src\examples\common\src\mesh_app_utils.c:40:10: fatal error: nrf.h: No such file or directory
3> compilation terminated.
2> C:\bluetooth-mesh-research\nrf5_SDK_for_Mesh_v2.2.0_src\examples\common\src\rtt_input.c:42:10: fatal error: app_timer.h: No such file or directory
2> compilation terminated.
Build failed
I hope you can help me clear things up and get this program working!
Sorry for the list of questions haha!
Best regards,
Jan Kappé
  • Hi Jan,

    1) Looks right to me. If you happened to press Extract All, I have noticed that another folder appears underneath the extracted folder. See below:

    Make sure that both the ThingySDKv2.1 & the thingy_provisioning_demo_generic_OnOff_BLINK folders go right to the content instead of something like this: external/ThingySDKv2.1/ThingySDKv2.1/. I hope that makes sense.

    2) This one:

    3) Did you do step 9 correctly? The path should look similar to the screenshot below

    1. Make sure you followed the SES.md guide in \doc\getting_started in nRF MESH SDK v2.2.0 of adding SDK_ROOT macro into SES, the same as when you started with Mesh examples.

    Kind Regards,

    Bjørn

  • Hi Bjørn,

    I only had the SDK_ROOT and not the MESH_ROOT, that's where it went wrong. Thanks

    I am a bit confused however which roles all the nodes and the phone have. It seems that all the Thingy's are "Proxy's" since the phone can connect to them, or is the phone also a member of the Mesh network?

    Jan

Related