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

Could not make example runing on V2.2.0

I am working on mesh v2.2.0. but I cannot make the light switch example works. I did everything as same as the early versions, this version just stops working. I get one provisioner, one client, and three servers. after powering the PCA10040 dev kit, all four LEDs on for all of them. and then I try to press button 1 on provisioner, but nothing happened. are there any big changes happened on v2.2.0? what should I do to make it work?

Parents
  • Hello, can you apply the following patch and check if this works for you?

    --- nrf_mesh_section.h	2018-10-05 14:21:11.713290600 +0200
    +++ nrf_mesh_section.h	2018-10-05 14:23:23.124822000 +0200
    @@ -98,7 +98,7 @@
     
     #define NRF_MESH_SECTION_FOR_EACH(section_name, data_type, variable)                               \
         for (data_type * variable = (data_type *) NRF_MESH_SECTION_START(section_name);                \
    -         variable != (data_type *) NRF_MESH_SECTION_END(section_name);                             \
    +         (intptr_t) variable != (intptr_t) NRF_MESH_SECTION_END(section_name);                             \
              variable++)
     
     /** @} */
    

Reply
  • Hello, can you apply the following patch and check if this works for you?

    --- nrf_mesh_section.h	2018-10-05 14:21:11.713290600 +0200
    +++ nrf_mesh_section.h	2018-10-05 14:23:23.124822000 +0200
    @@ -98,7 +98,7 @@
     
     #define NRF_MESH_SECTION_FOR_EACH(section_name, data_type, variable)                               \
         for (data_type * variable = (data_type *) NRF_MESH_SECTION_START(section_name);                \
    -         variable != (data_type *) NRF_MESH_SECTION_END(section_name);                             \
    +         (intptr_t) variable != (intptr_t) NRF_MESH_SECTION_END(section_name);                             \
              variable++)
     
     /** @} */
    

Children
No Data
Related