Home
last modified time | relevance | path

Searched refs:auth_cmpl (Results 1 – 25 of 27) sorted by relevance

12

/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/core/
Dbtc_dm.c408 param.auth_cmpl.stat = status; in btc_dm_auth_cmpl_evt()
409 memcpy(param.auth_cmpl.bda, p_auth_cmpl->bd_addr, ESP_BD_ADDR_LEN); in btc_dm_auth_cmpl_evt()
410 memcpy(param.auth_cmpl.device_name, p_auth_cmpl->bd_name, ESP_BT_GAP_MAX_BDNAME_LEN + 1); in btc_dm_auth_cmpl_evt()
678 btc_dm_auth_cmpl_evt(&p_data->auth_cmpl); in btc_dm_sec_cb_handler()
748 param.ble_security.auth_cmpl.addr_type = p_data->auth_cmpl.addr_type; in btc_dm_sec_cb_handler()
749 param.ble_security.auth_cmpl.dev_type = p_data->auth_cmpl.dev_type; in btc_dm_sec_cb_handler()
750 param.ble_security.auth_cmpl.key_type = p_data->auth_cmpl.key_type; in btc_dm_sec_cb_handler()
751 param.ble_security.auth_cmpl.fail_reason = p_data->auth_cmpl.fail_reason; in btc_dm_sec_cb_handler()
752 param.ble_security.auth_cmpl.success = p_data->auth_cmpl.success ? true : false; in btc_dm_sec_cb_handler()
753 param.ble_security.auth_cmpl.key_present = p_data->auth_cmpl.key_present; in btc_dm_sec_cb_handler()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/main/
Dble_hidd_demo_main.c147 memcpy(bd_addr, param->ble_security.auth_cmpl.bd_addr, sizeof(esp_bd_addr_t)); in gap_event_handler()
151 ESP_LOGI(HID_DEMO_TAG, "address type = %d", param->ble_security.auth_cmpl.addr_type); in gap_event_handler()
152 …ESP_LOGI(HID_DEMO_TAG, "pair status = %s",param->ble_security.auth_cmpl.success ? "success" : "fai… in gap_event_handler()
153 if(!param->ble_security.auth_cmpl.success) { in gap_event_handler()
154 ESP_LOGE(HID_DEMO_TAG, "fail reason = 0x%x",param->ble_security.auth_cmpl.fail_reason); in gap_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/
Dmain.c62 if (param->auth_cmpl.stat == ESP_BT_STATUS_SUCCESS) { in bt_app_gap_cb()
63 ESP_LOGI(BT_AV_TAG, "authentication success: %s", param->auth_cmpl.device_name); in bt_app_gap_cb()
64 esp_log_buffer_hex(BT_AV_TAG, param->auth_cmpl.bda, ESP_BD_ADDR_LEN); in bt_app_gap_cb()
66 ESP_LOGE(BT_AV_TAG, "authentication failed, status: %d", param->auth_cmpl.stat); in bt_app_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/hfp_hf/main/
Dmain.c94 if (param->auth_cmpl.stat == ESP_BT_STATUS_SUCCESS) { in esp_bt_gap_cb()
95 ESP_LOGI(BT_HF_TAG, "authentication success: %s", param->auth_cmpl.device_name); in esp_bt_gap_cb()
96 esp_log_buffer_hex(BT_HF_TAG, param->auth_cmpl.bda, ESP_BD_ADDR_LEN); in esp_bt_gap_cb()
98 ESP_LOGE(BT_HF_TAG, "authentication failed, status:%d", param->auth_cmpl.stat); in esp_bt_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/main/
Dmain.c159 if (param->auth_cmpl.stat == ESP_BT_STATUS_SUCCESS) { in esp_bt_gap_cb()
160 ESP_LOGI(SPP_TAG, "authentication success: %s", param->auth_cmpl.device_name); in esp_bt_gap_cb()
161 esp_log_buffer_hex(SPP_TAG, param->auth_cmpl.bda, ESP_BD_ADDR_LEN); in esp_bt_gap_cb()
163 ESP_LOGE(SPP_TAG, "authentication failed, status:%d", param->auth_cmpl.stat); in esp_bt_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_security_server/main/
Dexample_ble_sec_gatts_demo.c349 memcpy(bd_addr, param->ble_security.auth_cmpl.bd_addr, sizeof(esp_bd_addr_t)); in gap_event_handler()
353 ESP_LOGI(GATTS_TABLE_TAG, "address type = %d", param->ble_security.auth_cmpl.addr_type); in gap_event_handler()
354 …ESP_LOGI(GATTS_TABLE_TAG, "pair status = %s",param->ble_security.auth_cmpl.success ? "success" : "… in gap_event_handler()
355 if(!param->ble_security.auth_cmpl.success) { in gap_event_handler()
356 … ESP_LOGI(GATTS_TABLE_TAG, "fail reason = 0x%x",param->ble_security.auth_cmpl.fail_reason); in gap_event_handler()
358 …GI(GATTS_TABLE_TAG, "auth mode = %s",esp_auth_req_to_str(param->ble_security.auth_cmpl.auth_mode)); in gap_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/ble50_security_server/main/
Dble50_sec_gatts_demo.c312 memcpy(bd_addr, param->ble_security.auth_cmpl.bd_addr, sizeof(esp_bd_addr_t)); in gap_event_handler()
316 ESP_LOGI(GATTS_TABLE_TAG, "address type = %d", param->ble_security.auth_cmpl.addr_type); in gap_event_handler()
317 …ESP_LOGI(GATTS_TABLE_TAG, "pair status = %s",param->ble_security.auth_cmpl.success ? "success" : "… in gap_event_handler()
318 if(!param->ble_security.auth_cmpl.success) { in gap_event_handler()
319 … ESP_LOGI(GATTS_TABLE_TAG, "fail reason = 0x%x",param->ble_security.auth_cmpl.fail_reason); in gap_event_handler()
321 …GI(GATTS_TABLE_TAG, "auth mode = %s",esp_auth_req_to_str(param->ble_security.auth_cmpl.auth_mode)); in gap_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_acceptor/main/
Dmain.c151 if (param->auth_cmpl.stat == ESP_BT_STATUS_SUCCESS) { in esp_bt_gap_cb()
152 ESP_LOGI(SPP_TAG, "authentication success: %s bda:[%s]", param->auth_cmpl.device_name, in esp_bt_gap_cb()
153 bda2str(param->auth_cmpl.bda, bda_str, sizeof(bda_str))); in esp_bt_gap_cb()
155 ESP_LOGE(SPP_TAG, "authentication failed, status:%d", param->auth_cmpl.stat); in esp_bt_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/main/
Dmain.c237 if (param->auth_cmpl.stat == ESP_BT_STATUS_SUCCESS) { in esp_bt_gap_cb()
238 ESP_LOGI(SPP_TAG, "authentication success: %s", param->auth_cmpl.device_name); in esp_bt_gap_cb()
239 esp_log_buffer_hex(SPP_TAG, param->auth_cmpl.bda, ESP_BD_ADDR_LEN); in esp_bt_gap_cb()
241 ESP_LOGE(SPP_TAG, "authentication failed, status:%d", param->auth_cmpl.stat); in esp_bt_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_security_client/main/
Dexample_ble_sec_gattc_demo.c424 memcpy(bd_addr, param->ble_security.auth_cmpl.bd_addr, sizeof(esp_bd_addr_t)); in esp_gap_cb()
428 ESP_LOGI(GATTC_TAG, "address type = %d", param->ble_security.auth_cmpl.addr_type); in esp_gap_cb()
429 …ESP_LOGI(GATTC_TAG, "pair status = %s",param->ble_security.auth_cmpl.success ? "success" : "fail"); in esp_gap_cb()
430 if (!param->ble_security.auth_cmpl.success) { in esp_gap_cb()
431 ESP_LOGI(GATTC_TAG, "fail reason = 0x%x",param->ble_security.auth_cmpl.fail_reason); in esp_gap_cb()
433 …ESP_LOGI(GATTC_TAG, "auth mode = %s",esp_auth_req_to_str(param->ble_security.auth_cmpl.auth_mode)); in esp_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/ble50_security_client/main/
Dble50_sec_gattc_demo.c467 memcpy(bd_addr, param->ble_security.auth_cmpl.bd_addr, sizeof(esp_bd_addr_t)); in esp_gap_cb()
471 ESP_LOGI(GATTC_TAG, "address type = %d", param->ble_security.auth_cmpl.addr_type); in esp_gap_cb()
472 …ESP_LOGI(GATTC_TAG, "pair status = %s",param->ble_security.auth_cmpl.success ? "success" : "fail"); in esp_gap_cb()
473 if (!param->ble_security.auth_cmpl.success) { in esp_gap_cb()
474 ESP_LOGI(GATTC_TAG, "fail reason = 0x%x",param->ble_security.auth_cmpl.fail_reason); in esp_gap_cb()
476 …ESP_LOGI(GATTC_TAG, "auth mode = %s",esp_auth_req_to_str(param->ble_security.auth_cmpl.auth_mode)); in esp_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device/main/
Dmain.c153 if (param->auth_cmpl.stat == ESP_BT_STATUS_SUCCESS) { in esp_bt_gap_cb()
154 ESP_LOGI(TAG, "authentication success: %s", param->auth_cmpl.device_name); in esp_bt_gap_cb()
155 esp_log_buffer_hex(TAG, param->auth_cmpl.bda, ESP_BD_ADDR_LEN); in esp_bt_gap_cb()
157 ESP_LOGE(TAG, "authentication failed, status:%d", param->auth_cmpl.stat); in esp_bt_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/
Dmain.c279 if (param->auth_cmpl.stat == ESP_BT_STATUS_SUCCESS) { in esp_bt_gap_cb()
280 ESP_LOGI(SPP_TAG, "authentication success: %s", param->auth_cmpl.device_name); in esp_bt_gap_cb()
281 esp_log_buffer_hex(SPP_TAG, param->auth_cmpl.bda, ESP_BD_ADDR_LEN); in esp_bt_gap_cb()
283 ESP_LOGE(SPP_TAG, "authentication failed, status:%d", param->auth_cmpl.stat); in esp_bt_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/a2dp_source/main/
Dmain.c242 if (param->auth_cmpl.stat == ESP_BT_STATUS_SUCCESS) { in bt_app_gap_cb()
243 ESP_LOGI(BT_AV_TAG, "authentication success: %s", param->auth_cmpl.device_name); in bt_app_gap_cb()
244 esp_log_buffer_hex(BT_AV_TAG, param->auth_cmpl.bda, ESP_BD_ADDR_LEN); in bt_app_gap_cb()
246 ESP_LOGE(BT_AV_TAG, "authentication failed, status: %d", param->auth_cmpl.stat); in bt_app_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_ancs/main/
Dble_ancs_demo.c297 esp_log_buffer_hex("addr", param->ble_security.auth_cmpl.bd_addr, ESP_BD_ADDR_LEN); in gap_event_handler()
298 …ESP_LOGI(BLE_ANCS_TAG, "pair status = %s",param->ble_security.auth_cmpl.success ? "success" : "fai… in gap_event_handler()
299 if (!param->ble_security.auth_cmpl.success) { in gap_event_handler()
300 ESP_LOGI(BLE_ANCS_TAG, "fail reason = 0x%x",param->ble_security.auth_cmpl.fail_reason); in gap_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_compatibility_test/main/
Dble_compatibility_test.c359 memcpy(bd_addr, param->ble_security.auth_cmpl.bd_addr, sizeof(esp_bd_addr_t)); in gap_event_handler()
363 … EXAMPLE_DEBUG(EXAMPLE_TAG, "address type = %d", param->ble_security.auth_cmpl.addr_type); in gap_event_handler()
364 if (param->ble_security.auth_cmpl.success){ in gap_event_handler()
368 …TAG, "***** pair status = fail, reason = 0x%x *****\n", param->ble_security.auth_cmpl.fail_reason); in gap_event_handler()
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/dm/
Dbta_dm_act.c1185 bdcpy(sec_event.auth_cmpl.bd_addr, p_data->bond.bd_addr); in bta_dm_bond()
1188 memcpy(sec_event.auth_cmpl.bd_name, p_name, (BD_NAME_LEN - 1)); in bta_dm_bond()
1189 sec_event.auth_cmpl.bd_name[BD_NAME_LEN - 1] = 0; in bta_dm_bond()
1196 sec_event.auth_cmpl.fail_reason = HCI_ERR_ILLEGAL_COMMAND; in bta_dm_bond()
1198 sec_event.auth_cmpl.success = TRUE; in bta_dm_bond()
3011 p_auth_cmpl = &sec_event.auth_cmpl; in bta_dm_new_link_key_cback()
3024 sec_event.auth_cmpl.fail_reason = HCI_SUCCESS; in bta_dm_new_link_key_cback()
3028 BTM_ReadDevInfo(bd_addr, &sec_event.auth_cmpl.dev_type, &sec_event.auth_cmpl.addr_type); in bta_dm_new_link_key_cback()
3057 bdcpy(sec_event.auth_cmpl.bd_addr, bd_addr); in bta_dm_authentication_complete_cback()
3059 memcpy(sec_event.auth_cmpl.bd_name, bd_name, (BD_NAME_LEN - 1)); in bta_dm_authentication_complete_cback()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/main/
Dmain.c607 if (param->auth_cmpl.stat == ESP_BT_STATUS_SUCCESS) { in bt_app_gap_cb()
608 ESP_LOGI(BT_BLE_COEX_TAG, "authentication success: %s", param->auth_cmpl.device_name); in bt_app_gap_cb()
609 esp_log_buffer_hex(BT_BLE_COEX_TAG, param->auth_cmpl.bda, ESP_BD_ADDR_LEN); in bt_app_gap_cb()
611 ESP_LOGE(BT_BLE_COEX_TAG, "authentication failed, status:%d", param->auth_cmpl.stat); in bt_app_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_security_client/tutorial/
DGatt_Security_Client_Example_Walkthrough.md109 memcpy(bd_addr, param->ble_security.auth_cmpl.bd_addr, sizeof(esp_bd_addr_t));
112 ESP_LOGI(GATTS_TABLE_TAG, "address type = %d", param->ble_security.auth_cmpl.addr_type);
113 …ESP_LOGI(GATTS_TABLE_TAG, "pair status = %s",param->ble_security.auth_cmpl.success ? "success" : "…
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/ble50_security_client/tutorial/
Dble50_security_client_Example_Walkthrough.md137 memcpy(bd_addr, param->ble_security.auth_cmpl.bd_addr, sizeof(esp_bd_addr_t));
140 ESP_LOGI(GATTS_TABLE_TAG, "address type = %d", param->ble_security.auth_cmpl.addr_type);
141 …ESP_LOGI(GATTS_TABLE_TAG, "pair status = %s",param->ble_security.auth_cmpl.success ? "success" : "…
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/include/api/
Desp_gap_bt_api.h304 } auth_cmpl; /*!< authentication complete parameter struct */ member
/hal_espressif-3.6.0/examples/bluetooth/esp_hid_device/main/
Desp_hid_gap.c512 if (!param->ble_security.auth_cmpl.success) { in ble_gap_event_handler()
513 ESP_LOGE(TAG, "BLE GAP AUTH ERROR: 0x%x", param->ble_security.auth_cmpl.fail_reason); in ble_gap_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/esp_hid_host/main/
Desp_hid_gap.c515 if (!param->ble_security.auth_cmpl.success) { in ble_gap_event_handler()
516 ESP_LOGE(TAG, "BLE GAP AUTH ERROR: 0x%x", param->ble_security.auth_cmpl.fail_reason); in ble_gap_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_security_server/tutorial/
DGatt_Security_Server_Example_Walkthrough.md156 memcpy(bd_addr, param->ble_security.auth_cmpl.bd_addr,
163 param->ble_security.auth_cmpl.addr_type);
165 param->ble_security.auth_cmpl.success ? "success" : "fail");
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/ble50_security_server/tutorial/
Dble50_security_server_Example_Walkthrough.md156 memcpy(bd_addr, param->ble_security.auth_cmpl.bd_addr,
163 param->ble_security.auth_cmpl.addr_type);
165 param->ble_security.auth_cmpl.success ? "success" : "fail");

12