Holla back
Fork of BLE_API by
GattService Class Reference
GATT service. More...
#include <GattService.h>
Public Member Functions | |
GattService (const UUID &uuid, GattCharacteristic *characteristics[], unsigned numCharacteristics) | |
Creates a new GattCharacteristic using the specified 16-bit UUID, value length, and properties. |
Detailed Description
GATT service.
Definition at line 31 of file GattService.h.
Constructor & Destructor Documentation
GattService | ( | const UUID & | uuid, |
GattCharacteristic * | characteristics[], | ||
unsigned | numCharacteristics | ||
) |
Creates a new GattCharacteristic using the specified 16-bit UUID, value length, and properties.
Creates a new GattService using the specified 128-bit UUID.
- Note:
- The UUID value must be unique in the service and is normally >1
- Parameters:
-
[in] uuid The UUID to use for this characteristic [in] characteristics A pointer to an array of characteristics to be included within this service [in] numCharacteristics The number of characteristics
- Note:
- The UUID value must be unique on the device
- Parameters:
-
[in] uuid The 16 byte (128-bit) UUID to use for this characteristic
EXAMPLE
Definition at line 39 of file GattService.cpp.
Generated on Tue Jul 12 2022 14:23:51 by 1.7.2