NimBLE-Arduino 2.1.2
Loading...
Searching...
No Matches
ble_gatt_resources Struct Reference

#include <ble_gatt_priv.h>

Public Attributes

uint16_t svcs
 
uint16_t incs
 
uint16_t chrs
 
uint16_t dscs
 
uint16_t cccds
 
uint16_t cpfds
 
uint16_t cafds
 
uint16_t attrs
 

Detailed Description

Contains counts of resources required by the GATT server. The contents of this struct are generally used to populate a configuration struct before the host is initialized.

Member Data Documentation

◆ attrs

uint16_t ble_gatt_resources::attrs

Total number of ATT attributes.

◆ cafds

uint16_t ble_gatt_resources::cafds

Number of aggregate presentation foramt descriptors. Each of these also contributes to the total descriptor count.

◆ cccds

uint16_t ble_gatt_resources::cccds

Number of client characteristic configuration descriptors. Each of these also contributes to the total descriptor count.

◆ chrs

uint16_t ble_gatt_resources::chrs

Number of characteristics.

◆ cpfds

uint16_t ble_gatt_resources::cpfds

Number of client presentation format descriptors. Each of these also contributes to the total descriptor count.

◆ dscs

uint16_t ble_gatt_resources::dscs

Number of descriptors.

◆ incs

uint16_t ble_gatt_resources::incs

Number of included services.

◆ svcs

uint16_t ble_gatt_resources::svcs

Number of services.