class EnergyScanParameters

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

Describes the parameters of an energy scan.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::std::vector<uint16_t> & channels ()

Subset of channels to scan.

If unspecified, all channels will be scanned.

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

bool has_channels ()

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

::std::vector<uint16_t> * mutable_channels ()

Subset of channels to scan.

If unspecified, all channels will be scanned.

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

void clear_channels ()

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

const uint32_t & dwell_time_ms ()

Desired dwell time per-channel for the energy scan,

measured in milliseconds.

Note that firmware limitations may prevent the

exact dwell time from being used. In such cases

an approximation will be used.

Implementations must be able to support dwell times of at least

5000ms (5 seconds). The exact supported dwell-time range is

device/driver dependent.

Setting a value outside of the supported range of

values for this device will result in the value being

clamped to the closest valid value, so setting a value of zero

will always request the smallest energy scan duration the

device is capable of.

If unspecified, a dwell time of approximately 500ms will be used.

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

bool has_dwell_time_ms ()

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

uint32_t * mutable_dwell_time_ms ()

Desired dwell time per-channel for the energy scan,

measured in milliseconds.

Note that firmware limitations may prevent the

exact dwell time from being used. In such cases

an approximation will be used.

Implementations must be able to support dwell times of at least

5000ms (5 seconds). The exact supported dwell-time range is

device/driver dependent.

Setting a value outside of the supported range of

values for this device will result in the value being

clamped to the closest valid value, so setting a value of zero

will always request the smallest energy scan duration the

device is capable of.

If unspecified, a dwell time of approximately 500ms will be used.

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

void clear_dwell_time_ms ()

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

EnergyScanParameters & set_channels (::std::vector<uint16_t> _value)
EnergyScanParameters & set_dwell_time_ms (uint32_t _value)
void EnergyScanParameters ()
void EnergyScanParameters (EnergyScanParameters && other)
void ~EnergyScanParameters ()
EnergyScanParameters & operator= (EnergyScanParameters && other)
::std::unique_ptr<EnergyScanParameters> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, EnergyScanParameters * _value, size_t _offset)
zx_status_t Clone (EnergyScanParameters * _result)