fix(ieee802154): refacted the next operation logic for multiple events

This commit is contained in:
zwx
2024-07-31 16:40:48 +08:00
parent 8cecc2f58e
commit fa6a1b3af5
3 changed files with 102 additions and 48 deletions
@@ -93,6 +93,7 @@ esp_err_t ieee802154_mac_deinit(void);
*
* @return
* - ESP_OK on success.
* - ESP_ERR_INVALID_ARG on an invalid frame.
* - ESP_FAIL on failure due to invalid state.
*
*/
@@ -130,6 +131,7 @@ esp_err_t ieee802154_receive_handle_done(const uint8_t* frame);
*
* @return
* - ESP_OK on success.
* - ESP_ERR_INVALID_ARG on an invalid frame.
* - ESP_FAIL on failure due to invalid state.
*
* Note: The transmit result will be reported via esp_ieee802154_transmit_done()