Home
last modified time | relevance | path

Searched refs:set_attr_val (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gatts.c145 if (src->set_attr_val.value && (src->set_attr_val.length > 0)) { in btc_gatts_arg_deep_copy()
146 dst->set_attr_val.value = (uint8_t *) osi_malloc(src->set_attr_val.length); in btc_gatts_arg_deep_copy()
147 if (dst->set_attr_val.value) { in btc_gatts_arg_deep_copy()
148 memcpy(dst->set_attr_val.value, src->set_attr_val.value, src->set_attr_val.length); in btc_gatts_arg_deep_copy()
153 dst->set_attr_val.value = NULL; in btc_gatts_arg_deep_copy()
154 if (src->set_attr_val.value) { in btc_gatts_arg_deep_copy()
205 if (arg->set_attr_val.value != NULL){ in btc_gatts_arg_deep_free()
206 osi_free(arg->set_attr_val.value); in btc_gatts_arg_deep_free()
693 BTA_SetAttributeValue(arg->set_attr_val.handle, arg->set_attr_val.length, in btc_gatts_call_handler()
694 arg->set_attr_val.value); in btc_gatts_call_handler()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/
Desp_gatts_api.c312 arg.set_attr_val.handle = attr_handle; in esp_ble_gatts_set_attr_value()
313 arg.set_attr_val.length = length; in esp_ble_gatts_set_attr_value()
314 arg.set_attr_val.value = (uint8_t *)value; in esp_ble_gatts_set_attr_value()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/include/
Dbtc_gatts.h132 } set_attr_val; member
/hal_espressif-3.6.0/components/esp_hid/src/
Dble_hidd.c415 if (param->set_attr_val.attr_handle == dev->bat_level_handle) { in bat_event_handler()
416 … ESP_LOGD(TAG, "Battery SET %d, status: 0x%02x", dev->bat_level, param->set_attr_val.status); in bat_event_handler()
583 hidd_le_report_item_t *map = get_report_by_handle(dev, param->set_attr_val.attr_handle); in hid_event_handler()
584 if (map && map->handle == param->set_attr_val.attr_handle) { in hid_event_handler()
585 …_type), esp_hid_protocol_mode_str(map->protocol_mode), map->report_id, param->set_attr_val.status); in hid_event_handler()
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/include/api/
Desp_gatts_api.h273 …} set_attr_val; /*!< Gatt server callback param of ESP_GATTS_SET_ATTR_VAL_EVT … member