mirror of
https://github.com/espressif/openthread.git
synced 2026-08-31 06:19:54 +00:00
Add a new `OT_RADIO_CAPS_RX_ON_WHEN_IDLE` radio capability which lets OpenThread know what the radio idle state operation will be: receive or sleep. This allows to save power on sleepy devices since the active --> idle transition is much faster, specially for the cases in which there is some kind of serialization between OpenThread core and the radio driver.
This commit is contained in:
@@ -260,6 +260,12 @@ void otPlatRadioSetPromiscuous(otInstance *aInstance, bool aEnabled)
|
||||
OT_UNUSED_VARIABLE(aEnabled);
|
||||
}
|
||||
|
||||
void otPlatRadioSetRxOnWhenIdle(otInstance *aInstance, bool aEnabled)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
OT_UNUSED_VARIABLE(aEnabled);
|
||||
}
|
||||
|
||||
bool otPlatRadioIsEnabled(otInstance *aInstance)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
|
||||
Reference in New Issue
Block a user