Namespaces

Enumerations

enum class ErrorCode : uint32_t
Name Value Comments
NO_ERROR 0u

Indicates that the operation was successful.

INVALID_OFFSET 1u

Indicates that the offset used in a read or write request exceeds the
bounds of the value.

INVALID_VALUE_LENGTH 2u

Indicates that the value given in a write request would exceed the maximum
length allowed for the destionation characteristic or descriptor.

NOT_PERMITTED 3u

Indicates that a read or write request is not permitted.

Codes that can be returned in the `protocol_error_code` field of a

bluetooth.Error.

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

enum class Error : uint32_t
Name Value Comments
FAILURE 1u

A general error occurred that can not be classified as one of the more specific statuses.

INVALID_RESPONSE 2u

Indicates that the response received from the server was invalid.

TOO_MANY_RESULTS 3u

Indicates that more results were read than can fit in a FIDL response. Consider
reading attributes individually.

INSUFFICIENT_AUTHORIZATION 4u

This attribute requires authorization, but the client is not authorized.

INSUFFICIENT_AUTHENTICATION 5u

This attribute requires authentication, but the client is not authenticated.

INSUFFICIENT_ENCRYPTION_KEY_SIZE 6u

This attribute requires a connection encrypted by a larger encryption key.

INSUFFICIENT_ENCRYPTION 7u

This attribute requires encryption, but the connection is not encrypted.

READ_NOT_PERMITTED 8u

This attribute is not readable.

Errors that are returned by bluetooth.gatt methods.

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

enum class ReliableMode : uint32_t
Name Value
DISABLED 1u
ENABLED 2u

Represents the reliability mode during long and prepared write operations.

If enabled, every value blob is verified against an echo response from the server.

The procedure is aborted if a value blob has not been reliably delivered to the peer.

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

Records

