fix(ieee802154): refactor the next opteration logic for multiple events

This commit is contained in:
zwx
2024-07-29 11:16:37 +08:00
parent 39a3d54619
commit e8660cd99d
3 changed files with 103 additions and 49 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()