18#ifndef NIMBLE_CPP_ATTRIBUTE_H_
19#define NIMBLE_CPP_ATTRIBUTE_H_
22#if defined(CONFIG_BT_ENABLED) && (defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL) || defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL))
24# include "NimBLEUUID.h"
A base class for BLE attributes.
Definition NimBLEAttribute.h:29
NimBLEAttribute(const NimBLEUUID &uuid, uint16_t handle)
Construct a new NimBLEAttribute object.
Definition NimBLEAttribute.h:48
uint16_t getHandle() const
Get the handle of the attribute.
Definition NimBLEAttribute.h:40
~NimBLEAttribute()=default
Destroy the NimBLEAttribute object.
const NimBLEUUID & getUUID() const
Get the UUID of the attribute.
Definition NimBLEAttribute.h:35
A model of a BLE UUID.
Definition NimBLEUUID.h:41