fix(ieee802154): skip receive_at when rx window already expired

This commit is contained in:
zwx
2026-07-30 18:51:39 +08:00
parent 24718710ad
commit 99d7e9e70d
4 changed files with 34 additions and 7 deletions
@@ -607,6 +607,8 @@ 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.
*
* @note Radio will start receiving after the timestamp, and continue receiving for the specific duration.
* @note If a duration is specified and the target end time (time + duration) is earlier than the current
* time, the receive window has already expired and no operation will be performed.
*
* @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.