Hi Dev Zone !
I would like to do a complete reset to the ESB communication in my application when there is a problem with it for any reason whatsoever. This is what I have done and it does not seem to solve the communication problems that can occur:
uint32_t mesh_reinit()
{
uint32_t err_code;
mesh_stop_rx();
mesh_flush_rx();
nrf_esb_flush_tx();
err_code = nrf_esb_init(&nrf_esb_config);
if(mesh_config.is_listening)
{
err_code = nrf_esb_start_rx();
VERIFY_SUCCESS(err_code);
}
VERIFY_SUCCESS(err_code);
return NRF_SUCCESS;
}
SDKs :
- nRF5_SDK_16.0.0
- nRF5_SDK_for_Thread_and_Zigbee_2.0.0_29775ac_min
Do you have any suggestion ?
Thanks !
Joel V.