Home
last modified time | relevance | path

Searched refs:BT_TRANSPORT_LE (Results 1 – 25 of 35) sorted by relevance

12

/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/
Dl2c_ble.c111 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_CancelBleConnectReq()
142 tACL_CONN *p_acl_cb = btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams()
147 p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams()
157 if (p_lcb->transport != BT_TRANSPORT_LE) { in L2CA_UpdateBleConnParams()
221 p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_LE); in L2CA_EnableUpdateBleConnParams()
234 if (p_lcb->transport != BT_TRANSPORT_LE) { in L2CA_EnableUpdateBleConnParams()
279 if ((p_lcb = l2cu_find_lcb_by_bd_addr (bd_addr, BT_TRANSPORT_LE)) != NULL) { in L2CA_GetBleConnRole()
297 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr (bda, BT_TRANSPORT_LE); in l2cble_notify_le_connection()
298 tACL_CONN *p_acl = btm_bda_to_acl(bda, BT_TRANSPORT_LE) ; in l2cble_notify_le_connection()
340 p_lcb = l2cu_find_lcb_by_bd_addr (bda, BT_TRANSPORT_LE); in l2cble_scanner_conn_comp()
[all …]
Dl2c_link.c391 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_link_hci_disc_comp()
432 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_link_hci_disc_comp()
472 if(reason == HCI_ERR_CONN_FAILED_ESTABLISHMENT && p_lcb->transport == BT_TRANSPORT_LE) { in l2c_link_hci_disc_comp()
478 if (l2cu_create_conn(p_lcb, BT_TRANSPORT_LE)) { in l2c_link_hci_disc_comp()
479 btm_acl_removed (p_lcb->remote_bd_addr, BT_TRANSPORT_LE); in l2c_link_hci_disc_comp()
1049 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_link_check_send_pkts()
1099 || (p_lcb->transport == BT_TRANSPORT_LE && in l2c_link_check_send_pkts()
1150 && (p_lcb->transport == BT_TRANSPORT_LE)) { in l2c_link_check_send_pkts()
1166 (l2cb.controller_le_xmit_window != 0 && (p_lcb->transport == BT_TRANSPORT_LE))) in l2c_link_check_send_pkts()
1188 (l2cb.controller_le_xmit_window != 0 && (p_lcb->transport == BT_TRANSPORT_LE))) in l2c_link_check_send_pkts()
[all …]
Dl2c_api.c1400 if (!p_lcb->in_use || p_lcb->transport != BT_TRANSPORT_LE) { in L2CA_DeregisterLECoc()
1460 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_LE); in L2CA_ConnectLECocReq()
1464 p_lcb = l2cu_allocate_lcb(p_bd_addr, FALSE, BT_TRANSPORT_LE); in L2CA_ConnectLECocReq()
1467 || (l2cu_create_conn(p_lcb, BT_TRANSPORT_LE) == FALSE) ) in L2CA_ConnectLECocReq()
1494 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in L2CA_ConnectLECocReq()
1541 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_LE); in L2CA_ConnectLECocRsp()
1675 transport = BT_TRANSPORT_LE; in L2CA_ConnectFixedChnl()
1687 if (transport == BT_TRANSPORT_LE) { in L2CA_ConnectFixedChnl()
1774 transport = BT_TRANSPORT_LE; in L2CA_SendFixedChnlData()
1806 if (transport == BT_TRANSPORT_LE) { in L2CA_SendFixedChnlData()
[all …]
Dl2c_utils.c109 if (transport == BT_TRANSPORT_LE) { in l2cu_allocate_lcb()
193 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_release_lcb()
251 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_release_lcb()
432 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_build_header()
448 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_build_header()
1222 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_send_peer_info_rsp()
1693 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_release_ccb()
2274 if (transport == BT_TRANSPORT_LE) { in l2cu_create_conn()
2282 p_lcb->transport = BT_TRANSPORT_LE; in l2cu_create_conn()
2904 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_process_fixed_disc_cback()
[all …]
Dl2c_main.c212 if (p_lcb && p_lcb->transport == BT_TRANSPORT_LE && p_lcb->link_state != LST_DISCONNECTING) in l2c_rcv_acl_data()
312 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_rcv_acl_data()
374 if (p_lcb->transport == BT_TRANSPORT_LE) { in process_l2cap_cmd()
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/
Dbtm_ble.c99 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_LE); in BTM_SecAddBleDevice()
289 tACL_CONN *p_acl = btm_bda_to_acl(remote_bda, BT_TRANSPORT_LE); in BTM_ReadConnectionAddr()
323 return (p->transport == BT_TRANSPORT_LE); in BTM_IsBleConnection()
347 tACL_CONN *p = btm_bda_to_acl (pseudo_addr, BT_TRANSPORT_LE); in BTM_ReadRemoteConnectionAddr()
756 if (transport == BT_TRANSPORT_LE) { in BTM_ReadConnectedTransportAddress()
905 } else if ((p = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE)) != NULL) { in BTM_UseLeLink()
926 tACL_CONN *p_acl = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE); in BTM_SetBleDataLength()
1018 BTM_GetSecurityFlagsByTransport(bdaddr, &sec_flag, BT_TRANSPORT_LE); in btm_ble_determine_security_act()
1082 (*p_callback) (bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_MODE_UNSUPPORTED); in btm_ble_start_sec_check()
1096 p_callback(bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_SUCCESS); in btm_ble_start_sec_check()
[all …]
Dbtm_ble_addr.c561 tACL_CONN *p_acl = btm_bda_to_acl(p_sec_rec->bd_addr, BT_TRANSPORT_LE); in btm_ble_refresh_peer_resolvable_private_addr()
563 p_acl = btm_bda_to_acl(p_sec_rec->ble.pseudo_addr, BT_TRANSPORT_LE); in btm_ble_refresh_peer_resolvable_private_addr()
602 tACL_CONN *p = btm_bda_to_acl(pseudo_addr, BT_TRANSPORT_LE); in btm_ble_refresh_local_resolvable_private_addr()
Dbtm_dev.c84 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_LE); in BTM_SecAddDevice()
413 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_LE); in btm_sec_alloc_dev()
437 } else if (transport == BT_TRANSPORT_LE) { in btm_sec_free_dev()
Dbtm_ble_5_gap.c223 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr(bd_addr, BT_TRANSPORT_LE); in BTM_BleReadPhy()
266 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr(bd_addr, BT_TRANSPORT_LE); in BTM_BleSetPreferPhy()
1427 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr(bd_addr, BT_TRANSPORT_LE); in BTM_BlePeriodicAdvSyncTrans()
1447 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr(bd_addr, BT_TRANSPORT_LE); in BTM_BlePeriodicAdvSetInfoTrans()
1483 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr(bd_addr, BT_TRANSPORT_LE); in BTM_BleSetPeriodicAdvSyncTransParams()
Dbtm_acl.c284 if (transport == BT_TRANSPORT_LE) { in btm_acl_created()
327 if (p_dev_rec && !(transport == BT_TRANSPORT_LE)) { in btm_acl_created()
361 if (p_dev_rec && transport == BT_TRANSPORT_LE) { in btm_acl_created()
467 if (p->transport == BT_TRANSPORT_LE) { in btm_acl_removed()
960 if (p_acl_cb->transport == BT_TRANSPORT_LE) { in btm_read_remote_version_complete()
2099 if (p->transport == BT_TRANSPORT_LE) { in BTM_ReadTxPower()
Dbtm_sec.c995 … || ((p_dev_rec->ble_hci_handle != BTM_SEC_INVALID_HANDLE) && transport == BT_TRANSPORT_LE in btm_sec_bond_by_transport()
1029 if (transport == BT_TRANSPORT_LE) { in btm_sec_bond_by_transport()
1158 if ((transport == BT_TRANSPORT_LE && (dev_type & BT_DEVICE_TYPE_BLE) == 0) || in BTM_SecBondByTransport()
1189 transport = BT_TRANSPORT_LE; in BTM_SecBond()
1364 || (transport == BT_TRANSPORT_LE && p_dev_rec->ble_hci_handle == BTM_SEC_INVALID_HANDLE) in BTM_SetEncryption()
1380 || (transport == BT_TRANSPORT_LE && in BTM_SetEncryption()
1417 if (transport == BT_TRANSPORT_LE) { in BTM_SetEncryption()
4127 if (p_acl && p_acl->transport == BT_TRANSPORT_LE) { in btm_sec_encrypt_change()
4608 transport = (handle == p_dev_rec->hci_handle) ? BT_TRANSPORT_BR_EDR : BT_TRANSPORT_LE; in btm_sec_disconnected()
4630 if (transport == BT_TRANSPORT_LE) { in btm_sec_disconnected()
[all …]
Dbtm_ble_bgconn.c105 const bool connected = BTM_IsAclConnectionUp(connection->address.address, BT_TRANSPORT_LE); in background_connections_pending_cb()
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/
Dgatt_main.c231 if (transport == BT_TRANSPORT_LE) { in gatt_connect()
391 transport == BT_TRANSPORT_LE ) { in gatt_act_connect()
491 if ((p_tcb = gatt_allocate_tcb_by_bdaddr(bd_addr, BT_TRANSPORT_LE)) != NULL) { in gatt_le_connect_cback()
558 tGATT_TCB *p_tcb = gatt_find_tcb_by_addr(remote_bda, BT_TRANSPORT_LE); in gatt_le_cong_cback()
586 if ((p_tcb = gatt_find_tcb_by_addr (bd_addr, BT_TRANSPORT_LE)) != NULL && in gatt_le_data_ind()
Dgatt_auth.c229 if ((p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_LE)) != NULL) { in gatt_notify_enc_cmpl()
361 if (p_tcb->transport == BT_TRANSPORT_LE && in gatt_determine_sec_act()
Dgatt_api.c887 if (p_tcb->transport != BT_TRANSPORT_LE) { in GATTC_ConfigureMTU()
1257 GATT_LINK_IDLE_TIMEOUT_WHEN_NO_APP, BT_TRANSPORT_LE); in GATT_SetIdleTimeout()
1471 if (transport == BT_TRANSPORT_LE) { in GATT_Connect()
1516 p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_LE); in GATT_CancelConnect()
Dgatt_attr.c91 GATT_GetConnIdIfConnected (gatt_cb.gatt_if, remote_bda, &conn_id, BT_TRANSPORT_LE); in gatt_profile_find_conn_id_by_bd_addr()
Dgatt_utils.c2087 p_tcb = gatt_find_tcb_by_addr(bda, BT_TRANSPORT_LE); in gatt_cancel_open()
2606 tGATT_TCB *p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_LE); in gatt_remove_bg_dev_for_app()
2824 tGATT_TCB *p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_LE); in gatt_update_auto_connect_dev()
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/
Dsmp_act.c67 tACL_CONN *acl = btm_bda_to_acl(bda, BT_TRANSPORT_LE); in lmp_version_below()
616 if (BTM_IsAclConnectionUp(p_cb->pairing_bda, BT_TRANSPORT_LE)) { in smp_proc_pair_cmd()
617 btm_remove_acl (p_cb->pairing_bda, BT_TRANSPORT_LE); in smp_proc_pair_cmd()
655 if (BTM_IsAclConnectionUp(p_cb->pairing_bda, BT_TRANSPORT_LE)) { in smp_proc_pair_cmd()
656 btm_remove_acl (p_cb->pairing_bda, BT_TRANSPORT_LE); in smp_proc_pair_cmd()
1454 if (BTM_IsAclConnectionUp(p_cb->pairing_bda, BT_TRANSPORT_LE)) { in smp_process_io_response()
1455 btm_remove_acl (p_cb->pairing_bda, BT_TRANSPORT_LE); in smp_process_io_response()
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dgatt_api.h361 #define GATT_TRANSPORT_LE BT_TRANSPORT_LE
363 #define GATT_TRANSPORT_LE_BR_EDR (BT_TRANSPORT_LE|BT_TRANSPORT_BR_EDR)
Dbt_types.h492 #define BT_TRANSPORT_LE 2 macro
/hal_espressif-latest/components/bt/host/bluedroid/stack/gap/
Dgap_ble.c726 if (GATT_GetConnIdIfConnected(gap_cb.gatt_if, peer_bda, &p_clcb->conn_id, BT_TRANSPORT_LE)) { in gap_ble_accept_cl_operation()
731 …if (!GATT_Connect(gap_cb.gatt_if, p_clcb->bda, BLE_ADDR_UNKNOWN_TYPE, TRUE, BT_TRANSPORT_LE, FALSE… in gap_ble_accept_cl_operation()
/hal_espressif-latest/components/bt/host/bluedroid/bta/dm/
Dbta_dm_act.c564 L2CA_SetIdleTimeoutByBdAddr((UINT8 *)BT_BD_ANY, 0, BT_TRANSPORT_LE); in bta_dm_disable()
1033 if (transport == BT_TRANSPORT_LE){ in bta_dm_process_remove_device()
1210 ((link_type == BTA_DM_LINK_TYPE_LE) && (transport == BT_TRANSPORT_LE)) || in bta_dm_remove_all_acl()
2607 transport = BT_TRANSPORT_LE; in bta_dm_discover_device()
2693 if (transport == BT_TRANSPORT_LE) { in bta_dm_discover_device()
2914 if (bta_dm_search_cb.transport == BT_TRANSPORT_LE ) { in bta_dm_remname_cback()
3618 if (p_data->acl_change.transport == BT_TRANSPORT_LE) { in bta_dm_acl_change()
3677 if ((p_data->acl_change.transport == BT_TRANSPORT_LE) && in bta_dm_acl_change()
3719 if (p_data->acl_change.transport == BT_TRANSPORT_LE) { in bta_dm_acl_change()
3868 if ( BTM_IsAclConnectionUp(remote_bd_addr, BT_TRANSPORT_LE) || in bta_dm_remove_sec_dev_entry()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/btc/core/
Dbtc_storage.c56 BTA_DmRemoveDevice(bd_addr.address, BT_TRANSPORT_LE); in btc_storage_add_bonded_device()
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_act.c518 p_tcb = gatt_find_tcb_by_addr(p_data->api_conn.remote_bda, BT_TRANSPORT_LE); in bta_gattc_open()
1115 if (l2cu_find_lcb_by_bd_addr(p_clcb->p_srcb->server_bda, BT_TRANSPORT_LE) != NULL) { in bta_gattc_disc_cmpl()
1631 if (l2cu_find_lcb_by_bd_addr(p_clcb->p_srcb->server_bda, BT_TRANSPORT_LE) != NULL) { in bta_gattc_pop_command_to_send()
1766 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr(bda, BT_TRANSPORT_LE); in bta_gattc_conn_cback()
/hal_espressif-latest/components/bt/host/bluedroid/bta/hh/
Dbta_hh_le.c1339 BTM_GetSecurityFlagsByTransport(p_cb->addr, &sec_flag, BT_TRANSPORT_LE); in bta_hh_start_security()
2595 BTM_GetSecurityFlagsByTransport(p_cb->addr, &sec_flag, BT_TRANSPORT_LE); in bta_hh_le_add_dev_bg_conn()
2929 BTM_GetSecurityFlagsByTransport(p_dev_cb->addr, &sec_flag, BT_TRANSPORT_LE); in bta_hh_le_register_scpp_notif()

12