Gセンサ制御 実装版
Fork of BLE_WallbotBLE_Challenge_byYUTAKA 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 15:06:08 by
1.7.2
