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_PARAMETERSifidorattribute_handleis missing. - error Returns
HANDLE_NOT_FOUNDifattribute_handleis not found. - error Returns
INTERNALif an underlying GATT procedure fails.
Request
| Name | Type |
|---|---|
payload |
GattResolvePeerAttHandleRequest
|
Response
| Name | Type |
|---|---|
payload |
Gatt_ResolvePeerAttHandle_Result
|
ENUMS
GattError flexible
Type: uint32
Defined in fuchsia.bluetooth.test/gatt.fidl
| Name | Value | Description |
|---|---|---|
MISSING_PARAMETERS |
1 |
One or more of the FIDL call parameters are missing. |
PEER_NOT_FOUND |
2 |
Peer not found. |
HANDLE_NOT_FOUND |
3 |
Handle not found. |
INTERNAL |
4 |
Operation failed (check logs). |
TABLES
GattResolvePeerAttHandleRequest
Defined in fuchsia.bluetooth.test/gatt.fidl
| Ordinal | Field | Type | Description |
|---|---|---|---|
1 |
id |
fuchsia.bluetooth/PeerId
|
Required. The ID of the peer that the attribute handle belongs to. |
2 |
attribute_handle |
uint64
|
Required. The peer's attribute handle to resolve. |
Gatt_ResolvePeerAttHandle_Response
Defined in fuchsia.bluetooth.test/gatt.fidl
| Ordinal | Field | Type | Description |
|---|---|---|---|
1 |
service_handle |
fuchsia.bluetooth.gatt2/ServiceHandle
|
The service handle that the peer's attribute handle is associated with. |
2 |
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
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Gatt_ResolvePeerAttHandle_Response
|
|
2 |
err |
GattError
|
|
3 |
framework_err |
internal
|