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

Access_model_reliable_publish and acknowledge, retries

Hi,


I am using nRF52840 and nRF SDK 15.2 and nRF SDK for Mesh 3.1.


When I try to send acknowledged messages, sometimes my device needs to retry several times before the message is acked. Sometimes it takes 5 retries before I get an ack, even though my development boards are right next to each other with good signal strength. Why is this? With unacknowledged publishing, the same device always receives the message when no retries.

Furthermore, I have logged the status in access_model_publish() return by packet_alloc_and_tx() and sometimes, under reliable publishing, it returns (NRF_ERROR_INVALID_STATE) which makes access_model_publish() to call add_reliable_message(). What's the implication of this and why does it return NRF_ERROR_INVALID_STATE??

Parents Reply Children
No Data
Related