Home
last modified time | relevance | path

Searched refs:char_uuid (Results 1 – 25 of 38) sorted by relevance

12

/hal_espressif-3.4.0/components/bt/host/bluedroid/btc/profile/std/battery/
Dbattery_prf.c112 p_data->add_result.char_uuid.uu.uuid16); in bas_gatts_callback()
113 UINT16 char_uuid = p_data->add_result.char_uuid.uu.uuid16; in bas_gatts_callback() local
115 if (char_uuid == GATT_UUID_BATTERY_LEVEL) { in bas_gatts_callback()
118 if (char_uuid == GATT_UUID_SYSTEM_ID | GATT_UUID_MODEL_NUMBER_STR | GATT_UUID_PNP_ID | in bas_gatts_callback()
121 switch (char_uuid) { in bas_gatts_callback()
149 p_data->add_result.attr_id, p_data->add_result.char_uuid.uu.uuid16); in bas_gatts_callback()
420 void bas_AddChar(UINT16 service_id, tBT_UUID *char_uuid) in bas_AddChar() argument
426 esp_ble_gatts_add_char(service_id, char_uuid, BATTER_LEVEL_PERM, prop); in bas_AddChar()
/hal_espressif-3.4.0/components/bt/host/bluedroid/btc/profile/esp/wechat_AirSync/
Dwx_airsync_prf.c109 if (p_data->add_result.char_uuid.uu.uuid16 == ATT_CHAR_AIRSYNC_WIT) { in airsync_profile_cb()
118 } else if (p_data->add_result.char_uuid.uu.uuid16 == ATT_CHAR_AIRSYBC_NTF) { in airsync_profile_cb()
131 } else if (p_data->add_result.char_uuid.uu.uuid16 == ATT_CHAR_AIRSYNC_READ) { in airsync_profile_cb()
137 if (p_data->add_result.char_uuid.uu.uuid16 == GATT_UUID_CHAR_CLIENT_CONFIG) { in airsync_profile_cb()
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/hh/
Dbta_hh_le.c379 void bta_hh_le_fill_16bits_char_id(UINT8 inst_id, UINT16 char_uuid, in bta_hh_le_fill_16bits_char_id() argument
383 bta_hh_le_fill_16bits_gatt_id(inst_id, char_uuid, p_output); in bta_hh_le_fill_16bits_char_id()
591 UINT16 char_uuid, UINT8 char_inst_id, UINT16 char_descp_uuid) in bta_hh_le_read_char_dscrpt() argument
599 bta_hh_le_fill_16bits_char_id(char_inst_id, char_uuid, &char_id.char_id); in bta_hh_le_read_char_dscrpt()
633 UINT16 srvc_uuid, char_uuid; in bta_hh_le_read_rpt_ref_descr() local
647 char_uuid = GATT_UUID_BATTERY_LEVEL; in bta_hh_le_read_rpt_ref_descr()
653 char_uuid = GATT_UUID_HID_REPORT; in bta_hh_le_read_rpt_ref_descr()
659 char_uuid, in bta_hh_le_read_rpt_ref_descr()
1110 void bta_hh_le_expl_boot_rpt(tBTA_HH_DEV_CB *p_dev_cb, UINT16 char_uuid, in bta_hh_le_expl_boot_rpt() argument
1115 char_uuid, in bta_hh_le_expl_boot_rpt()
[all …]
/hal_espressif-3.4.0/components/bt/host/bluedroid/btc/profile/esp/ble_button/
Dbutton_pro.c133 if (p_data->add_result.char_uuid.uu.uuid16 == ATT_CHAR_BUTTON_WIT) { in button_profile_cb()
142 …} else if (p_data->add_result.char_uuid.uu.uuid16 == ATT_CHAR_BUTTON_NTF) { // add the gattc confi… in button_profile_cb()
153 if (p_data->add_result.char_uuid.uu.uuid16 == GATT_UUID_CHAR_CLIENT_CONFIG) { in button_profile_cb()
/hal_espressif-3.4.0/examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/main/
Dmain.c112 esp_bt_uuid_t char_uuid; member
336 gl_profile_tab[PROFILE_A_APP_ID].char_uuid.len = ESP_UUID_LEN_16; in gatts_profile_a_event_handler()
337 gl_profile_tab[PROFILE_A_APP_ID].char_uuid.uuid.uuid16 = GATTS_CHAR_UUID_A; in gatts_profile_a_event_handler()
341 …_char(gl_profile_tab[PROFILE_A_APP_ID].service_handle, &gl_profile_tab[PROFILE_A_APP_ID].char_uuid, in gatts_profile_a_event_handler()
483 gl_profile_tab[PROFILE_B_APP_ID].char_uuid.len = ESP_UUID_LEN_16; in gatts_profile_b_event_handler()
484 gl_profile_tab[PROFILE_B_APP_ID].char_uuid.uuid.uuid16 = GATTS_CHAR_UUID_B; in gatts_profile_b_event_handler()
488 …char( gl_profile_tab[PROFILE_B_APP_ID].service_handle, &gl_profile_tab[PROFILE_B_APP_ID].char_uuid, in gatts_profile_b_event_handler()
/hal_espressif-3.4.0/examples/bluetooth/bluedroid/ble/gatt_server/main/
Dgatts_demo.c155 esp_bt_uuid_t char_uuid; member
411 gl_profile_tab[PROFILE_A_APP_ID].char_uuid.len = ESP_UUID_LEN_16; in gatts_profile_a_event_handler()
412 gl_profile_tab[PROFILE_A_APP_ID].char_uuid.uuid.uuid16 = GATTS_CHAR_UUID_TEST_A; in gatts_profile_a_event_handler()
416 …_char(gl_profile_tab[PROFILE_A_APP_ID].service_handle, &gl_profile_tab[PROFILE_A_APP_ID].char_uuid, in gatts_profile_a_event_handler()
582 gl_profile_tab[PROFILE_B_APP_ID].char_uuid.len = ESP_UUID_LEN_16; in gatts_profile_b_event_handler()
583 gl_profile_tab[PROFILE_B_APP_ID].char_uuid.uuid.uuid16 = GATTS_CHAR_UUID_TEST_B; in gatts_profile_b_event_handler()
587 …char( gl_profile_tab[PROFILE_B_APP_ID].service_handle, &gl_profile_tab[PROFILE_B_APP_ID].char_uuid, in gatts_profile_b_event_handler()
/hal_espressif-3.4.0/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/main/
Dgattc_gatts_coex.c74 esp_bt_uuid_t char_uuid; member
689 gatts_profile_tab[GATTS_PROFILE_A_APP_ID].char_uuid.len = ESP_UUID_LEN_16; in gatts_profile_a_event_handler()
690 gatts_profile_tab[GATTS_PROFILE_A_APP_ID].char_uuid.uuid.uuid16 = GATTS_CHAR_UUID_TEST_A; in gatts_profile_a_event_handler()
694 …e_tab[GATTS_PROFILE_A_APP_ID].service_handle, &gatts_profile_tab[GATTS_PROFILE_A_APP_ID].char_uuid, in gatts_profile_a_event_handler()
828 gatts_profile_tab[GATTS_PROFILE_B_APP_ID].char_uuid.len = ESP_UUID_LEN_16; in gatts_profile_b_event_handler()
829 gatts_profile_tab[GATTS_PROFILE_B_APP_ID].char_uuid.uuid.uuid16 = GATTS_CHAR_UUID_TEST_B; in gatts_profile_b_event_handler()
833 …e_tab[GATTS_PROFILE_B_APP_ID].service_handle, &gatts_profile_tab[GATTS_PROFILE_B_APP_ID].char_uuid, in gatts_profile_b_event_handler()
/hal_espressif-3.4.0/components/bt/host/bluedroid/btc/profile/std/include/
Dbtc_gattc.h221 esp_bt_uuid_t char_uuid,
227 esp_bt_uuid_t char_uuid,
Dbtc_gatts.h94 esp_bt_uuid_t char_uuid; member
Ddis_api.h283 extern void bas_AddChar(UINT16 service_id, tBT_UUID *char_uuid);
/hal_espressif-3.4.0/components/bt/host/bluedroid/api/include/api/
Desp_gatts_api.h157 esp_bt_uuid_t char_uuid; /*!< Characteristic uuid */ member
399 esp_err_t esp_ble_gatts_add_char(uint16_t service_handle, esp_bt_uuid_t *char_uuid,
Desp_gattc_api.h472 esp_bt_uuid_t char_uuid,
499 esp_bt_uuid_t char_uuid,
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_cache.c50 tBT_UUID *char_uuid,
1014 p_data->value.dclr_value.char_uuid, in bta_gattc_disc_res_cback()
1308 tBT_UUID *char_uuid, in bta_gattc_get_db_with_opration() argument
1412 (char_uuid == NULL || bta_gattc_uuid_compare(&p_char->uuid, char_uuid, TRUE))) { in bta_gattc_get_db_with_opration()
1436 !bta_gattc_uuid_compare(&p_char->uuid, char_uuid, TRUE)) { in bta_gattc_get_db_with_opration()
1479 tBT_UUID *char_uuid, in bta_gattc_get_db_size_with_type() argument
1537 if (char_uuid != NULL) { in bta_gattc_get_db_size_with_type()
1550 …if ((type == BTGATT_DB_CHARACTERISTIC) && bta_gattc_uuid_compare(&p_char->uuid, char_uuid, TRUE)) { in bta_gattc_get_db_size_with_type()
1555 …tors && (type == BTGATT_DB_DESCRIPTOR) && bta_gattc_uuid_compare(&p_char->uuid, char_uuid, TRUE)) { in bta_gattc_get_db_size_with_type()
Dbta_gattc_api.c377 …BTA_GATTC_GetCharByUUID(UINT16 conn_id, UINT16 start_handle, UINT16 end_handle, tBT_UUID char_uuid, in BTA_GATTC_GetCharByUUID() argument
384 &char_uuid, in BTA_GATTC_GetCharByUUID()
393 tBT_UUID char_uuid, tBT_UUID descr_uuid, in BTA_GATTC_GetDescrByUUID() argument
400 &char_uuid, in BTA_GATTC_GetDescrByUUID()
Dbta_gatts_act.c421 &p_msg->api_add_char.char_uuid, in bta_gatts_add_char()
428 memcpy(&cb_data.add_result.char_uuid, &p_msg->api_add_char.char_uuid, sizeof(tBT_UUID)); in bta_gatts_add_char()
478 memcpy(&cb_data.add_result.char_uuid, &p_msg->api_add_char_descr.descr_uuid, sizeof(tBT_UUID)); in bta_gatts_add_char_descr()
/hal_espressif-3.4.0/examples/system/ota/advanced_https_ota/main/ble_helper/
Dbluedroid_gatts.c247 gl_profile_tab[PROFILE_A_APP_ID].char_uuid.len = ESP_UUID_LEN_16; in gatts_profile_a_event_handler()
248 gl_profile_tab[PROFILE_A_APP_ID].char_uuid.uuid.uuid16 = GATTS_CHAR_UUID_TEST_A; in gatts_profile_a_event_handler()
252 …_char(gl_profile_tab[PROFILE_A_APP_ID].service_handle, &gl_profile_tab[PROFILE_A_APP_ID].char_uuid, in gatts_profile_a_event_handler()
/hal_espressif-3.4.0/components/bt/host/bluedroid/api/
Desp_gatts_api.c126 esp_err_t esp_ble_gatts_add_char(uint16_t service_handle, esp_bt_uuid_t *char_uuid, in esp_ble_gatts_add_char() argument
158 memcpy(&arg.add_char.char_uuid, char_uuid, sizeof(esp_bt_uuid_t)); in esp_ble_gatts_add_char()
Desp_gattc_api.c220 esp_bt_uuid_t char_uuid, in esp_ble_gattc_get_char_by_uuid() argument
236 …return btc_ble_gattc_get_char_by_uuid(conn_hdl, start_handle, end_handle, char_uuid, result, count… in esp_ble_gattc_get_char_by_uuid()
244 esp_bt_uuid_t char_uuid, in esp_ble_gattc_get_descr_by_uuid() argument
256 …return btc_ble_gattc_get_descr_by_uuid(conn_hdl, start_handle, end_handle, char_uuid, descr_uuid, … in esp_ble_gattc_get_descr_by_uuid()
/hal_espressif-3.4.0/tools/ble/
Dlib_ble_client.py429 def get_char_if_exists(self, char_uuid): argument
437 if char_uuid.lower() in curr_uuid.lower():
439 print('char {} not found'.format(char_uuid))
442 raise Exception('Failed to get char based on uuid {} - {}'.format(char_uuid, err))
/hal_espressif-3.4.0/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/main/
Dexample_ble_server_throughput.c177 esp_bt_uuid_t char_uuid; member
478 gl_profile_tab[PROFILE_A_APP_ID].char_uuid.len = ESP_UUID_LEN_16; in gatts_profile_a_event_handler()
479 gl_profile_tab[PROFILE_A_APP_ID].char_uuid.uuid.uuid16 = GATTS_CHAR_UUID_TEST_A; in gatts_profile_a_event_handler()
483 …_char(gl_profile_tab[PROFILE_A_APP_ID].service_handle, &gl_profile_tab[PROFILE_A_APP_ID].char_uuid, in gatts_profile_a_event_handler()
/hal_espressif-3.4.0/examples/system/ota/advanced_https_ota/main/ble_helper/include/
Dbluedroid_gatts.h59 esp_bt_uuid_t char_uuid; member
/hal_espressif-3.4.0/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/
Dmesh_bearer_adapt.c1381 tBT_UUID char_uuid = {0}; in bt_mesh_bta_gattc_cb() local
1401 char_uuid.len = 2; in bt_mesh_bta_gattc_cb()
1403 char_uuid.uu.uuid16 = BLE_MESH_UUID_MESH_PROV_DATA_IN_VAL + j; in bt_mesh_bta_gattc_cb()
1405 char_uuid.uu.uuid16 = BLE_MESH_UUID_MESH_PROXY_DATA_IN_VAL + j; in bt_mesh_bta_gattc_cb()
1409 bt_mesh_gattc_info[i].end_handle, char_uuid, &result, &num); in bt_mesh_bta_gattc_cb()
1462 char_uuid.len = 2; in bt_mesh_bta_gattc_cb()
1463 char_uuid.uu.uuid16 = BLE_MESH_UUID_GATT_CCC_VAL; in bt_mesh_bta_gattc_cb()
1465 char_uuid, &result, &num); in bt_mesh_bta_gattc_cb()
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/include/bta/
Dbta_gatt_api.h600 tBT_UUID char_uuid; member
896 …BTA_GATTC_GetCharByUUID(UINT16 conn_id, UINT16 start_handle, UINT16 end_handle, tBT_UUID char_uuid,
900 tBT_UUID char_uuid, tBT_UUID descr_uuid,
/hal_espressif-3.4.0/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gattc.c406 esp_bt_uuid_t char_uuid, in btc_ble_gattc_get_char_by_uuid() argument
414 btc_to_bta_uuid(&bta_uuid, &char_uuid); in btc_ble_gattc_get_char_by_uuid()
438 esp_bt_uuid_t char_uuid, in btc_ble_gattc_get_descr_by_uuid() argument
448 btc_to_bta_uuid(&bta_char_uuid, &char_uuid); in btc_ble_gattc_get_descr_by_uuid()
Dbtc_gatts.c653 btc_to_bta_uuid(&uuid, &arg->add_char.char_uuid); in btc_gatts_call_handler()
858 bta_to_btc_uuid(&param.add_char.char_uuid, &p_data->add_result.char_uuid); in btc_gatts_cb_handler()
867 bta_to_btc_uuid(&param.add_char_descr.descr_uuid, &p_data->add_result.char_uuid); in btc_gatts_cb_handler()

12