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.
Dependencies: BLE_API TB6612FNG mbed
Fork of BLE_RCBController2 by
ble_gatts_attr_t Struct Reference
[Structures]
GATT Attribute. More...
#include <ble_gatts.h>
Data Fields | |
ble_uuid_t * | p_uuid |
Pointer to the attribute UUID. | |
ble_gatts_attr_md_t * | p_attr_md |
Pointer to the attribute metadata structure. | |
uint16_t | init_len |
Initial attribute value length in bytes. | |
uint16_t | init_offs |
Initial attribute value offset in bytes. | |
uint16_t | max_len |
Maximum attribute value length in bytes, see Maximum attribute lengths for maximum values. | |
uint8_t * | p_value |
Pointer to the attribute data. |
Detailed Description
GATT Attribute.
Definition at line 139 of file ble_gatts.h.
Field Documentation
uint16_t init_len |
Initial attribute value length in bytes.
Definition at line 143 of file ble_gatts.h.
uint16_t init_offs |
Initial attribute value offset in bytes.
If different from zero, the first init_offs bytes of the attribute value will be left uninitialized.
Definition at line 144 of file ble_gatts.h.
uint16_t max_len |
Maximum attribute value length in bytes, see Maximum attribute lengths for maximum values.
Definition at line 145 of file ble_gatts.h.
Pointer to the attribute metadata structure.
Definition at line 142 of file ble_gatts.h.
Pointer to the attribute UUID.
Definition at line 141 of file ble_gatts.h.
uint8_t* p_value |
Pointer to the attribute data.
Please note that if the BLE_GATTS_VLOC_USER value location is selected in the attribute metadata, this will have to point to a buffer that remains valid through the lifetime of the attribute. This excludes usage of automatic variables that may go out of scope or any other temporary location. The stack may access that memory directly without the application's knowledge.
Definition at line 146 of file ble_gatts.h.
Generated on Tue Jul 12 2022 19:13:55 by
