![]() |
Bluetooth LE Profile API document
Bluetooth LE Profile API document Rev.1.00 [May 22, 2020]
|
st_ble_servc_char_info_t includes information about characteristic. More...
Data Fields | |
uint16_t | uuid_16 |
const uint8_t * | uuid_128 |
uint8_t | uuid_type |
st_ble_gatt_hdl_range_t * | p_attr_hdls |
uint8_t | char_idx |
uint8_t | inst_idx |
uint16_t | app_size |
uint16_t | db_size |
const st_ble_servc_desc_info_t ** | pp_descs |
uint8_t | num_of_descs |
ble_servc_attr_write_rsp_t | write_rsp_cb |
ble_servc_attr_read_rsp_t | read_rsp_cb |
ble_servc_attr_hdl_val_ntf_t | hdl_val_ntf_cb |
ble_servc_attr_hdl_val_ind_t | hdl_val_ind_cb |
ble_servc_attr_decode_t | decode |
ble_servc_attr_encode_t | encode |
st_ble_servc_char_info_t includes information about characteristic.
uint16_t st_ble_servc_char_info_t::uuid_16 |
16bit UUID of characteristic
const uint8_t* st_ble_servc_char_info_t::uuid_128 |
128bit UUID of characteristic
uint8_t st_ble_servc_char_info_t::uuid_type |
Select from 16bit UUID or 128bit UUID.
128bit UUID should be used for custom service.
16bit UUID = BLE_GATT_16_BIT_UUID_FORMAT
128bit UUID = BLE_GATT_128_BIT_UUID_FORMAT
st_ble_gatt_hdl_range_t* st_ble_servc_char_info_t::p_attr_hdls |
Attribute handle range of characteristic.
uint8_t st_ble_servc_char_info_t::char_idx |
Index of characteristic.
uint8_t st_ble_servc_char_info_t::inst_idx |
Index used if same characteristic is set in one service.
uint16_t st_ble_servc_char_info_t::app_size |
Size of characteristic value in Application.
uint16_t st_ble_servc_char_info_t::db_size |
Size of characteristic value in GATT database.
const st_ble_servc_desc_info_t** st_ble_servc_char_info_t::pp_descs |
Set all descriptor information structure included in this characteristic.
uint8_t st_ble_servc_char_info_t::num_of_descs |
Number of descriptors included in this characteristic.
ble_servc_attr_write_rsp_t st_ble_servc_char_info_t::write_rsp_cb |
Write response callback function. Set function if needed.
ble_servc_attr_read_rsp_t st_ble_servc_char_info_t::read_rsp_cb |
Read response callback function. Set function if needed.
ble_servc_attr_hdl_val_ntf_t st_ble_servc_char_info_t::hdl_val_ntf_cb |
Notification callback function. Set function if needed.
ble_servc_attr_hdl_val_ind_t st_ble_servc_char_info_t::hdl_val_ind_cb |
Indication callback function. Set function if needed.
ble_servc_attr_decode_t st_ble_servc_char_info_t::decode |
Decode function.
ble_servc_attr_encode_t st_ble_servc_char_info_t::encode |
Encode function.