Skip to content

Commit

Permalink
[radio] update otPlatRadioSetRxOnWhenIdle documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
edmont committed May 30, 2024
1 parent 1336da4 commit 8df7f82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/openthread/instance.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ extern "C" {
* @note This number versions both OpenThread platform and user APIs.
*
*/
#define OPENTHREAD_API_VERSION (415)
#define OPENTHREAD_API_VERSION (416)

/**
* @addtogroup api-instance
Expand Down
4 changes: 4 additions & 0 deletions include/openthread/platform/radio.h
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,10 @@ void otPlatRadioSetPromiscuous(otInstance *aInstance, bool aEnable);
* If a platform supports `OT_RADIO_CAPS_RX_ON_WHEN_IDLE` it must also support `OT_RADIO_CAPS_CSMA_BACKOFF` and handle
* idle periods after CCA as described above.
*
* Upon the transition of the "RxOnWhenIdle" flag from TRUE to FALSE, the radio platform should enter sleep mode.
* If the radio is currently in receive mode, it should enter sleep mode immediately. Otherwise, it should enter sleep
* mode after the current operation is completed.
*
* @param[in] aInstance The OpenThread instance structure.
* @param[in] aEnable TRUE to keep radio in Receive state, FALSE to put to Sleep state during idle periods.
*
Expand Down

0 comments on commit 8df7f82

Please sign in to comment.