From e8755ef2ef089c0d40cdc0090467e3ff23e76486 Mon Sep 17 00:00:00 2001 From: Marcin Jelinski Date: Tue, 17 Sep 2024 11:48:03 +0200 Subject: [PATCH] doc: Update ESB documentation with ACK configuration changes. Clarified the meaning of the selective_auto_ack and noack parameters. Ref: NCSDK-28905 Signed-off-by: Marcin Jelinski --- doc/nrf/protocols/esb/index.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/nrf/protocols/esb/index.rst b/doc/nrf/protocols/esb/index.rst index f091763422fa..e32ccd800fcf 100644 --- a/doc/nrf/protocols/esb/index.rst +++ b/doc/nrf/protocols/esb/index.rst @@ -124,8 +124,10 @@ However, repeated packets will always be ACKed by the PRX, even though they are A PTX can select that individual packets that are transmitted to the PRX do not require an ACK to be sent in return from the PRX. This decision is taken by the application when uploading a packet to the TX FIFO using the :c:member:`esb_payload.noack` field of the :c:struct:`esb_payload` parameter that is passed to the :c:func:`esb_write_payload` function. +When the :c:member:`selective_auto_ack` field in the :c:struct:`esb_config` configuration structure is disabled, all packets will be acknowledged, ignoring the :c:member:`esb_payload.noack` field. -When the PRX receives a packet that does not require an ACK, it does not send an ACK packet to the PTX, and as a result the PTX will continue retransmitting the packet until the maximum number of allowed retransmission attempts is reached. +When the PRX receives a packet that does not require an ACK, it does not send an ACK packet to the PTX. +In this case, when :c:member:`esb_payload.noack` = ``true``, packet retransmission does not occur. .. _esb_getting_started: