A base class for BLE attributes.
More...
#include <NimBLEAttribute.h>
Inherited by NimBLELocalAttribute, NimBLERemoteService, and NimBLERemoteValueAttribute.
|
| const NimBLEUUID & | getUUID () const |
| | Get the UUID of the attribute.
|
| |
|
uint16_t | getHandle () const |
| | Get the handle of the attribute.
|
| |
A base class for BLE attributes.
◆ NimBLEAttribute()
| NimBLEAttribute::NimBLEAttribute |
( |
const NimBLEUUID & |
uuid, |
|
|
uint16_t |
handle |
|
) |
| |
|
inlineprotected |
Construct a new NimBLEAttribute object.
- Parameters
-
| [in] | handle | The handle of the attribute. |
| [in] | uuid | The UUID of the attribute. |
◆ getUUID()
| const NimBLEUUID & NimBLEAttribute::getUUID |
( |
| ) |
const |
|
inline |
Get the UUID of the attribute.
- Returns
- The UUID.