Home
last modified time | relevance | path

Searched refs:add_char (Results 1 – 10 of 10) sorted by relevance

/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gatts.c96 if (src->add_char.char_val.attr_value && (src->add_char.char_val.attr_len > 0)) { in btc_gatts_arg_deep_copy()
97 … dst->add_char.char_val.attr_value = (uint8_t *) osi_malloc(src->add_char.char_val.attr_len); in btc_gatts_arg_deep_copy()
98 if (dst->add_char.char_val.attr_value) { in btc_gatts_arg_deep_copy()
99 memcpy(dst->add_char.char_val.attr_value, src->add_char.char_val.attr_value, in btc_gatts_arg_deep_copy()
100 src->add_char.char_val.attr_len); in btc_gatts_arg_deep_copy()
105 dst->add_char.char_val.attr_value = NULL; in btc_gatts_arg_deep_copy()
106 if (src->add_char.char_val.attr_value) { in btc_gatts_arg_deep_copy()
187 if (arg->add_char.char_val.attr_value != NULL) { in btc_gatts_arg_deep_free()
188 osi_free(arg->add_char.char_val.attr_value); in btc_gatts_arg_deep_free()
653 btc_to_bta_uuid(&uuid, &arg->add_char.char_uuid); in btc_gatts_call_handler()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/
Desp_gatts_api.c146 arg.add_char.service_handle = service_handle; in esp_ble_gatts_add_char()
147 arg.add_char.perm = perm; in esp_ble_gatts_add_char()
148 arg.add_char.property = property; in esp_ble_gatts_add_char()
150 arg.add_char.char_val.attr_max_len = char_val->attr_max_len; in esp_ble_gatts_add_char()
151 arg.add_char.char_val.attr_len = char_val->attr_len; in esp_ble_gatts_add_char()
152 arg.add_char.char_val.attr_value = char_val->attr_value; in esp_ble_gatts_add_char()
156 arg.add_char.attr_control.auto_rsp = control->auto_rsp; in esp_ble_gatts_add_char()
158 memcpy(&arg.add_char.char_uuid, char_uuid, sizeof(esp_bt_uuid_t)); in esp_ble_gatts_add_char()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_server/main/
Dgatts_demo.c431 … param->add_char.status, param->add_char.attr_handle, param->add_char.service_handle); in gatts_profile_a_event_handler()
432 gl_profile_tab[PROFILE_A_APP_ID].char_handle = param->add_char.attr_handle; in gatts_profile_a_event_handler()
435 …esp_err_t get_attr_ret = esp_ble_gatts_get_attr_value(param->add_char.attr_handle, &length, &prf_… in gatts_profile_a_event_handler()
599 … param->add_char.status, param->add_char.attr_handle, param->add_char.service_handle); in gatts_profile_b_event_handler()
601 gl_profile_tab[PROFILE_B_APP_ID].char_handle = param->add_char.attr_handle; in gatts_profile_b_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/main/
Dmain.c353 … param->add_char.status, param->add_char.attr_handle, param->add_char.service_handle); in gatts_profile_a_event_handler()
354 gl_profile_tab[PROFILE_A_APP_ID].char_handle = param->add_char.attr_handle; in gatts_profile_a_event_handler()
500 … param->add_char.status, param->add_char.attr_handle, param->add_char.service_handle); in gatts_profile_b_event_handler()
502 gl_profile_tab[PROFILE_B_APP_ID].char_handle = param->add_char.attr_handle; in gatts_profile_b_event_handler()
/hal_espressif-3.6.0/examples/system/ota/advanced_https_ota/main/ble_helper/
Dbluedroid_gatts.c267 … param->add_char.status, param->add_char.attr_handle, param->add_char.service_handle); in gatts_profile_a_event_handler()
268 gl_profile_tab[PROFILE_A_APP_ID].char_handle = param->add_char.attr_handle; in gatts_profile_a_event_handler()
271 …esp_err_t get_attr_ret = esp_ble_gatts_get_attr_value(param->add_char.attr_handle, &length, &prf_… in gatts_profile_a_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/main/
Dgattc_gatts_coex.c704 … param->add_char.status, param->add_char.attr_handle, param->add_char.service_handle); in gatts_profile_a_event_handler()
705 gatts_profile_tab[GATTS_PROFILE_A_APP_ID].char_handle = param->add_char.attr_handle; in gatts_profile_a_event_handler()
845 … param->add_char.status, param->add_char.attr_handle, param->add_char.service_handle); in gatts_profile_b_event_handler()
847 gatts_profile_tab[GATTS_PROFILE_B_APP_ID].char_handle = param->add_char.attr_handle; in gatts_profile_b_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/main/
Dexample_ble_server_throughput.c498 … param->add_char.status, param->add_char.attr_handle, param->add_char.service_handle); in gatts_profile_a_event_handler()
499 gl_profile_tab[PROFILE_A_APP_ID].char_handle = param->add_char.attr_handle; in gatts_profile_a_event_handler()
502 …esp_err_t get_attr_ret = esp_ble_gatts_get_attr_value(param->add_char.attr_handle, &length, &prf_… in gatts_profile_a_event_handler()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/include/
Dbtc_gatts.h99 } add_char; member
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/include/api/
Desp_gatts_api.h158 } add_char; /*!< Gatt server callback param of ESP_GATTS_ADD_CHAR_EVT */ member
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_server/tutorial/
DGatt_Server_Example_Walkthrough.md562 … param->add_char.status, param->add_char.attr_handle, param->add_char.service_handle);
563 gl_profile_tab[PROFILE_A_APP_ID].char_handle = param->add_char.attr_handle;
566 …esp_err_t get_attr_ret = esp_ble_gatts_get_attr_value(param->add_char.attr_handle, &length, &prf_c…
591 param->add_char.status, param->add_char.attr_handle,
592 param->add_char.service_handle);