Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Disabling mesh to get low power consumption

Hi,

Iam using sensor_client example from nrf 5 mesh sdk and trying to reduce its power consumption by turning off mesh totally when it sleeps

I have also referred to this previous cases: nrf_mesh_disable() function changed since SDK for Mesh V3.1.0? - Nordic Q&A - Nordic DevZone - Nordic DevZone (nordicsemi.com)

Low power Mesh node based on Lightswitch example by using proxy_stop() and mesh_disable() - Nordic Q&A - Nordic DevZone - Nordic DevZone (nordicsemi.com)

I have implemented the sam

int main(void)
{
    initialize();
    start();
    
          uint32_t retval = proxy_stop();

          if (retval == NRF_SUCCESS)
          {
                  //scanner_disable(); // not needed
                  retval = nrf_mesh_disable();
          }
          __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, "Disabling mesh: status: %d\n", retval);


    for (;;)
    {
        (void)sd_app_evt_wait();
    }
}
e

When i run this program after provisioning the device, it throws Mesh assert at 0x0002D9CC

Is there anything changed to disable mesh after that??

Parents Reply Children
No Data
Related