ot::Radio::EnergyScan() method
Begins the energy scan sequence on the radio. Is used when radio provides OT_RADIO_CAPS_ENERGY_SCAN capability.
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. kErrorNotImplemented The radio doesn't support energy scanning.
![]()
inline Error Radio::EnergyScan(uint8_t, uint16_t) { return kErrorNotImplemented; }
ot::Radio::EnergyScan() calls 2 functions:
![]()
ot::Radio::EnergyScan()
ot::Radio::EnergyScan() reads 1 variable:
![]()
ot::Radio::EnergyScan()