Functions

  • zx_status_t Clone (::fuchsia::bluetooth::gatt::ErrorCode value, ::fuchsia::bluetooth::gatt::ErrorCode * result)

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

  • zx_status_t Clone (::fuchsia::bluetooth::gatt::Error value, ::fuchsia::bluetooth::gatt::Error * result)

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

  • zx_status_t Clone (::fuchsia::bluetooth::gatt::ReliableMode value, ::fuchsia::bluetooth::gatt::ReliableMode * result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceReadCharacteristicRequest & _value, ::fuchsia::bluetooth::gatt::RemoteServiceReadCharacteristicRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceReadCharacteristicResponse & _value, ::fuchsia::bluetooth::gatt::RemoteServiceReadCharacteristicResponse * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceReadLongCharacteristicRequest & _value, ::fuchsia::bluetooth::gatt::RemoteServiceReadLongCharacteristicRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceReadLongCharacteristicResponse & _value, ::fuchsia::bluetooth::gatt::RemoteServiceReadLongCharacteristicResponse * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceWriteCharacteristicRequest & _value, ::fuchsia::bluetooth::gatt::RemoteServiceWriteCharacteristicRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceWriteCharacteristicResponse & _value, ::fuchsia::bluetooth::gatt::RemoteServiceWriteCharacteristicResponse * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceWriteLongCharacteristicResponse & _value, ::fuchsia::bluetooth::gatt::RemoteServiceWriteLongCharacteristicResponse * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceWriteCharacteristicWithoutResponseRequest & _value, ::fuchsia::bluetooth::gatt::RemoteServiceWriteCharacteristicWithoutResponseRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceReadDescriptorRequest & _value, ::fuchsia::bluetooth::gatt::RemoteServiceReadDescriptorRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceReadDescriptorResponse & _value, ::fuchsia::bluetooth::gatt::RemoteServiceReadDescriptorResponse * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceReadLongDescriptorRequest & _value, ::fuchsia::bluetooth::gatt::RemoteServiceReadLongDescriptorRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceReadLongDescriptorResponse & _value, ::fuchsia::bluetooth::gatt::RemoteServiceReadLongDescriptorResponse * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceWriteDescriptorRequest & _value, ::fuchsia::bluetooth::gatt::RemoteServiceWriteDescriptorRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceWriteDescriptorResponse & _value, ::fuchsia::bluetooth::gatt::RemoteServiceWriteDescriptorResponse * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceWriteLongDescriptorRequest & _value, ::fuchsia::bluetooth::gatt::RemoteServiceWriteLongDescriptorRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceWriteLongDescriptorResponse & _value, ::fuchsia::bluetooth::gatt::RemoteServiceWriteLongDescriptorResponse * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceReadByTypeRequest & _value, ::fuchsia::bluetooth::gatt::RemoteServiceReadByTypeRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceNotifyCharacteristicRequest & _value, ::fuchsia::bluetooth::gatt::RemoteServiceNotifyCharacteristicRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceNotifyCharacteristicResponse & _value, ::fuchsia::bluetooth::gatt::RemoteServiceNotifyCharacteristicResponse * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceOnCharacteristicValueUpdatedRequest & _value, ::fuchsia::bluetooth::gatt::RemoteServiceOnCharacteristicValueUpdatedRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::ClientListServicesRequest & _value, ::fuchsia::bluetooth::gatt::ClientListServicesRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::ClientConnectToServiceRequest & _value, ::fuchsia::bluetooth::gatt::ClientConnectToServiceRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::LocalServiceDelegateOnCharacteristicConfigurationRequest & _value, ::fuchsia::bluetooth::gatt::LocalServiceDelegateOnCharacteristicConfigurationRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::LocalServiceDelegateOnReadValueRequest & _value, ::fuchsia::bluetooth::gatt::LocalServiceDelegateOnReadValueRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::LocalServiceDelegateOnWriteValueRequest & _value, ::fuchsia::bluetooth::gatt::LocalServiceDelegateOnWriteValueRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::LocalServiceDelegateOnWriteWithoutResponseRequest & _value, ::fuchsia::bluetooth::gatt::LocalServiceDelegateOnWriteWithoutResponseRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::LocalServiceNotifyValueRequest & _value, ::fuchsia::bluetooth::gatt::LocalServiceNotifyValueRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::ServerPublishServiceResponse & _value, ::fuchsia::bluetooth::gatt::ServerPublishServiceResponse * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::LocalServiceDelegateOnReadValueResponse & _value, ::fuchsia::bluetooth::gatt::LocalServiceDelegateOnReadValueResponse * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::LocalServiceDelegateOnWriteValueResponse & _value, ::fuchsia::bluetooth::gatt::LocalServiceDelegateOnWriteValueResponse * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteService_ReadByType_Response & _value, ::fuchsia::bluetooth::gatt::RemoteService_ReadByType_Response * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteService_ReadByType_Result & value, ::fuchsia::bluetooth::gatt::RemoteService_ReadByType_Result * result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::SecurityRequirements & _value, ::fuchsia::bluetooth::gatt::SecurityRequirements * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::AttributePermissions & _value, ::fuchsia::bluetooth::gatt::AttributePermissions * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::ServiceInfo & _value, ::fuchsia::bluetooth::gatt::ServiceInfo * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::ClientListServicesResponse & _value, ::fuchsia::bluetooth::gatt::ClientListServicesResponse * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::ServerPublishServiceRequest & _value, ::fuchsia::bluetooth::gatt::ServerPublishServiceRequest * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::Characteristic & _value, ::fuchsia::bluetooth::gatt::Characteristic * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceDiscoverCharacteristicsResponse & _value, ::fuchsia::bluetooth::gatt::RemoteServiceDiscoverCharacteristicsResponse * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::Descriptor & _value, ::fuchsia::bluetooth::gatt::Descriptor * _result)

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

  • zx_status_t Clone (const ::fuchsia::bluetooth::gatt::RemoteServiceWriteLongCharacteristicRequest & _value, ::fuchsia::bluetooth::gatt::RemoteServiceWriteLongCharacteristicRequest * _result)

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