Parameter of Added service description. More...

#include <ble_gatts.h>

+ Collaboration diagram for ble_gatts_create_db_t:

Classes

union  attribute_table
 < Attribute table. More...
 

Public Attributes

uint16_t * shdl
 Service start handle pointer. More...
 
const uint8_t * uuid
 Service UUID pointer. More...
 
uint8_t * attr_tab_cfg
 Attribute table selector pointer. More...
 
uint8_t max_nb_attr
 Number of attributes in attribute table. More...
 
union ble_gatts_create_db_t::attribute_table attr_tab
 Attribute table. More...
 
uint16_t * inc_srvc_handle [BLE_GATTS_MAX_INC_SRVC_NUM]
 Pointer array of Included Service start handle's address. More...
 
uint16_t inc_srvc_num
 Included Service number for this service. More...
 
uint8_t srvc_perm
 Service permission. More...
 
ble_gatts_service_type_t attr_tab_type
 Service table type. More...
 

Detailed Description

Parameter of Added service description.

Definition at line 286 of file ble_gatts.h.

Member Data Documentation

◆ attr_tab

union ble_gatts_create_db_t::attribute_table ble_gatts_create_db_t::attr_tab

Attribute table.

◆ attr_tab_cfg

uint8_t* ble_gatts_create_db_t::attr_tab_cfg

Attribute table selector pointer.

It can be set to NULL to select all items of attribute table. Each bit matches with an attribute of attribute table.
EXAMPLE:if attr_tab_cfg points to array {0x3F, 0x03}, it means that the 0.1.2.3.4.5.8.9 items of attribute table will be added to database.

Definition at line 291 of file ble_gatts.h.

◆ attr_tab_type

ble_gatts_service_type_t ble_gatts_create_db_t::attr_tab_type

Service table type.

See ble_gatts_service_type_t.

Definition at line 301 of file ble_gatts.h.

◆ inc_srvc_handle

uint16_t* ble_gatts_create_db_t::inc_srvc_handle[BLE_GATTS_MAX_INC_SRVC_NUM]

Pointer array of Included Service start handle's address.

Definition at line 298 of file ble_gatts.h.

◆ inc_srvc_num

uint16_t ble_gatts_create_db_t::inc_srvc_num

Included Service number for this service.

Definition at line 299 of file ble_gatts.h.

◆ max_nb_attr

uint8_t ble_gatts_create_db_t::max_nb_attr

Number of attributes in attribute table.

Definition at line 292 of file ble_gatts.h.

◆ shdl

uint16_t* ble_gatts_create_db_t::shdl

Service start handle pointer.

If *shdl = 0, it returns a handle using the first available handle (*shdl is modified); otherwise it verifies if the given start handle can be used to allocate handle range.

Definition at line 289 of file ble_gatts.h.

◆ srvc_perm

uint8_t ble_gatts_create_db_t::srvc_perm

Service permission.

See Service Permission.

Definition at line 300 of file ble_gatts.h.

◆ uuid

const uint8_t* ble_gatts_create_db_t::uuid

Service UUID pointer.

The pointer points to the Service UUID LSB.

Definition at line 290 of file ble_gatts.h.


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