esp_ieee802154_enh_ack_generator() function
This function will be called when a received frame needs to be acked with Enh-Ack, the upper layer should generate the Enh-Ack frame in this callback function.
Arguments
frame_info
The frame information. Refer to `esp_ieee802154_frame_info_t`.
enhack_frame
The Enh-ack frame need to be generated via this function, HW will send it back after AIFS.
Return value
- ESP_OK if Enh-Ack generates done. - ESP_FAIL if Enh-Ack generates failed.