19#ifndef MBED_DISCOVERED_CHARACTERISTIC_DESCRIPTOR_H__
20#define MBED_DISCOVERED_CHARACTERISTIC_DESCRIPTOR_H__
24#include "ble/gatt/GattAttribute.h"
25#include "ble/gatt/CharacteristicDescriptorDiscovery.h"
85 _connectionHandle(connectionHandle),
87 _gattHandle(attributeHandle) {
119 return _connectionHandle;
Representation of a characteristic descriptor discovered.
ble::connection_handle_t getConnectionHandle() const
Return the connection handle to the GattServer containing this descriptor.
GattAttribute::Handle_t getAttributeHandle() const
Return the attribute handle of this descriptor.
const ble::GattClient * getGattClient() const
Return the ble::GattClient, which can operate on this descriptor.
ble::GattClient * getGattClient()
Return the ble::GattClient, which can operate on this descriptor.
DiscoveredCharacteristicDescriptor(ble::GattClient *client, ble::connection_handle_t connectionHandle, GattAttribute::Handle_t attributeHandle, const UUID &uuid)
Construct a new instance of a DiscoveredCharacteristicDescriptor.
const UUID & getUUID() const
Return the UUID of this descriptor.
ble::attribute_handle_t Handle_t
Representation of an attribute handle.
Representation of a Universally Unique Identifier (UUID).
Define procedures required for interacting with a distant GATT server.
Entry namespace for all BLE API definitions.
uintptr_t connection_handle_t
Opaque reference to a connection.