Merge branch 'feat/set_get_ack_timeout_v5.4' into 'release/v5.4'

feat(802.15.4): add api for set/get ack timeout (v5.4)

See merge request espressif/esp-idf!36085
This commit is contained in:
Shu Chen
2025-01-07 14:54:16 +08:00
3 changed files with 35 additions and 2 deletions
@@ -150,8 +150,8 @@ esp_err_t esp_ieee802154_transmit(const uint8_t *frame, bool cca);
/**
* @brief Set the time to wait for the ack frame.
*
* @param[in] timeout The time to wait for the ack frame, in symbol unit (16 us).
* Default: 0x006C, Range: 0x0000 - 0xFFFF.
* @param[in] timeout The time to wait for the ack frame, in us.
* It Should be a multiple of 16. The default value is 1728 us (108 * 16).
*
* @return
* - ESP_OK on success.
@@ -159,6 +159,13 @@ esp_err_t esp_ieee802154_transmit(const uint8_t *frame, bool cca);
*/
esp_err_t esp_ieee802154_set_ack_timeout(uint32_t timeout);
/**
* @brief Get the time to wait for the ack frame.
*
* @return The time to wait for the ack frame, in us.
*/
uint32_t esp_ieee802154_get_ack_timeout(void);
/**
* @brief Get the device PAN ID.
*