![]() |
MT2523 API Reference
LinkIt SDK v4
|
Record structure of the GATTS. More...
#include <bt_gatts.h>
Data Fields | |
| const bt_uuid_t * | uuid_ptr |
| A pointer to the UUID of attribute type. More... | |
| bt_atts_rec_perm_t | perm |
| The read or write permission and security requirement of the attribute, BT_GATTS_REC_PERM_READABLE, BT_GATTS_REC_PERM_WRITABLE. More... | |
| uint8_t | value_len |
| The length of the attribute value. More... | |
Record structure of the GATTS.
| bt_atts_rec_perm_t perm |
The read or write permission and security requirement of the attribute, BT_GATTS_REC_PERM_READABLE, BT_GATTS_REC_PERM_WRITABLE.
| const bt_uuid_t* uuid_ptr |
A pointer to the UUID of attribute type.
| uint8_t value_len |
The length of the attribute value.
If the value_len is 0, the record has a callback bt_gatts_rec_callback_t(), followed by this structure. GATTS will call the record's callback to read or write the attribute value.