![]() |
nrfxlib API 3.4.99
|
| uint8_t * nrf_802154_ack_generator_create | ( | const nrf_802154_frame_t * | p_frame_data, |
| const nrf_802154_peer_rec_t * | p_peer_rec ) |
Create an ACK in response to the provided frame and insert it into a radio buffer.
p_frame_data as valid are used for ACK generation. If any data necessary to generate an ACK is missing or marked as invalid by p_frame_data, this function returns NULL. Once more data becomes available and valid, this function can be called again and the generation will be continued. That allows for generating ACK iteratively as data to be acknowledged is being received.| [in] | p_frame_data | Pointer to the parser data of the frame for which an Ack will be generated. |
| [in] | p_peer_rec | Information record about the peer the p_frame_data is received from. May be NULL if peer not found. |