ot::Mac::Mac::SetTemporaryChannel() method
Sets the temporary IEEE 802.15.4 radio channel. Allows user to temporarily change the radio channel and use a different channel (during receive) instead of the PAN channel (from `SetPanChannel()`). A call to `ClearTemporaryChannel()` would clear the temporary channel and adopt the PAN channel again. The `SetTemporaryChannel()` can be used multiple times in row (before a call to `ClearTemporaryChannel()`) to change the temporary channel.
Arguments
aChannel
A IEEE 802.15.4 channel.
Return value
kErrorNone Successfully set the temporary channel kErrorInvalidArgs The @p aChannel is not in the supported channel mask.
ot::Mac::Mac::SetTemporaryChannel() calls 1 function:
![]()
ot::Mac::Mac::SetTemporaryChannel()
ot::Mac::Mac::SetTemporaryChannel() reads 2 variables and writes 2 variables:
![]()
ot::Mac::Mac::SetTemporaryChannel()