Merge branch 'fix/csl_rx_off_when_idle_v5.4' into 'release/v5.4'

fix(openthread): turn off rx for SSED running CSL during idle (v5.4)

See merge request espressif/esp-idf!37992
This commit is contained in:
Shu Chen
2025-04-01 11:30:38 +08:00
14 changed files with 326 additions and 132 deletions
+11 -5
View File
@@ -588,18 +588,24 @@ extern void esp_ieee802154_transmit_sfd_done(uint8_t *frame);
extern void esp_ieee802154_energy_detect_done(int8_t power);
/**
* @brief Set the IEEE 802.15.4 Radio to receive state at a specific time.
* @brief The receive window for receive_at has finished.
*
* @note Radio will start receiving after the timestamp, and continue receiving until it receives a valid frame.
* Refer to `esp_ieee802154_receive_done()`.
*/
extern void esp_ieee802154_receive_at_done(void);
/**
* @brief Set the IEEE 802.15.4 Radio to receive state at a specific time, for a specific duration.
*
* @param[in] time A specific timestamp for starting receiving.
* @note Radio will start receiving after the timestamp, and continue receiving for the specific duration.
*
* @param[in] time A specific timestamp for starting receiving.
* @param[in] duration A specific duration after which to stop receiving. Set duration = 0 to rx indefinitely.
* @return
* - ESP_OK on success
* - ESP_FAIL on failure due to invalid state.
*
*/
esp_err_t esp_ieee802154_receive_at(uint32_t time);
esp_err_t esp_ieee802154_receive_at(uint32_t time, uint32_t duration);
/**
* @brief Transmit the given frame at a specific time.