ot::Mac::SubMac::EnergyScan() method
Begins energy scan.
Arguments
aScanChannel
The channel to perform the energy scan on.
aScanDuration
The duration, in milliseconds, for the channel to be scanned.
Return value
kErrorNone Successfully started scanning the channel. kErrorBusy The radio is performing energy scanning. kErrorInvalidState The radio was disabled or transmitting. kErrorNotImplemented Energy scan is not supported (applicable in link-raw/radio mode only).
ot::Mac::SubMac::EnergyScan() calls 5 functions:
![]()
ot::Mac::SubMac::EnergyScan()
ot::Mac::SubMac::EnergyScan() reads 13 variables and writes 1 variable:
![]()
ot::Mac::SubMac::EnergyScan()