/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/gatt/ |
D | btc_gatts.c | 34 static inline void btc_gatts_cb_to_app(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_… in btc_gatts_cb_to_app() argument 38 btc_gatts_cb(event, gatts_if, param); in btc_gatts_cb_to_app() 219 esp_gatt_if_t gatts_if, in btc_gatts_act_create_attr_tab() argument 230 btc_gatts_cb_to_app(ESP_GATTS_CREAT_ATTR_TAB_EVT, gatts_if, ¶m); in btc_gatts_act_create_attr_tab() 239 btc_gatts_cb_to_app(ESP_GATTS_CREAT_ATTR_TAB_EVT, gatts_if, ¶m); in btc_gatts_act_create_attr_tab() 273 BTA_GATTS_CreateService(gatts_if, &srvc_id.id.uuid, in btc_gatts_act_create_attr_tab() 279 btc_gatts_cb_to_app(ESP_GATTS_CREAT_ATTR_TAB_EVT, gatts_if, ¶m); in btc_gatts_act_create_attr_tab() 300 BTA_GATTS_CreateService(gatts_if, &srvc_id.id.uuid, in btc_gatts_act_create_attr_tab() 306 btc_gatts_cb_to_app(ESP_GATTS_CREAT_ATTR_TAB_EVT, gatts_if, ¶m); in btc_gatts_act_create_attr_tab() 420 btc_gatts_cb_to_app(ESP_GATTS_CREAT_ATTR_TAB_EVT, gatts_if, ¶m); in btc_gatts_act_create_attr_tab() [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/ |
D | esp_gatts_api.c | 53 esp_err_t esp_ble_gatts_app_unregister(esp_gatt_if_t gatts_if) in esp_ble_gatts_app_unregister() argument 63 arg.app_unreg.gatts_if = gatts_if; in esp_ble_gatts_app_unregister() 68 esp_err_t esp_ble_gatts_create_service(esp_gatt_if_t gatts_if, in esp_ble_gatts_create_service() argument 79 arg.create_srvc.gatts_if = gatts_if; in esp_ble_gatts_create_service() 87 esp_gatt_if_t gatts_if, in esp_ble_gatts_create_attr_tab() argument 99 arg.create_attr_tab.gatts_if = gatts_if; in esp_ble_gatts_create_attr_tab() 248 esp_err_t esp_ble_gatts_send_indicate(esp_gatt_if_t gatts_if, uint16_t conn_id, uint16_t attr_handl… in esp_ble_gatts_send_indicate() argument 270 arg.send_ind.conn_id = BTC_GATT_CREATE_CONN_ID(gatts_if, conn_id); in esp_ble_gatts_send_indicate() 282 esp_err_t esp_ble_gatts_send_response(esp_gatt_if_t gatts_if, uint16_t conn_id, uint32_t trans_id, in esp_ble_gatts_send_response() argument 293 arg.send_rsp.conn_id = BTC_GATT_CREATE_CONN_ID(gatts_if, conn_id); in esp_ble_gatts_send_response() [all …]
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/main/ |
D | main.c | 76 static void gatts_profile_a_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_b… 77 static void gatts_profile_b_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_b… 78 void example_write_event_env(esp_gatt_if_t gatts_if, prepare_type_env_t *prepare_write_env, esp_ble… 106 uint16_t gatts_if; member 123 … .gatts_if = ESP_GATT_IF_NONE, /* Not get the gatt_if, so initial is ESP_GATT_IF_NONE */ 127 … .gatts_if = ESP_GATT_IF_NONE, /* Not get the gatt_if, so initial is ESP_GATT_IF_NONE */ 195 void example_write_event_env(esp_gatt_if_t gatts_if, prepare_type_env_t *prepare_write_env, esp_ble… in example_write_event_env() argument 220 …esp_err_t response_err = esp_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.… in example_write_event_env() 234 … esp_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.trans_id, status, NULL); in example_write_event_env() 252 static void gatts_profile_a_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_b… in gatts_profile_a_event_handler() argument [all …]
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_server/main/ |
D | gatts_demo.c | 41 static void gatts_profile_a_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_b… 42 static void gatts_profile_b_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_b… 149 uint16_t gatts_if; member 166 … .gatts_if = ESP_GATT_IF_NONE, /* Not get the gatt_if, so initial is ESP_GATT_IF_NONE */ 170 … .gatts_if = ESP_GATT_IF_NONE, /* Not get the gatt_if, so initial is ESP_GATT_IF_NONE */ 182 void example_write_event_env(esp_gatt_if_t gatts_if, prepare_type_env_t *prepare_write_env, esp_ble… 242 void example_write_event_env(esp_gatt_if_t gatts_if, prepare_type_env_t *prepare_write_env, esp_ble… in example_write_event_env() argument 267 …esp_err_t response_err = esp_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.… in example_write_event_env() 281 … esp_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.trans_id, status, NULL); in example_write_event_env() 299 static void gatts_profile_a_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_b… in gatts_profile_a_event_handler() argument [all …]
|
/hal_espressif-3.6.0/examples/system/ota/advanced_https_ota/main/ble_helper/ |
D | bluedroid_gatts.c | 87 … .gatts_if = ESP_GATT_IF_NONE, /* Not get the gatt_if, so initial is ESP_GATT_IF_NONE */ 105 void example_write_event_env(esp_gatt_if_t gatts_if, prepare_type_env_t *prepare_write_env, esp_ble… in example_write_event_env() argument 131 …esp_err_t response_err = esp_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.… in example_write_event_env() 145 … esp_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.trans_id, status, NULL); in example_write_event_env() 150 void gatts_profile_a_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatt… in gatts_profile_a_event_handler() argument 177 …esp_ble_gatts_create_service(gatts_if, &gl_profile_tab[PROFILE_A_APP_ID].service_id, GATTS_NUM_HAN… in gatts_profile_a_event_handler() 189 esp_ble_gatts_send_response(gatts_if, param->read.conn_id, param->read.trans_id, in gatts_profile_a_event_handler() 208 …esp_ble_gatts_send_indicate(gatts_if, param->write.conn_id, gl_profile_tab[PROFILE_A_APP_ID].char_… in gatts_profile_a_event_handler() 219 …esp_ble_gatts_send_indicate(gatts_if, param->write.conn_id, gl_profile_tab[PROFILE_A_APP_ID].char_… in gatts_profile_a_event_handler() 231 example_write_event_env(gatts_if, &a_prepare_write_env, param); in gatts_profile_a_event_handler() [all …]
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/main/ |
D | example_ble_server_throughput.c | 66 static void gatts_profile_a_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_b… 171 uint16_t gatts_if; member 188 … .gatts_if = ESP_GATT_IF_NONE, /* Not get the gatt_if, so initial is ESP_GATT_IF_NONE */ 199 void example_write_event_env(esp_gatt_if_t gatts_if, prepare_type_env_t *prepare_write_env, esp_ble… 280 void example_write_event_env(esp_gatt_if_t gatts_if, prepare_type_env_t *prepare_write_env, esp_ble… in example_write_event_env() argument 306 …esp_err_t response_err = esp_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.… in example_write_event_env() 321 … esp_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.trans_id, status, NULL); in example_write_event_env() 339 static void gatts_profile_a_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_b… in gatts_profile_a_event_handler() argument 347 gl_profile_tab[PROFILE_A_APP_ID].gatts_if = gatts_if; in gatts_profile_a_event_handler() 378 …esp_ble_gatts_create_service(gatts_if, &gl_profile_tab[PROFILE_A_APP_ID].service_id, GATTS_NUM_HAN… in gatts_profile_a_event_handler() [all …]
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_server_service_table/main/ |
D | gatts_table_creat_demo.c | 137 uint16_t gatts_if; member 151 esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param); 157 … .gatts_if = ESP_GATT_IF_NONE, /* Not get the gatt_if, so initial is ESP_GATT_IF_NONE */ 282 void example_prepare_write_event_env(esp_gatt_if_t gatts_if, prepare_type_env_t *prepare_write_env,… in example_prepare_write_event_env() argument 309 …esp_err_t response_err = esp_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.… in example_prepare_write_event_env() 341 static void gatts_profile_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble… in gatts_profile_event_handler() argument 374 …esp_err_t create_attr_ret = esp_ble_gatts_create_attr_tab(gatt_db, gatts_if, HRS_IDX_NB, SVC_INST_… in gatts_profile_event_handler() 398 …esp_ble_gatts_send_indicate(gatts_if, param->write.conn_id, heart_rate_handle_table[IDX_CHAR_VAL_A… in gatts_profile_event_handler() 408 …esp_ble_gatts_send_indicate(gatts_if, param->write.conn_id, heart_rate_handle_table[IDX_CHAR_VAL_A… in gatts_profile_event_handler() 421 …esp_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.trans_id, ESP_GATT_OK, NU… in gatts_profile_event_handler() [all …]
|
/hal_espressif-3.6.0/components/protocomm/src/simple_ble/ |
D | simple_ble.c | 67 static esp_gatt_if_t gatts_if = ESP_GATT_IF_NONE; in gatts_profile_event_handler() local 72 gatts_if = p_gatts_if; in gatts_profile_event_handler() 81 if (gatts_if != ESP_GATT_IF_NONE && gatts_if != p_gatts_if) { in gatts_profile_event_handler() 87 …ret = esp_ble_gatts_create_attr_tab(g_ble_cfg_p->gatt_db, gatts_if, g_ble_cfg_p->gatt_db_count, se… in gatts_profile_event_handler() 113 g_ble_cfg_p->read_fn(event, gatts_if, param); in gatts_profile_event_handler() 116 g_ble_cfg_p->write_fn(event, gatts_if, param); in gatts_profile_event_handler() 119 g_ble_cfg_p->exec_write_fn(event, gatts_if, param); in gatts_profile_event_handler() 124 g_ble_cfg_p->set_mtu_fn(event, gatts_if, param); in gatts_profile_event_handler() 135 g_ble_cfg_p->connect_fn(event, gatts_if, param); in gatts_profile_event_handler() 147 g_ble_cfg_p->disconnect_fn(event, gatts_if, param); in gatts_profile_event_handler()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/include/api/ |
D | esp_gatts_api.h | 291 typedef void (* esp_gatts_cb_t)(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_c… 325 esp_err_t esp_ble_gatts_app_unregister(esp_gatt_if_t gatts_if); 344 esp_err_t esp_ble_gatts_create_service(esp_gatt_if_t gatts_if, 361 esp_gatt_if_t gatts_if, 487 esp_err_t esp_ble_gatts_send_indicate(esp_gatt_if_t gatts_if, uint16_t conn_id, uint16_t attr_handl… 505 esp_err_t esp_ble_gatts_send_response(esp_gatt_if_t gatts_if, uint16_t conn_id, uint32_t trans_id, 550 esp_err_t esp_ble_gatts_open(esp_gatt_if_t gatts_if, esp_bd_addr_t remote_bda, bool is_direct); 563 esp_err_t esp_ble_gatts_close(esp_gatt_if_t gatts_if, uint16_t conn_id); 579 esp_err_t esp_ble_gatts_send_service_change_indication(esp_gatt_if_t gatts_if, esp_bd_addr_t remote…
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/main/ |
D | gattc_gatts_coex.c | 68 uint16_t gatts_if; member 93 static void gatts_profile_a_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_b… 94 static void gatts_profile_b_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_b… 98 static void example_write_event_env(esp_gatt_if_t gatts_if, prepare_type_env_t *prepare_write_env, … 172 … .gatts_if = ESP_GATT_IF_NONE, /* Not get the gatt_if, so initial is ESP_GATT_IF_NONE */ 176 … .gatts_if = ESP_GATT_IF_NONE, /* Not get the gatt_if, so initial is ESP_GATT_IF_NONE */ 525 static void example_write_event_env(esp_gatt_if_t gatts_if, prepare_type_env_t *prepare_write_env, … in example_write_event_env() argument 550 …esp_err_t response_err = esp_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.… in example_write_event_env() 564 … esp_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.trans_id, status, NULL); in example_write_event_env() 582 static void gatts_profile_a_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_b… in gatts_profile_a_event_handler() argument [all …]
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_compatibility_test/main/ |
D | ble_compatibility_test.c | 145 uint16_t gatts_if; member 159 esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param); 165 … .gatts_if = ESP_GATT_IF_NONE, /* Not get the gatt_if, so initial is ESP_GATT_IF_NONE */ 386 void example_prepare_write_event_env(esp_gatt_if_t gatts_if, prepare_type_env_t *prepare_write_env,… in example_prepare_write_event_env() argument 413 …esp_err_t response_err = esp_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.… in example_prepare_write_event_env() 456 static void gatts_profile_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble… in gatts_profile_event_handler() argument 489 …esp_err_t create_attr_ret = esp_ble_gatts_create_attr_tab(gatt_db, gatts_if, HRS_IDX_NB, SVC_INST_… in gatts_profile_event_handler() 515 … esp_ble_gatts_send_indicate(gatts_if, param->write.conn_id, gatt_db_handle_table[IDX_CHAR_VAL_C], in gatts_profile_event_handler() 520 … esp_ble_gatts_send_indicate(gatts_if, param->write.conn_id, gatt_db_handle_table[IDX_CHAR_VAL_C], in gatts_profile_event_handler() 540 …esp_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.trans_id, ESP_GATT_OK, NU… in gatts_profile_event_handler() [all …]
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/main/ |
D | hid_device_le_prf.c | 208 uint16_t gatts_if; member 544 void esp_hidd_prf_cb_hdl(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, in esp_hidd_prf_cb_hdl() argument 553 hidd_le_env.gatt_if = gatts_if; in esp_hidd_prf_cb_hdl() 560 hidd_param.init_finish.gatts_if = gatts_if; in esp_hidd_prf_cb_hdl() 617 esp_ble_gatts_create_attr_tab(hidd_le_gatt_db, gatts_if, HIDD_LE_IDX_NB, 0); in esp_hidd_prf_cb_hdl() 637 void hidd_le_create_service(esp_gatt_if_t gatts_if) in hidd_le_create_service() argument 641 esp_ble_gatts_create_attr_tab(bas_att_db, gatts_if, BAS_IDX_NB, 0); in hidd_le_create_service() 685 … .gatts_if = ESP_GATT_IF_NONE, /* Not get the gatt_if, so initial is ESP_GATT_IF_NONE */ 690 static void gatts_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, in gatts_event_handler() argument 696 heart_rate_profile_tab[PROFILE_APP_IDX].gatts_if = gatts_if; in gatts_event_handler() [all …]
|
D | hid_dev.c | 45 void hid_dev_send_report(esp_gatt_if_t gatts_if, uint16_t conn_id, in hid_dev_send_report() argument 54 esp_ble_gatts_send_indicate(gatts_if, conn_id, p_rpt->handle, length, data, false); in hid_dev_send_report()
|
D | esp_hidd_prf_api.h | 72 esp_gatt_if_t gatts_if; member
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_security_server/main/ |
D | example_ble_sec_gatts_demo.c | 82 uint16_t gatts_if; member 96 esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param); 102 … .gatts_if = ESP_GATT_IF_NONE, /* Not get the gatt_if, so initial is ESP_GATT_IF_NONE */ 398 esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param) in gatts_profile_event_handler() argument 406 esp_ble_gatts_create_attr_tab(heart_rate_gatt_db, gatts_if, in gatts_profile_event_handler() 472 static void gatts_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, in gatts_event_handler() argument 478 heart_rate_profile_tab[HEART_PROFILE_APP_IDX].gatts_if = gatts_if; in gatts_event_handler() 490 …if (gatts_if == ESP_GATT_IF_NONE || /* ESP_GATT_IF_NONE, not specify a certain gatt_if, need to ca… in gatts_event_handler() 491 gatts_if == heart_rate_profile_tab[idx].gatts_if) { in gatts_event_handler() 493 heart_rate_profile_tab[idx].gatts_cb(event, gatts_if, param); in gatts_event_handler()
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/ble50_security_server/main/ |
D | ble50_sec_gatts_demo.c | 64 uint16_t gatts_if; member 78 esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param); 84 … .gatts_if = ESP_GATT_IF_NONE, /* Not get the gatt_if, so initial is ESP_GATT_IF_NONE */ 353 esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param) in gatts_profile_event_handler() argument 360 esp_ble_gatts_create_attr_tab(gatt_db, gatts_if, HRS_IDX_NB, SVC_INST_ID); in gatts_profile_event_handler() 426 static void gatts_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, in gatts_event_handler() argument 432 heart_rate_profile_tab[HEART_PROFILE_APP_IDX].gatts_if = gatts_if; in gatts_event_handler() 444 …if (gatts_if == ESP_GATT_IF_NONE || /* ESP_GATT_IF_NONE, not specify a certain gatt_if, need to ca… in gatts_event_handler() 445 gatts_if == heart_rate_profile_tab[idx].gatts_if) { in gatts_event_handler() 447 heart_rate_profile_tab[idx].gatts_cb(event, gatts_if, param); in gatts_event_handler()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/include/ |
D | btc_gatts.h | 52 esp_gatt_if_t gatts_if; member 57 esp_gatt_if_t gatts_if; member 64 esp_gatt_if_t gatts_if; member 136 esp_gatt_if_t gatts_if; member 148 esp_gatt_if_t gatts_if; member
|
/hal_espressif-3.6.0/examples/system/ota/advanced_https_ota/main/ble_helper/include/ |
D | bluedroid_gatts.h | 53 uint16_t gatts_if; member 73 void gatts_profile_a_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatt… 75 void example_write_event_env(esp_gatt_if_t gatts_if, prepare_type_env_t *prepare_write_env, esp_ble… 78 void gatts_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param…
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_spp_server/main/ |
D | ble_spp_server_demo.c | 85 uint16_t gatts_if; member 119 static void gatts_profile_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble… 125 … .gatts_if = ESP_GATT_IF_NONE, /* Not get the gatt_if, so initial is ESP_GATT_IF_NONE */ 486 static void gatts_profile_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble… in gatts_profile_event_handler() argument 501 esp_ble_gatts_create_attr_tab(spp_gatt_db, gatts_if, SPP_IDX_NB, SPP_SVC_INST_ID); in gatts_profile_event_handler() 581 spp_gatts_if = gatts_if; in gatts_profile_event_handler() 628 static void gatts_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_c… in gatts_event_handler() argument 630 ESP_LOGI(GATTS_TABLE_TAG, "EVT %d, gatts if %d\n", event, gatts_if); in gatts_event_handler() 635 spp_profile_tab[SPP_PROFILE_APP_IDX].gatts_if = gatts_if; in gatts_event_handler() 645 …if (gatts_if == ESP_GATT_IF_NONE || /* ESP_GATT_IF_NONE, not specify a certain gatt_if, need to ca… in gatts_event_handler() [all …]
|
/hal_espressif-3.6.0/components/protocomm/src/transports/ |
D | protocomm_ble.c | 101 static void transport_simple_ble_read(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_g… in transport_simple_ble_read() argument 138 esp_err_t err = esp_ble_gatts_send_response(gatts_if, param->read.conn_id, in transport_simple_ble_read() 145 static esp_err_t prepare_write_event_env(esp_gatt_if_t gatts_if, in prepare_write_event_env() argument 192 response_err = esp_ble_gatts_send_response(gatts_if, in prepare_write_event_env() 195 response_err = esp_ble_gatts_send_response(gatts_if, in prepare_write_event_env() 213 static void transport_simple_ble_write(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_… in transport_simple_ble_write() argument 223 ret = prepare_write_event_env(gatts_if, param); in transport_simple_ble_write() 243 ret = esp_ble_gatts_send_response(gatts_if, param->write.conn_id, in transport_simple_ble_write() 252 esp_ble_gatts_close(gatts_if, param->write.conn_id); in transport_simple_ble_write() 259 static void transport_simple_ble_exec_write(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp… in transport_simple_ble_exec_write() argument [all …]
|
/hal_espressif-3.6.0/components/esp_hid/src/ |
D | ble_hidd.c | 381 …dler(esp_ble_hidd_dev_t *dev, esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_cb… in bat_event_handler() argument 426 …dler(esp_ble_hidd_dev_t *dev, esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_cb… in info_event_handler() argument 445 …dev_t *dev, int device_index, esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_cb… in hid_event_handler() argument 605 static int get_device_map_index_by_gatts_if (esp_ble_hidd_dev_t *dev, esp_gatt_if_t gatts_if) in get_device_map_index_by_gatts_if() argument 608 if (dev->devices[d].hid_svc.gatt_if && gatts_if == dev->devices[d].hid_svc.gatt_if) { in get_device_map_index_by_gatts_if() 751 void esp_hidd_gatts_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts… in esp_hidd_gatts_event_handler() argument 763 s_dev->info_svc.gatt_if = gatts_if; in esp_hidd_gatts_event_handler() 765 s_dev->bat_svc.gatt_if = gatts_if; in esp_hidd_gatts_event_handler() 767 … ESP_LOGV(TAG, "HID SVC[%u] IF: %d", param->reg.app_id - ESP_GATT_UUID_HID_SVC, gatts_if); in esp_hidd_gatts_event_handler() 768 … s_dev->devices[param->reg.app_id - ESP_GATT_UUID_HID_SVC].hid_svc.gatt_if = gatts_if; in esp_hidd_gatts_event_handler() [all …]
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_server_service_table/tutorial/ |
D | Gatt_Server_Service_Table_Example_Walkthrough.md | 143 …y the gatts_if parameter. For initialization, this parameter is set to ``ESP_GATT_IF_NONE``, later… 146 /* One gatt-based profile one app_id and one gatts_if, this array will store the gatts_if returned … 150 … .gatts_if = ESP_GATT_IF_NONE, /* Not get the gatt_if, so initial is ESP_GATT_IF_NONE */ 215 esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param) 321 static void gatts_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_c… 323 ESP_LOGI(GATTS_TABLE_TAG, "EVT %d, gatts if %d\n", event, gatts_if); 325 /* If event is register event, store the gatts_if for each profile */ 328 heart_rate_profile_tab[HEART_PROFILE_APP_IDX].gatts_if = gatts_if; 340 …if (gatts_if == ESP_GATT_IF_NONE || /* ESP_GATT_IF_NONE, not specify a certain gatt_if, need to ca… 341 gatts_if == heart_rate_profile_tab[idx].gatts_if) { [all …]
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_server/tutorial/ |
D | Gatt_Server_Example_Walkthrough.md | 173 uint16_t gatts_if; 186 …cations on the GATT client use different interfaces, represented by the gatts_if parameter. For in… 192 .gatts_if = ESP_GATT_IF_NONE, 195 .gatts_if = ESP_GATT_IF_NONE, 258 static void gatts_profile_a_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_b… 402 static void gatts_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_c… 404 /* If event is register event, store the gatts_if for each profile */ 407 gl_profile_tab[param->reg.app_id].gatts_if = gatts_if; 416 /* If the gatts_if equal to profile A, call profile A cb handler, 421 if (gatts_if == ESP_GATT_IF_NONE||gatts_if == gl_profile_tab[idx].gatts_if) { [all …]
|
/hal_espressif-3.6.0/components/esp_hid/include/ |
D | esp_hidd_gatts.h | 34 void esp_hidd_gatts_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts…
|
/hal_espressif-3.6.0/components/bt/common/btc/profile/esp/blufi/include/ |
D | esp_blufi.h | 51 esp_err_t esp_blufi_close(uint8_t gatts_if, uint16_t conn_id);
|