class ValueChangedParameters

Defined at line 2370 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

The parameters used to signal a characteristic value change from a LocalService to a peer.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

ValueChangedParameters & set_handle (::fuchsia::bluetooth::gatt2::Handle _value)
ValueChangedParameters & set_value (::std::vector<uint8_t> _value)
ValueChangedParameters & set_peer_ids (::std::vector< ::fuchsia::bluetooth::PeerId> _value)
void ValueChangedParameters ()
void ValueChangedParameters (ValueChangedParameters && other)
void ~ValueChangedParameters ()
ValueChangedParameters & operator= (ValueChangedParameters && other)
::std::unique_ptr<ValueChangedParameters> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ValueChangedParameters * _value, size_t _offset)
zx_status_t Clone (ValueChangedParameters * _result)
const ::fuchsia::bluetooth::gatt2::Handle & handle ()

The handle of the characteristic value being signalled.

Mandatory.

Defined at line 2378 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

bool has_handle ()

Defined at line 2382 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

::fuchsia::bluetooth::gatt2::Handle * mutable_handle ()

The handle of the characteristic value being signalled.

Mandatory.

Defined at line 2388 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

void clear_handle ()

Defined at line 2396 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

const ::std::vector<uint8_t> & value ()

The updated value of the characteristic.

Note for clients using indications/notifications for high-throughput (not recommended):

While statically constrained to `MAX_VALUE_LENGTH`, the real limit depends on the specific

peer's configuration as notified by `LocalService.PeerUpdate`. Any bytes exceeding that

limit are truncated internally by the stack.

Mandatory.

Defined at line 2410 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

bool has_value ()

Defined at line 2414 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

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

The updated value of the characteristic.

Note for clients using indications/notifications for high-throughput (not recommended):

While statically constrained to `MAX_VALUE_LENGTH`, the real limit depends on the specific

peer's configuration as notified by `LocalService.PeerUpdate`. Any bytes exceeding that

limit are truncated internally by the stack.

Mandatory.

Defined at line 2424 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

void clear_value ()

Defined at line 2432 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

const ::std::vector< ::fuchsia::bluetooth::PeerId> & peer_ids ()

Only signal a subset of peers.

If not present or empty, all peers that can be updated are signaled.

If included, only the set of peers in this list will be signaled.

Peers are only signaled if they have configured updates or notifications per `LocalService.`

`CharacteristicConfiguration`; other peers in `peer_ids` will be ignored.

Defined at line 2445 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

bool has_peer_ids ()

Defined at line 2449 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

::std::vector< ::fuchsia::bluetooth::PeerId> * mutable_peer_ids ()

Only signal a subset of peers.

If not present or empty, all peers that can be updated are signaled.

If included, only the set of peers in this list will be signaled.

Peers are only signaled if they have configured updates or notifications per `LocalService.`

`CharacteristicConfiguration`; other peers in `peer_ids` will be ignored.

Defined at line 2458 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

void clear_peer_ids ()

Defined at line 2466 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h