Puts the trx module into transmit ACK mode.
- Note
- This function may be called from nrf_802154_trx_receive_frame_received handler only. This is because in this condition only the TIMER peripheral is running and allows timed transmission.
- Parameters
-
[in] | p_transmit_buffer | Pointer to a buffer containing ACK frame to be transmitted. Caller is responsible for preparing an ACK frame according to the 802.15.4 protocol. |
[in] | delay_us | Delay (in microseconds) |
- Return values
-
true | If the function was called in time and ACK frame is scheduled for transmission. When transmission starts the function nrf_802154_trx_transmit_ack_started will be called. When transmission is finished the function nrf_802154_trx_transmit_ack_transmitted will be called. |
false | If the function was called too late and given delay_us time gap between received frame and ACK frame transmission could not be hold. The TIMER peripheral is stopped and it is not possible to trigger nrf_802154_trx_transmit_ack again without receiving another frame again. No handlers will be called. |