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

Example project for Mesh Instaburst

Hi,

We managed to integrate both normal BLE and mesh stack onto our working prototype, powered by nRF52840. So far, it is working well. We are trying to further maximise our developed node by experimenting mesh Instaburst feature, as our TX mesh packet is around 48 - 132 bytes.

Before we get a head start, just wondering if there is any example project/template we can refer to? With this, at least we know how to use this feature properly.

Many thanks!

Parents Reply Children
  • Thanks Hung Bui,

    I will have a look and get back to you with my development status.

    Thank you very much!

  • Have been trying to debug other bits and only managed to come back to this weeks ago. But getting nowhere.

    I am keep getting this error message when trying to build with cMake. Tried using the cmake-gui and the command line tool and I got the same errors.

    Any idea?

    Configuring CMake for nRF5 SDK for Bluetooth Mesh 4.2.0
    CMake Warning at CMake/FindSDK.cmake:24 (message):
      Could not find `patch` executable.  Automatic patching of the nRF5 SDK not
      supported.  See for diff to apply.
    Call Stack (most recent call first):
      CMakeLists.txt:49 (include)
    
    
    CMake Warning at CMake/FindSDK.cmake:56 (message):
      
    
        Could not find the nRF5 SDK. The build will fail.
        Please run the nRF5_SDK target to download it or provide the correct path
        using the -DSDK_ROOT option or setting the SDK_ROOT environment variable.
        After the download is complete, re-run `cmake`.
    
    Call Stack (most recent call first):
      CMakeLists.txt:49 (include)
    
    
    Configuring done

  • Hi Siew,

    As you can find in the log, the SDK_ROOT is missing, you would need to call cmake with the -DSDK_ROOT something like this: 

    cmake -GNinja -DSDK_ROOT=C:/NordicSDK/SDKv17/

    The path is the path to the nRF5 SDK, not the mesh SDK. Please download the matching version of the nRF5 SDK to the Mesh SDK that you are using. 
    Have you tried compiling with Segger Embedded Studio as well ? 

  • Thanks Hung Bui,

    I have tried to place both nRFSDK and mesh SDK in the same directory as suggested in the Getting Started guide. Here is the screenshot of the directory.

    And I had tried to add the SDK_ROOT while running the cmake. But still getting the same error:

    D:\NordicSDK\nRF5_SDK_for_mesh_4.2.0\build>cmake -GNinja -DSDK_ROOT=C:/NordicSDK/ ..
    -- Configuring CMake for nRF5 SDK for Bluetooth Mesh 4.2.0
    CMake Warning at CMake/FindSDK.cmake:24 (message):
      Could not find `patch` executable.  Automatic patching of the nRF5 SDK not
      supported.  See for diff to apply.
    Call Stack (most recent call first):
      CMakeLists.txt:50 (include)
    
    
    CMake Warning at CMake/FindSDK.cmake:56 (message):
    
    
        Could not find the nRF5 SDK. The build will fail.
        Please run the nRF5_SDK target to download it or provide the correct path
        using the -DSDK_ROOT option or setting the SDK_ROOT environment variable.
        After the download is complete, re-run `cmake`.
    
    Call Stack (most recent call first):
      CMakeLists.txt:50 (include)
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/NordicSDK/nRF5_SDK_for_mesh_4.2.0/build
    
    D:\NordicSDK\nRF5_SDK_for_mesh_4.2.0\build>

    I am using:

    • nRF5_SDK_16.0.0_98a08e2
    • nRF5_SDK_for_mesh_4.2.0

    As we have been developing the our mesh application since last year.

    Also, when you mention whether I have tried to compile using SES, do you mean whether I have added the INSTABURST pre-compile definitives in the project setting?

    Any suggestion will be much appreciated. Many thanks!

Related