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.
Fork of BLE_WallbotBLE_Challenge by
GattAttribute Class Reference
GATT attribute. More...
#include <GattAttribute.h>
Public Member Functions | |
| GattAttribute (const UUID &uuid, uint8_t *valuePtr=NULL, uint16_t initialLen=0, uint16_t maxLen=0) | |
| Creates a new GattAttribute using the specified UUID, value length, and inital value. | |
Detailed Description
GATT attribute.
Definition at line 29 of file GattAttribute.h.
Constructor & Destructor Documentation
| GattAttribute | ( | const UUID & | uuid, |
| uint8_t * | valuePtr = NULL, |
||
| uint16_t | initialLen = 0, |
||
| uint16_t | maxLen = 0 |
||
| ) |
Creates a new GattAttribute using the specified UUID, value length, and inital value.
- Parameters:
-
[in] uuid The UUID to use for this attribute [in] valuePtr The memory holding the initial value. [in] initialLen The min length in bytes of this characteristic's value [in] maxLen The max length in bytes of this characteristic's value
EXAMPLE
// UUID = 0x2A19, Min length 2, Max len = 2, Properties = write GattCharacteristic c = GattCharacteristic( 0x2A19, 2, 2, BLE_GATT_CHAR_PROPERTIES_WRITE );
Definition at line 58 of file GattAttribute.h.
Generated on Tue Jul 12 2022 12:30:23 by
1.7.2
