class Identity

Defined at line 3797 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.

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 3812 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 3816 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 3829 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 3837 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 3854 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 3858 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 3871 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 3879 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 3888 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 3892 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 3897 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 3905 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 3914 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 3918 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 3923 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 3931 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 3951 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 3955 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 3971 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 3979 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 3992 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 3997 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 4005 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)
void Identity ()
void Identity (Identity && other)
const ::std::array<uint8_t, 8> & xpanid ()

Extended PANID.

Defined at line 3988 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)