class EnergyScan

Defined at line 6521 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

Public Methods

void ~EnergyScan ()
void StartEnergyScan (::fuchsia::lowpan::device::EnergyScanParameters params, ::fidl::InterfaceRequest< ::fuchsia::lowpan::device::EnergyScanResultStream> stream)

Starts an energy scan operation.

This can be used for surveying the spectrum to identify channels

that should be avoided.

The scan operation may be cancelled by closing the stream protocol.

If a scan is started while another scan is in progress,

the previous scan is allowed to complete before

the new scan executes and starts returning results.

All scans should be expected to completely occupy the

LoWPAN device while it is in progress, preventing other operations

from completing until the scan has completed. Additionally, all

network packets should be expected to be dropped while a scan is

in progress.

Performing energy scans could be used to profile the spectrum

energy for a location and thus be used to determine or refine coarse

location information.