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

Error while building program: Light Switch Provisioner for Mesh Ble

Hello Everyone need some help

I am using nRF52840 board for mesh development and made use of Light Switch Example which contain Provisioner, Client and Server. I am getting the following error. I have mesh SDK version 2.2.0 and NRF5 SDK version 15.0 and 15.1

Parents Reply Children
  • Hi,

    nRF5 SDK for Mesh v2.2.0 requires nRF5 SDK v15.0, not nRF5 SDK v15.1, according to Building the mesh stack and examples. Based on the error messages it looks like the SDK files are not found where they are supposed to be. Is nRF5 SDK v15.0.0 also in the same directory?

    Regards,
    Terje

  • Yes both nRF SDK 2.2.0 and nRF 15.0 are in same folder and this folder is in my C drive. Have a look at this. Kindly tell if there is any mistake.

  • Hi,

    I downloaded the nRF5 SDK v15.0.0 and the nRF5 SDK for Mesh v2.2.0.
    Then unzipped both to the same folder, as it seems you did.
    Tried the nrf5_SDK_for_Mesh_v2.2.0_src\examples\light_switch\provisioner\light_switch_provisioner_nrf52840_xxAA_s140_6.0.0.emProject example
    And it builds without issues.

    The only thing I can think of is if one or both of the SDKs have ended up inside an extra folder with the same name, so that the SDK files are located under:

    nRF\nRF5_SDK_15.0.0_a53641a\nRF5_SDK_15.0.0_a53641a\

    and under

    nRF\nrf5_SDK_for_Mesh_v2.2.0_src\nrf5_SDK_for_Mesh_v2.2.0_src\

    If that is the case, please move the SDK files and folders one level out, so that they read:

    nRF\nRF5_SDK_15.0.0_a53641a\components\
    nRF\nRF5_SDK_15.0.0_a53641a\config\
    nRF\nRF5_SDK_15.0.0_a53641a\documentation\
    etc.

    and

    nRF\nrf5_SDK_for_Mesh_v2.2.0_src\bin\
    nRF\nrf5_SDK_for_Mesh_v2.2.0_src\CMake\
    nRF\nrf5_SDK_for_Mesh_v2.2.0_src\doc\
    etc.

    Apart from that, I have no idea why the files are not found.

    Can you confirm this is the unchanged example from the SDK?
    What version of Segger Embedded Studio are you using?
    Do you still get the exact same error?

    Regards,
    Terje

  • Segger version 3.5 64 bit

    And one more thing I wanted to know that, how did you verify or what was the output after flashing the light switch client, provisioner and server file. Also how many dongles you used for this and did you modified the code? Also are you using nRF Connect mobile application and is it possible to configure or set up the network using it

  • Hi,

    Does this mean that you solved the initial issues?

    Please follow the instructions for the Light switch demo (including following links to other parts of our nRF5 SDK for Mesh documentation when needed.)

    Regards,
    Terje

Related