class DeviceState

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

Combined State for LoWPAN Devices

Contains the various properties of a LoWPAN device

that define its current operational state.

You will get a snapshot of the current state upon the first

invocation of `WatchDeviceState()`, after which future

invocations of that method will return deltas.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

void DeviceState ()
void DeviceState (DeviceState && other)
const ::fuchsia::lowpan::device::ConnectivityState & connectivity_state ()

LoWPAN Connectivity State

This field describes the current level of connectivity being

provided by this device.

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

bool has_connectivity_state ()

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

::fuchsia::lowpan::device::ConnectivityState * mutable_connectivity_state ()

LoWPAN Connectivity State

This field describes the current level of connectivity being

provided by this device.

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

void clear_connectivity_state ()

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

const ::fuchsia::lowpan::device::Role & role ()

LoWPAN Role

This field describes the current role this device is taking

on the current network.

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

bool has_role ()

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

::fuchsia::lowpan::device::Role * mutable_role ()

LoWPAN Role

This field describes the current role this device is taking

on the current network.

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

void clear_role ()

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

DeviceState & set_connectivity_state (::fuchsia::lowpan::device::ConnectivityState _value)
DeviceState & set_role (::fuchsia::lowpan::device::Role _value)
void ~DeviceState ()
DeviceState & operator= (DeviceState && other)
::std::unique_ptr<DeviceState> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, DeviceState * _value, size_t _offset)
zx_status_t Clone (DeviceState * _result)