MT2523 API Reference  LinkIt SDK v4
bt_gatts_service_rec_t Struct Reference

Record structure of the GATTS. More...

#include <bt_gatts.h>

Data Fields

const bt_uuid_tuuid_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...
 

Detailed Description

Record structure of the GATTS.

Field Documentation

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.


The documentation for this struct was generated from the following file: