fuchsia.bluetooth.test

Added: NEXT

PROTOCOLS

Gatt

Defined in fuchsia.bluetooth.test/gatt.fidl

ResolvePeerAttHandle

Resolves a peer's attribute handle into a service and characteristic handle.

  • error Returns MISSING_PARAMETERS if id or attribute_handle is missing.
  • error Returns HANDLE_NOT_FOUND if attribute_handle is not found.
  • error Returns INTERNAL if an underlying GATT procedure fails.

Request

NameType
payload GattResolvePeerAttHandleRequest

Response

NameType
payload Gatt_ResolvePeerAttHandle_Result

ENUMS

GattError flexible

Type: uint32

Defined in fuchsia.bluetooth.test/gatt.fidl

NameValueDescription
1

One or more of the FIDL call parameters are missing.

2

Peer not found.

3

Handle not found.

4

Operation failed (check logs).

TABLES

GattResolvePeerAttHandleRequest

Defined in fuchsia.bluetooth.test/gatt.fidl

OrdinalFieldTypeDescription
id fuchsia.bluetooth/PeerId

Required. The ID of the peer that the attribute handle belongs to.

attribute_handle uint64

Required. The peer's attribute handle to resolve.

Gatt_ResolvePeerAttHandle_Response

Defined in fuchsia.bluetooth.test/gatt.fidl

OrdinalFieldTypeDescription
service_handle fuchsia.bluetooth.gatt2/ServiceHandle

The service handle that the peer's attribute handle is associated with.

characteristic_handle fuchsia.bluetooth.gatt2/Handle

The characteristic handle that the peer's attribute handle is associated with.

UNIONS

Gatt_ResolvePeerAttHandle_Result strict

Defined in fuchsia.bluetooth.test/gatt.fidl

OrdinalVariantTypeDescription
response Gatt_ResolvePeerAttHandle_Response
err GattError
framework_err internal