nrfxlib API 0.1.0
|
void nrf_802154_auto_ack_set | ( | bool | enabled | ) |
#include <nrf_802154/common/include/nrf_802154.h>
Enables or disables the automatic acknowledgments (auto ACK).
If the auto ACK is enabled, the driver prepares and sends ACK frames automatically aTurnaroundTime (192 us) after the proper frame is received. The driver prepares an ACK frame according to the data provided by nrf_802154_ack_data_set. When the auto ACK is enabled, the driver notifies the next higher layer about the received frame after the ACK frame is transmitted. If the auto ACK is disabled, the driver does not transmit ACK frames. It notifies the next higher layer about the received frames when a frame is received. In this mode, the next higher layer is responsible for sending the ACK frame. ACK frames should be sent using nrf_802154_transmit.
[in] | enabled | If the auto ACK should be enabled. |