class ReadValue

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

Wrapper around a possible truncated value received from the server.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

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

Characteristic or descriptor handle. Always present.

Defined at line 1577 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 1581 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 ()

Characteristic or descriptor handle. Always present.

Defined at line 1586 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 1594 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 value of the characteristic or descriptor. Always present.

Defined at line 1603 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 1607 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 value of the characteristic or descriptor. Always present.

Defined at line 1612 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 1620 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

const bool & maybe_truncated ()

True if `value` might be truncated (the buffer was completely filled

by the server). `ReadCharacteristic` or `ReadDescriptor` should be used

to read the complete value.

Always present.

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

bool has_maybe_truncated ()

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

bool * mutable_maybe_truncated ()

True if `value` might be truncated (the buffer was completely filled

by the server). `ReadCharacteristic` or `ReadDescriptor` should be used

to read the complete value.

Always present.

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

void clear_maybe_truncated ()

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