| Airoha M0 BLE API 1.0.5.4

Data Fields
gatt_add_descrip_para Struct Reference
ble_gatt_server.h

API parameter for creating a GATT characteristic descriptor. More...

## Data Fields
UUID_size | size
uint8_t | UUID [16]
uint8_t | permission
uint16_t | data_initial_length
uint16_t | data_maximum_length
uint8_t * | desc_data
ATTCB | cb

## Detailed Description

API parameter for creating a GATT characteristic descriptor.

## Field Documentation

## ◆ size

UUID_size gatt_add_descrip_para::size

descriptor UUID size

## ◆ UUID

uint8_t gatt_add_descrip_para::UUID[16]

descriptor UUID

## ◆ permission

uint8_t gatt_add_descrip_para::permission

descriptor attribute access permission

## ◆ data_initial_length

uint16_t gatt_add_descrip_para::data_initial_length

descriptor attribute default length

## ◆ data_maximum_length

uint16_t gatt_add_descrip_para::data_maximum_length

descriptor attribute maximum length, 0 indicates its a fixed length attribute

## ◆ desc_data

uint8_t* gatt_add_descrip_para::desc_data

descriptor data pointer

## ◆ cb

ATTCB gatt_add_descrip_para::cb

descriptor call back function