Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Nucleo_BLE_HeartRate Nucleo_BLE_UART Nucleo_BLE_Demo Nucleo_BLE_UART
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 20:44:38 by
1.7.2