Home
last modified time | relevance | path

Searched refs:add_descr (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gatts.c113 if (src->add_descr.descr_val.attr_value && (src->add_descr.descr_val.attr_len > 0)) { in btc_gatts_arg_deep_copy()
114 … dst->add_descr.descr_val.attr_value = (uint8_t *) osi_malloc(src->add_descr.descr_val.attr_len); in btc_gatts_arg_deep_copy()
115 if (dst->add_descr.descr_val.attr_value) { in btc_gatts_arg_deep_copy()
116 memcpy(dst->add_descr.descr_val.attr_value, src->add_descr.descr_val.attr_value, in btc_gatts_arg_deep_copy()
117 src->add_descr.descr_val.attr_len); in btc_gatts_arg_deep_copy()
122 dst->add_descr.descr_val.attr_value = NULL; in btc_gatts_arg_deep_copy()
123 if (src->add_descr.descr_val.attr_value) { in btc_gatts_arg_deep_copy()
193 if (arg->add_descr.descr_val.attr_value != NULL){ in btc_gatts_arg_deep_free()
194 osi_free(arg->add_descr.descr_val.attr_value); in btc_gatts_arg_deep_free()
663 btc_to_bta_uuid(&uuid, &arg->add_descr.descr_uuid); in btc_gatts_call_handler()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/
Desp_gatts_api.c185 arg.add_descr.service_handle = service_handle; in esp_ble_gatts_add_char_descr()
186 arg.add_descr.perm = perm; in esp_ble_gatts_add_char_descr()
189 arg.add_descr.descr_val.attr_max_len = char_descr_val->attr_max_len; in esp_ble_gatts_add_char_descr()
190 arg.add_descr.descr_val.attr_len = char_descr_val->attr_len; in esp_ble_gatts_add_char_descr()
191 arg.add_descr.descr_val.attr_value = char_descr_val->attr_value; in esp_ble_gatts_add_char_descr()
195 arg.add_descr.attr_control.auto_rsp = control->auto_rsp; in esp_ble_gatts_add_char_descr()
197 memcpy(&arg.add_descr.descr_uuid, descr_uuid, sizeof(esp_bt_uuid_t)); in esp_ble_gatts_add_char_descr()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/include/
Dbtc_gatts.h108 } add_descr; member