class Identity

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

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

void Identity ()
void Identity (Identity && other)
const ::std::vector<uint8_t> & raw_name ()

The raw bytes for the network name.

This is typically a [StringPrep'd][1] UTF8 encoding.

Note that extra care must be taken when displaying

this value to users, since there are many ways

to make visually similar UTF8 strings that

have differing bytecode representations.

[1]: https://tools.ietf.org/html/rfc3454

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

bool has_raw_name ()

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

::std::vector<uint8_t> * mutable_raw_name ()

The raw bytes for the network name.

This is typically a [StringPrep'd][1] UTF8 encoding.

Note that extra care must be taken when displaying

this value to users, since there are many ways

to make visually similar UTF8 strings that

have differing bytecode representations.

[1]: https://tools.ietf.org/html/rfc3454

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

void clear_raw_name ()

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

const ::std::string & net_type ()

String identifying the type of network.

Well-known protocol ids are associated with

specific string values (like "org.threadgroup.std.thread"

or "org.zigbee.std.zigbee-ip"). For unknown protocol ids,

the string will map to something like

`fuchsia.lowpan.net_type.802.15.4.pid.XX`, where `XX` is

the value of the protocol id from a 802.14.5 beacon.

This field is optional when joining, forming, or provisioning.

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

bool has_net_type ()

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

::std::string * mutable_net_type ()

String identifying the type of network.

Well-known protocol ids are associated with

specific string values (like "org.threadgroup.std.thread"

or "org.zigbee.std.zigbee-ip"). For unknown protocol ids,

the string will map to something like

`fuchsia.lowpan.net_type.802.15.4.pid.XX`, where `XX` is

the value of the protocol id from a 802.14.5 beacon.

This field is optional when joining, forming, or provisioning.

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

void clear_net_type ()

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

const uint16_t & channel ()

Channel Index.

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

bool has_channel ()

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

uint16_t * mutable_channel ()

Channel Index.

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

void clear_channel ()

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

const uint16_t & panid ()

PANID for 802.14.5-based networks (or the equivalent).

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

bool has_panid ()

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

uint16_t * mutable_panid ()

PANID for 802.14.5-based networks (or the equivalent).

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

void clear_panid ()

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

const ::fuchsia::net::Ipv6AddressWithPrefix & mesh_local_prefix ()

IPv6 Mesh-local prefix.

This parameter allows you to determine the mesh-local

IPv6 prefix for the current network, or to specify one

when provisioning the interface for a network or forming

a new network.

The prefix length is always 64 bits, so only the upper

64 bits of the value are used: the least significant bits

must be ignored when read and zero when set.

This field is ignored when supplied to `JoinNetwork()`.

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

bool has_mesh_local_prefix ()

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

::fuchsia::net::Ipv6AddressWithPrefix * mutable_mesh_local_prefix ()

IPv6 Mesh-local prefix.

This parameter allows you to determine the mesh-local

IPv6 prefix for the current network, or to specify one

when provisioning the interface for a network or forming

a new network.

The prefix length is always 64 bits, so only the upper

64 bits of the value are used: the least significant bits

must be ignored when read and zero when set.

This field is ignored when supplied to `JoinNetwork()`.

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

void clear_mesh_local_prefix ()

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

void clear_xpanid ()

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

Identity & set_raw_name (::std::vector<uint8_t> _value)
Identity & set_net_type (::std::string _value)
Identity & set_channel (uint16_t _value)
Identity & set_panid (uint16_t _value)
Identity & set_mesh_local_prefix (::fuchsia::net::Ipv6AddressWithPrefix _value)
Identity & set_xpanid (::std::array<uint8_t, 8> _value)
const ::std::array<uint8_t, 8> & xpanid ()

Extended PANID.

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

bool has_xpanid ()

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

::std::array<uint8_t, 8> * mutable_xpanid ()

Extended PANID.

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

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