| Airoha M0 BLE API 1.0.5.4

Data Fields
gatt_add_charact_para Struct Reference
ble_gatt_server.h

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

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

## Detailed Description

API parameter for creating a GATT characteristic.

## Field Documentation

## ◆ size

UUID_size gatt_add_charact_para::size

characteristic UUID size

## ◆ UUID

uint8_t gatt_add_charact_para::UUID[16]

characteristic UUID

## ◆ property

uint8_t gatt_add_charact_para::property

characteristic property CHAR_PROPERTY

## ◆ permission

uint8_t gatt_add_charact_para::permission

characteristic value attribute access permission

## ◆ data_initial_length

uint16_t gatt_add_charact_para::data_initial_length

characteristic value attribute default length

## ◆ data_maximum_length

uint16_t gatt_add_charact_para::data_maximum_length

characteristic value attribute maximum length, 0 indicates its a fixed length attribute

## ◆ char_data

uint8_t* gatt_add_charact_para::char_data

characteristic value data pointer

## ◆ cb

ATTCB gatt_add_charact_para::cb

characteristic value call back function