Home
last modified time | relevance | path

Searched refs:ESP_GATT_OK (Results 1 – 25 of 33) sorted by relevance

12

/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gattc_multi_connect/main/
Dgattc_multi_connect.c155 if (p_data->open.status != ESP_GATT_OK){ in gattc_profile_a_event_handler()
173 if (param->cfg_mtu.status != ESP_GATT_OK){ in gattc_profile_a_event_handler()
191 if (p_data->search_cmpl.status != ESP_GATT_OK){ in gattc_profile_a_event_handler()
204 if (status != ESP_GATT_OK){ in gattc_profile_a_event_handler()
219 if (status != ESP_GATT_OK){ in gattc_profile_a_event_handler()
237 if (p_data->reg_for_notify.status != ESP_GATT_OK){ in gattc_profile_a_event_handler()
250 if (ret_status != ESP_GATT_OK){ in gattc_profile_a_event_handler()
264 if (ret_status != ESP_GATT_OK){ in gattc_profile_a_event_handler()
279 if (ret_status != ESP_GATT_OK){ in gattc_profile_a_event_handler()
297 if (p_data->write.status != ESP_GATT_OK){ in gattc_profile_a_event_handler()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_client/main/
Dgattc_demo.c123 if (param->open.status != ESP_GATT_OK){ in gattc_profile_event_handler()
130 if (param->dis_srvc_cmpl.status != ESP_GATT_OK){ in gattc_profile_event_handler()
138 if (param->cfg_mtu.status != ESP_GATT_OK){ in gattc_profile_event_handler()
156 if (p_data->search_cmpl.status != ESP_GATT_OK){ in gattc_profile_event_handler()
177 if (status != ESP_GATT_OK){ in gattc_profile_event_handler()
193 if (status != ESP_GATT_OK){ in gattc_profile_event_handler()
212 if (p_data->reg_for_notify.status != ESP_GATT_OK){ in gattc_profile_event_handler()
224 if (ret_status != ESP_GATT_OK){ in gattc_profile_event_handler()
238 if (ret_status != ESP_GATT_OK){ in gattc_profile_event_handler()
252 if (ret_status != ESP_GATT_OK){ in gattc_profile_event_handler()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/main/
Dexample_ble_client_throughput.c167 if (param->open.status != ESP_GATT_OK){ in gattc_profile_event_handler()
174 if (param->cfg_mtu.status != ESP_GATT_OK){ in gattc_profile_event_handler()
193 if (p_data->search_cmpl.status != ESP_GATT_OK){ in gattc_profile_event_handler()
207 if (status != ESP_GATT_OK){ in gattc_profile_event_handler()
223 if (status != ESP_GATT_OK){ in gattc_profile_event_handler()
242 if (p_data->reg_for_notify.status != ESP_GATT_OK){ in gattc_profile_event_handler()
254 if (ret_status != ESP_GATT_OK){ in gattc_profile_event_handler()
268 if (ret_status != ESP_GATT_OK){ in gattc_profile_event_handler()
283 if (ret_status != ESP_GATT_OK){ in gattc_profile_event_handler()
319 if (p_data->write.status != ESP_GATT_OK){ in gattc_profile_event_handler()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/main/
Dgattc_gatts_coex.c331 if (param->open.status != ESP_GATT_OK) { in gattc_profile_event_handler()
338 if (param->dis_srvc_cmpl.status != ESP_GATT_OK) { in gattc_profile_event_handler()
346 if (param->cfg_mtu.status != ESP_GATT_OK) { in gattc_profile_event_handler()
364 if (p_data->search_cmpl.status != ESP_GATT_OK) { in gattc_profile_event_handler()
385 if (status != ESP_GATT_OK) { in gattc_profile_event_handler()
401 if (status != ESP_GATT_OK) { in gattc_profile_event_handler()
420 if (p_data->reg_for_notify.status != ESP_GATT_OK) { in gattc_profile_event_handler()
432 if (ret_status != ESP_GATT_OK) { in gattc_profile_event_handler()
446 if (ret_status != ESP_GATT_OK) { in gattc_profile_event_handler()
460 if (ret_status != ESP_GATT_OK) { in gattc_profile_event_handler()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/ble50_security_client/main/
Dble50_sec_gattc_demo.c211 if (param->open.status != ESP_GATT_OK){ in gattc_profile_event_handler()
226 if (param->cfg_mtu.status != ESP_GATT_OK){ in gattc_profile_event_handler()
232 if (param->dis_srvc_cmpl.status != ESP_GATT_OK){ in gattc_profile_event_handler()
251 if (p_data->search_cmpl.status != ESP_GATT_OK){ in gattc_profile_event_handler()
272 if (ret_status != ESP_GATT_OK){ in gattc_profile_event_handler()
287 if (ret_status != ESP_GATT_OK){ in gattc_profile_event_handler()
311 if (p_data->reg_for_notify.status != ESP_GATT_OK){ in gattc_profile_event_handler()
326 if (ret_status != ESP_GATT_OK){ in gattc_profile_event_handler()
340 if (ret_status != ESP_GATT_OK){ in gattc_profile_event_handler()
370 if (p_data->write.status != ESP_GATT_OK){ in gattc_profile_event_handler()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_security_client/main/
Dexample_ble_sec_gattc_demo.c175 if (param->open.status != ESP_GATT_OK){ in gattc_profile_event_handler()
190 if (param->cfg_mtu.status != ESP_GATT_OK){ in gattc_profile_event_handler()
208 if (p_data->search_cmpl.status != ESP_GATT_OK){ in gattc_profile_event_handler()
229 if (ret_status != ESP_GATT_OK){ in gattc_profile_event_handler()
244 if (ret_status != ESP_GATT_OK){ in gattc_profile_event_handler()
268 if (p_data->reg_for_notify.status != ESP_GATT_OK){ in gattc_profile_event_handler()
283 if (ret_status != ESP_GATT_OK){ in gattc_profile_event_handler()
297 if (ret_status != ESP_GATT_OK){ in gattc_profile_event_handler()
327 if (p_data->write.status != ESP_GATT_OK){ in gattc_profile_event_handler()
341 if (p_data->write.status != ESP_GATT_OK){ in gattc_profile_event_handler()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_ancs/main/
Dble_ancs_demo.c341 if (param->open.status != ESP_GATT_OK) { in gattc_profile_event_handler()
354 if (param->cfg_mtu.status != ESP_GATT_OK) { in gattc_profile_event_handler()
371 if (param->search_cmpl.status != ESP_GATT_OK) { in gattc_profile_event_handler()
386 if (ret_status != ESP_GATT_OK) { in gattc_profile_event_handler()
402 if (ret_status != ESP_GATT_OK) { in gattc_profile_event_handler()
443 if (param->reg_for_notify.status != ESP_GATT_OK) { in gattc_profile_event_handler()
458 if (ret_status != ESP_GATT_OK) { in gattc_profile_event_handler()
472 if (ret_status != ESP_GATT_OK) { in gattc_profile_event_handler()
525 if (param->write.status != ESP_GATT_OK) { in gattc_profile_event_handler()
537 if (param->write.status != ESP_GATT_OK) { in gattc_profile_event_handler()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gattc.c234 return ESP_GATT_OK; in btc_gattc_check_valid_param()
322 if ((status = btc_gattc_check_valid_param((int)svc_num, offset)) != ESP_GATT_OK) { in btc_ble_gattc_get_service()
343 return ESP_GATT_OK; in btc_ble_gattc_get_service()
357 if ((status = btc_gattc_check_valid_param((int)char_num, offset)) != ESP_GATT_OK) { in btc_ble_gattc_get_all_char()
372 return ESP_GATT_OK; in btc_ble_gattc_get_all_char()
385 if ((status = btc_gattc_check_valid_param((int)descr_num, offset)) != ESP_GATT_OK) { in btc_ble_gattc_get_all_descr()
400 return ESP_GATT_OK; in btc_ble_gattc_get_all_descr()
417 if ((status = btc_gattc_check_valid_param((int)char_num, 0)) != ESP_GATT_OK) { in btc_ble_gattc_get_char_by_uuid()
432 return ESP_GATT_OK; in btc_ble_gattc_get_char_by_uuid()
454 if ((status = btc_gattc_check_valid_param((int)descr_num, 0)) != ESP_GATT_OK) { in btc_ble_gattc_get_descr_by_uuid()
[all …]
Dbtc_gatts.c226 param.add_attr_tab.status = ESP_GATT_OK; in btc_gatts_act_create_attr_tab()
229 if (param.add_attr_tab.status != ESP_GATT_OK) { in btc_gatts_act_create_attr_tab()
237 …add_attr_tab.status = btc_gatts_check_valid_attr_tab(gatts_attr_db, max_nb_attr)) != ESP_GATT_OK) { in btc_gatts_act_create_attr_tab()
492 return ESP_GATT_OK; in btc_gatts_check_valid_attr_tab()
827 if (p_data->req_data.status != ESP_GATT_OK && p_data->req_data.value){ in btc_gatts_cb_handler()
/hal_espressif-3.6.0/components/esp_hid/src/
Dble_hidh.c61 static esp_gatt_status_t s_read_status = ESP_GATT_OK;
72 if (s_read_status == ESP_GATT_OK) { in read_char()
88 if (s_read_status == ESP_GATT_OK) { in read_descr()
137 …_if, dev->ble.conn_id, chandle, ESP_GATT_AUTH_REQ_NO_MITM, &rdata, &rlen) == ESP_GATT_OK && rlen) { in read_device_services()
152 …dev->ble.conn_id, chandle, ESP_GATT_AUTH_REQ_NO_MITM, &rdata, &rlen) == ESP_GATT_OK && rlen == 7) { in read_device_services()
159 …_if, dev->ble.conn_id, chandle, ESP_GATT_AUTH_REQ_NO_MITM, &rdata, &rlen) == ESP_GATT_OK && rlen) { in read_device_services()
163 …_if, dev->ble.conn_id, chandle, ESP_GATT_AUTH_REQ_NO_MITM, &rdata, &rlen) == ESP_GATT_OK && rlen) { in read_device_services()
172 …_if, dev->ble.conn_id, chandle, ESP_GATT_AUTH_REQ_NO_MITM, &rdata, &rlen) == ESP_GATT_OK && rlen) { in read_device_services()
231 …_if, dev->ble.conn_id, dhandle, ESP_GATT_AUTH_REQ_NO_MITM, &rdata, &rlen) == ESP_GATT_OK && rlen) { in read_device_services()
341 if (param->reg.status == ESP_GATT_OK) { in esp_hidh_gattc_event_handler()
[all …]
/hal_espressif-3.6.0/examples/system/ota/advanced_https_ota/main/ble_helper/
Dbluedroid_gatts.c107 esp_gatt_status_t status = ESP_GATT_OK; in example_write_event_env()
136 if (status != ESP_GATT_OK) { in example_write_event_env()
190 ESP_GATT_OK, &rsp); in gatts_profile_a_event_handler()
236 …_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.trans_id, ESP_GATT_OK, NULL); in gatts_profile_a_event_handler()
323 if (param->conf.status != ESP_GATT_OK) { in gatts_profile_a_event_handler()
386 if (param->reg.status == ESP_GATT_OK) { in gatts_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/main/
Dmain.c196 esp_gatt_status_t status = ESP_GATT_OK; in example_write_event_env()
225 if (status != ESP_GATT_OK){ in example_write_event_env()
276 ESP_GATT_OK, &rsp); in gatts_profile_a_event_handler()
325 …_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.trans_id, ESP_GATT_OK, NULL); in gatts_profile_a_event_handler()
388 if (param->conf.status != ESP_GATT_OK){ in gatts_profile_a_event_handler()
424 ESP_GATT_OK, &rsp); in gatts_profile_b_event_handler()
472 …_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.trans_id, ESP_GATT_OK, NULL); in gatts_profile_b_event_handler()
531 if (param->conf.status != ESP_GATT_OK){ in gatts_profile_b_event_handler()
550 if (param->reg.status == ESP_GATT_OK) { in gatts_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_server/main/
Dgatts_demo.c243 esp_gatt_status_t status = ESP_GATT_OK; in example_write_event_env()
272 if (status != ESP_GATT_OK){ in example_write_event_env()
351 ESP_GATT_OK, &rsp); in gatts_profile_a_event_handler()
400 …_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.trans_id, ESP_GATT_OK, NULL); in gatts_profile_a_event_handler()
487 if (param->conf.status != ESP_GATT_OK){ in gatts_profile_a_event_handler()
523 ESP_GATT_OK, &rsp); in gatts_profile_b_event_handler()
571 …_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.trans_id, ESP_GATT_OK, NULL); in gatts_profile_b_event_handler()
630 if (param->conf.status != ESP_GATT_OK){ in gatts_profile_b_event_handler()
649 if (param->reg.status == ESP_GATT_OK) { in gatts_event_handler()
/hal_espressif-3.6.0/components/protocomm/src/transports/
Dprotocomm_ble.c124 if (status == ESP_GATT_OK) { in transport_simple_ble_read()
150 esp_gatt_status_t status = ESP_GATT_OK; in prepare_write_event_env()
170 if (status == ESP_GATT_OK) { in prepare_write_event_env()
183 if (status == ESP_GATT_OK) { in prepare_write_event_env()
202 if (status != ESP_GATT_OK) { in prepare_write_event_env()
244 param->write.trans_id, ESP_GATT_OK, NULL); in transport_simple_ble_write()
290 …_send_response(gatts_if, param->exec_write.conn_id, param->exec_write.trans_id, ESP_GATT_OK, NULL); in transport_simple_ble_exec_write()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_server_service_table/main/
Dgatts_table_creat_demo.c285 esp_gatt_status_t status = ESP_GATT_OK; in example_prepare_write_event_env()
318 if (status != ESP_GATT_OK){ in example_prepare_write_event_env()
421 …_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.trans_id, ESP_GATT_OK, NULL); in gatts_profile_event_handler()
460 if (param->add_attr_tab.status != ESP_GATT_OK){ in gatts_profile_event_handler()
493 if (param->reg.status == ESP_GATT_OK) { in gatts_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_spp_client/main/
Dspp_client_demo.c288 if (param->reg.status == ESP_GATT_OK) { in esp_gattc_cb()
345 if(p_data->reg_for_notify.status != ESP_GATT_OK){ in gattc_profile_event_handler()
370 if(param->write.status != ESP_GATT_OK){ in gattc_profile_event_handler()
381 if(p_data->write.status != ESP_GATT_OK){ in gattc_profile_event_handler()
417 …b(spp_gattc_if, spp_conn_id, spp_srv_start_handle, spp_srv_end_handle, db, &count) != ESP_GATT_OK){ in gattc_profile_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_compatibility_test/main/
Dble_compatibility_test.c389 esp_gatt_status_t status = ESP_GATT_OK; in example_prepare_write_event_env()
422 if (status != ESP_GATT_OK){ in example_prepare_write_event_env()
540 …_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.trans_id, ESP_GATT_OK, NULL); in gatts_profile_event_handler()
571 if (param->add_attr_tab.status != ESP_GATT_OK){ in gatts_profile_event_handler()
596 if (param->reg.status == ESP_GATT_OK) { in gatts_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/main/
Dexample_ble_server_throughput.c281 esp_gatt_status_t status = ESP_GATT_OK; in example_write_event_env()
312 if (status != ESP_GATT_OK) { in example_write_event_env()
391 ESP_GATT_OK, &rsp); in gatts_profile_a_event_handler()
467 …_ble_gatts_send_response(gatts_if, param->write.conn_id, param->write.trans_id, ESP_GATT_OK, NULL); in gatts_profile_a_event_handler()
587 if (param->reg.status == ESP_GATT_OK) { in gatts_event_handler()
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/include/api/
Desp_gatt_defs.h180ESP_GATT_OK = 0x0, /* relate to BTA_GATT_OK in bta/bta_ga… enumerator
212 …ESP_GATT_ENCRYPED_MITM = ESP_GATT_OK, /* relate to BTA_GATT_ENCRYPED_MITM in bta/bta…
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gattc_multi_connect/tutorial/
DGatt_Client_Multi_Connection_Example_Walkthrough.md140 if (p_data->open.status != ESP_GATT_OK){
174 if (param->cfg_mtu.status != ESP_GATT_OK){
187 if (p_data->search_cmpl.status != ESP_GATT_OK){
204 if (p_data->get_char.status != ESP_GATT_OK) {
243 if (p_data->reg_for_notify.status != ESP_GATT_OK){
288 if (p_data->write.status != ESP_GATT_OK){
304 if (p_data->write.status != ESP_GATT_OK){
/hal_espressif-3.6.0/components/protocomm/src/simple_ble/
Dsimple_ble.c71 if (param->reg.status == ESP_GATT_OK) { in gatts_profile_event_handler()
151 if (param->add_attr_tab.status != ESP_GATT_OK) { in gatts_profile_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_client/tutorial/
DGatt_Client_Example_Walkthrough.md223 if (param->reg.status == ESP_GATT_OK) {
414 //p_data->connect.status always be ESP_GATT_OK
454 if (param->open.status != ESP_GATT_OK){
465 if (param->cfg_mtu.status != ESP_GATT_OK){
569 if (p_data->search_cmpl.status != ESP_GATT_OK){
580 if (status != ESP_GATT_OK){
597 if (status != ESP_GATT_OK){
642 if (p_data->reg_for_notify.status != ESP_GATT_OK){
652 if (ret_status != ESP_GATT_OK){
667 if (ret_status != ESP_GATT_OK){
[all …]
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/main/
Dhid_device_le_prf.c612 param->add_attr_tab.status == ESP_GATT_OK) { in esp_hidd_prf_cb_hdl()
620 param->add_attr_tab.status == ESP_GATT_OK) { in esp_hidd_prf_cb_hdl()
695 if (param->reg.status == ESP_GATT_OK) { in gatts_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_security_server/main/
Dexample_ble_sec_gatts_demo.c451 if (param->create.status == ESP_GATT_OK){ in gatts_profile_event_handler()
477 if (param->reg.status == ESP_GATT_OK) { in gatts_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/ble50_security_server/main/
Dble50_sec_gatts_demo.c405 if (param->create.status == ESP_GATT_OK){ in gatts_profile_event_handler()
431 if (param->reg.status == ESP_GATT_OK) { in gatts_event_handler()

12