Bluetooth LE Profile API document
Bluetooth LE Profile API document Rev.1.00 [May 22, 2020]
st_ble_servs_char_info_t Struct Reference

st_ble_servs_char_info_t includes information about characteristic. More...

Data Fields

uint16_t start_hdl
 
uint16_t end_hdl
 
uint8_t char_idx
 
uint8_t inst_idx
 
uint16_t app_size
 
uint16_t db_size
 
const st_ble_servs_desc_info_t ** pp_descs
 
uint8_t num_of_descs
 
ble_servs_attr_write_req_t write_req_cb
 
ble_servs_attr_write_cmd_t write_cmd_cb
 
ble_servs_attr_write_comp_t write_comp_cb
 
ble_servs_attr_read_req_t read_req_cb
 
ble_servs_attr_hdl_val_cnf_t hdl_val_cnf_cb
 
ble_servs_attr_flow_ctrl_t flow_ctrl_cb
 
ble_servs_attr_decode_t decode
 
ble_servs_attr_encode_t encode
 

Detailed Description

st_ble_servs_char_info_t includes information about characteristic.

Field Documentation

◆ start_hdl

uint16_t st_ble_servs_char_info_t::start_hdl

First Attribute handle of this characteristic

◆ end_hdl

uint16_t st_ble_servs_char_info_t::end_hdl

Last Attribute handle of this characteristic

◆ char_idx

uint8_t st_ble_servs_char_info_t::char_idx

Index of characteristic

◆ inst_idx

uint8_t st_ble_servs_char_info_t::inst_idx

Index used if same characteristic is set in one service

◆ app_size

uint16_t st_ble_servs_char_info_t::app_size

Size of characteristic value in Application.

◆ db_size

uint16_t st_ble_servs_char_info_t::db_size

Size of characteristic value in GATT database.

◆ pp_descs

const st_ble_servs_desc_info_t** st_ble_servs_char_info_t::pp_descs

Set all descriptor information structure included in this characteristic.

◆ num_of_descs

uint8_t st_ble_servs_char_info_t::num_of_descs

Number of descriptors included in this characteristic.

◆ write_req_cb

ble_servs_attr_write_req_t st_ble_servs_char_info_t::write_req_cb

Write request callback function. Set function if needed.

◆ write_cmd_cb

ble_servs_attr_write_cmd_t st_ble_servs_char_info_t::write_cmd_cb

Write command callback function. Set function if needed.

◆ write_comp_cb

ble_servs_attr_write_comp_t st_ble_servs_char_info_t::write_comp_cb

Write response callback function. Set function if needed.

◆ read_req_cb

ble_servs_attr_read_req_t st_ble_servs_char_info_t::read_req_cb

Read request callback function. Set function if needed.

◆ hdl_val_cnf_cb

ble_servs_attr_hdl_val_cnf_t st_ble_servs_char_info_t::hdl_val_cnf_cb

Confirmation callback function. Set function if needed.

◆ flow_ctrl_cb

ble_servs_attr_flow_ctrl_t st_ble_servs_char_info_t::flow_ctrl_cb

Flow control callback function. Set function if needed.

◆ decode

ble_servs_attr_decode_t st_ble_servs_char_info_t::decode

Decode function.

◆ encode

ble_servs_attr_encode_t st_ble_servs_char_info_t::encode

Encode function.