/device/soc/esp/esp32/components/bt/host/bluedroid/stack/l2cap/ |
D | l2c_link.c | 280 void l2c_link_sec_comp (BD_ADDR p_bda, tBT_TRANSPORT transport, void *p_ref_data, UINT8 status) in l2c_link_sec_comp() argument 289 UNUSED(transport); in l2c_link_sec_comp() 359 tBT_TRANSPORT transport = BT_TRANSPORT_BR_EDR; in l2c_link_hci_disc_comp() local 383 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_link_hci_disc_comp() 407 if (p_lcb->transport == BT_TRANSPORT_BR_EDR) in l2c_link_hci_disc_comp() 421 transport = p_lcb->transport; in l2c_link_hci_disc_comp() 424 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_link_hci_disc_comp() 426 btm_acl_removed (p_lcb->remote_bd_addr, p_lcb->transport); in l2c_link_hci_disc_comp() 445 p_lcb->remote_bd_addr, 0, p_lcb->disc_reason, p_lcb->transport); in l2c_link_hci_disc_comp() 457 if (l2cu_create_conn(p_lcb, transport)) { in l2c_link_hci_disc_comp() [all …]
|
D | l2c_api.c | 813 BOOLEAN L2CA_SetIdleTimeoutByBdAddr(BD_ADDR bd_addr, UINT16 timeout, tBT_TRANSPORT transport) in L2CA_SetIdleTimeoutByBdAddr() argument 819 p_lcb = l2cu_find_lcb_by_bd_addr( bd_addr, transport); in L2CA_SetIdleTimeoutByBdAddr() 1400 if (!p_lcb->in_use || p_lcb->transport != BT_TRANSPORT_LE) { in L2CA_DeregisterLECoc() 1494 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in L2CA_ConnectLECocReq() 1655 tBT_TRANSPORT transport = BT_TRANSPORT_BR_EDR; in L2CA_ConnectFixedChnl() local 1675 transport = BT_TRANSPORT_LE; in L2CA_ConnectFixedChnl() 1682 if ((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, transport)) != NULL) { in L2CA_ConnectFixedChnl() 1687 if (transport == BT_TRANSPORT_LE) { in L2CA_ConnectFixedChnl() 1720 (fixed_cid, p_lcb->remote_bd_addr, 1, 0, p_lcb->transport); in L2CA_ConnectFixedChnl() 1729 if ((p_lcb = l2cu_allocate_lcb (rem_bda, 0, transport)) == NULL) { in L2CA_ConnectFixedChnl() [all …]
|
D | l2c_ble.c | 131 if (p_lcb->transport != BT_TRANSPORT_LE) { in L2CA_UpdateBleConnParams() 198 if (p_lcb->transport != BT_TRANSPORT_LE) { in L2CA_EnableUpdateBleConnParams() 335 p_lcb->transport = BT_TRANSPORT_LE; in l2cble_scanner_conn_comp() 435 p_lcb->transport = BT_TRANSPORT_LE; in l2cble_advertiser_conn_comp() 1033 if (p_lcb->in_use && p_lcb->transport == BT_TRANSPORT_LE) { in l2c_ble_link_adjust_allocation() 1081 if (p_lcb->in_use && p_lcb->transport == BT_TRANSPORT_LE) { in l2c_ble_link_adjust_allocation() 1358 if (p_ccb->p_lcb && p_ccb->p_lcb->transport != BT_TRANSPORT_LE) in l2cble_credit_based_conn_req() 1384 if (p_ccb->p_lcb && p_ccb->p_lcb->transport != BT_TRANSPORT_LE) in l2cble_credit_based_conn_res() 1410 if (p_ccb->p_lcb && p_ccb->p_lcb->transport != BT_TRANSPORT_LE) in l2cble_send_flow_control_credit() 1438 if (p_ccb->p_lcb && p_ccb->p_lcb->transport != BT_TRANSPORT_LE) in l2cble_send_peer_disc_req() [all …]
|
D | l2c_utils.c | 51 tL2C_LCB *l2cu_allocate_lcb (BD_ADDR p_bd_addr, BOOLEAN is_bonding, tBT_TRANSPORT transport) in l2cu_allocate_lcb() argument 101 p_lcb->transport = transport; in l2cu_allocate_lcb() 105 if (transport == BT_TRANSPORT_LE) { in l2cu_allocate_lcb() 179 if (p_lcb->transport == BT_TRANSPORT_BR_EDR) in l2cu_release_lcb() 189 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_release_lcb() 223 btm_acl_removed (p_lcb->remote_bd_addr, p_lcb->transport); in l2cu_release_lcb() 247 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_release_lcb() 281 … p_buf->p_callback(p_lcb->remote_bd_addr, p_lcb->transport, p_buf->p_ref_data, BTM_DEV_RESET); in l2cu_release_lcb() 302 tL2C_LCB *l2cu_find_lcb_by_bd_addr (BD_ADDR p_bd_addr, tBT_TRANSPORT transport) in l2cu_find_lcb_by_bd_addr() argument 310 p_lcb->transport == transport && in l2cu_find_lcb_by_bd_addr() [all …]
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/ |
D | gatt_attr.c | 46 tGATT_DISCONN_REASON reason, tBT_TRANSPORT transport); 114 static tGATT_PROFILE_CLCB *gatt_profile_find_clcb_by_bd_addr(BD_ADDR bda, tBT_TRANSPORT transport) in gatt_profile_find_clcb_by_bd_addr() argument 120 if (p_clcb->in_use && p_clcb->transport == transport && in gatt_profile_find_clcb_by_bd_addr() 148 p_clcb->transport = tranport; in gatt_profile_clcb_alloc() 290 tBT_TRANSPORT transport) in gatt_connect_cback() argument 298 tGATT_PROFILE_CLCB *p_clcb = gatt_profile_find_clcb_by_bd_addr(bda, transport); in gatt_connect_cback() 300 p_clcb = gatt_profile_clcb_alloc (conn_id, bda, transport); in gatt_connect_cback() 307 if (GATT_GetConnIdIfConnected (gatt_cb.gatt_if, bda, &p_clcb->conn_id, transport)) { in gatt_connect_cback() 551 void GATT_ConfigServiceChangeCCC (BD_ADDR remote_bda, BOOLEAN enable, tBT_TRANSPORT transport) in GATT_ConfigServiceChangeCCC() argument 553 tGATT_PROFILE_CLCB *p_clcb = gatt_profile_find_clcb_by_bd_addr (remote_bda, transport); in GATT_ConfigServiceChangeCCC() [all …]
|
D | gatt_main.c | 47 UINT16 reason, tBT_TRANSPORT transport); 222 …DR rem_bda, tBLE_ADDR_TYPE bd_addr_type, tGATT_TCB *p_tcb, tBT_TRANSPORT transport, BOOLEAN is_aux) in gatt_connect() argument 230 if (transport == BT_TRANSPORT_LE) { in gatt_connect() 351 (BTM_GetHCIConnHandle(p_tcb->peer_bda, p_tcb->transport) != GATT_INVALID_ACL_HANDLE)) { in gatt_update_app_use_link_flag() 355 GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_NO_IDLE_TIMEOUT, p_tcb->transport); in gatt_update_app_use_link_flag() 361 … GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_IDLE_TIMEOUT_WHEN_NO_APP, p_tcb->transport); in gatt_update_app_use_link_flag() 378 … tBLE_ADDR_TYPE bd_addr_type, tBT_TRANSPORT transport, BOOLEAN is_aux) in gatt_act_connect() argument 384 if ((p_tcb = gatt_find_tcb_by_addr(bd_addr, transport)) != NULL) { in gatt_act_connect() 390 transport == BT_TRANSPORT_LE ) { in gatt_act_connect() 391 if (!gatt_connect(bd_addr, bd_addr_type, p_tcb, transport, is_aux)) { in gatt_act_connect() [all …]
|
D | gatt_auth.c | 166 void gatt_enc_cmpl_cback(BD_ADDR bd_addr, tBT_TRANSPORT transport, void *p_ref_data, tBTM_STATUS re… in gatt_enc_cmpl_cback() argument 174 if ((p_tcb = gatt_find_tcb_by_addr(bd_addr, transport)) != NULL) { in gatt_enc_cmpl_cback() 183 BTM_GetSecurityFlagsByTransport(bd_addr, &sec_flag, transport); in gatt_enc_cmpl_cback() 314 BTM_GetSecurityFlagsByTransport(p_tcb->peer_bda, &sec_flag, p_clcb->p_tcb->transport); in gatt_determine_sec_act() 360 if (p_tcb->transport == BT_TRANSPORT_LE && in gatt_determine_sec_act() 409 BTM_GetSecurityFlagsByTransport(p_tcb->peer_bda, &sec_flag, p_tcb->transport); in gatt_get_link_encrypt_status() 492 …btm_status = BTM_SetEncryption(p_tcb->peer_bda, p_tcb->transport , gatt_enc_cmpl_cback, &btm_ble_s… in gatt_security_check_start()
|
D | gatt_api.c | 818 if (p_tcb->transport != BT_TRANSPORT_LE) { in GATTC_ConfigureMTU() 1155 void GATT_SetIdleTimeout (BD_ADDR bd_addr, UINT16 idle_tout, tBT_TRANSPORT transport) in GATT_SetIdleTimeout() argument 1160 if ((p_tcb = gatt_find_tcb_by_addr (bd_addr, transport)) != NULL) { in GATT_SetIdleTimeout() 1331 tGATT_TRANSPORT transport ; in GATT_StartIf() local 1336 while (gatt_find_the_connected_bda(start_idx, bda, &found_idx, &transport)) { in GATT_StartIf() 1337 p_tcb = gatt_find_tcb_by_addr(bda, transport); in GATT_StartIf() 1340 (*p_reg->app_cb.p_conn_cb)(gatt_if, bda, conn_id, 1, 0, transport); in GATT_StartIf() 1364 BOOLEAN is_direct, tBT_TRANSPORT transport, BOOLEAN is_aux) in GATT_Connect() argument 1378 status = gatt_act_connect (p_reg, bd_addr, bd_addr_type, transport, is_aux); in GATT_Connect() 1380 if (transport == BT_TRANSPORT_LE) { in GATT_Connect() [all …]
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/btm/ |
D | btm_acl.c | 106 tBT_TRANSPORT transport = (tBT_TRANSPORT)(*((UINT8 *)p_param->p_data2)); in btm_get_acl_db() local 111 && transport == p_acl_db->transport in btm_get_acl_db() 132 tACL_CONN *btm_bda_to_acl (BD_ADDR bda, tBT_TRANSPORT transport) in btm_bda_to_acl() argument 139 acl_params.p_data2 = (void *)&transport; in btm_bda_to_acl() 241 UINT16 hci_handle, UINT8 link_role, tBT_TRANSPORT transport) in btm_acl_created() argument 247 hci_handle, link_role, transport); in btm_acl_created() 249 p = btm_bda_to_acl(bda, transport); in btm_acl_created() 254 p->transport = transport; in btm_acl_created() 280 p->transport = transport; in btm_acl_created() 282 if (transport == BT_TRANSPORT_LE) { in btm_acl_created() [all …]
|
D | btm_sec.c | 105 static BOOLEAN btm_sec_queue_encrypt_request (BD_ADDR bd_addr, tBT_TRANSPORT transport, 107 static void btm_sec_check_pending_enc_req (tBTM_SEC_DEV_REC *p_dev_rec, tBT_TRANSPORT transport, 360 tBT_TRANSPORT transport) in BTM_GetSecurityFlagsByTransport() argument 365 if (transport == BT_TRANSPORT_BR_EDR) { in BTM_GetSecurityFlagsByTransport() 960 tBTM_STATUS btm_sec_bond_by_transport (BD_ADDR bd_addr, tBT_TRANSPORT transport, in btm_sec_bond_by_transport() argument 969 tACL_CONN *p = btm_bda_to_acl(bd_addr, transport); in btm_sec_bond_by_transport() 973 BTM_TRACE_DEBUG("btm_sec_bond_by_transport: Transport used %d\n" , transport); in btm_sec_bond_by_transport() 991 if ( ((p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE) && transport == BT_TRANSPORT_BR_EDR in btm_sec_bond_by_transport() 994 … || ((p_dev_rec->ble_hci_handle != BTM_SEC_INVALID_HANDLE) && transport == BT_TRANSPORT_LE in btm_sec_bond_by_transport() 1028 if (transport == BT_TRANSPORT_LE) { in btm_sec_bond_by_transport() [all …]
|
D | btm_dev.c | 179 BOOLEAN BTM_SecDeleteDevice (BD_ADDR bd_addr, tBT_TRANSPORT transport) in BTM_SecDeleteDevice() argument 184 if (BTM_IsAclConnectionUp(bd_addr, transport)) { in BTM_SecDeleteDevice() 192 btm_sec_free_dev(p_dev_rec, transport); in BTM_SecDeleteDevice() 383 void btm_sec_free_dev (tBTM_SEC_DEV_REC *p_dev_rec, tBT_TRANSPORT transport) in btm_sec_free_dev() argument 385 if (transport == BT_TRANSPORT_BR_EDR) { in btm_sec_free_dev() 391 } else if (transport == BT_TRANSPORT_LE) { in btm_sec_free_dev()
|
/device/board/isoftstone/yangfan/common/mqtt/mqttpacket/samples/ |
D | build | 1 gcc -Wall -c transport.c -Os -s 2 gcc qos0pub.c transport.o -I ../src ../src/MQTTConnectClient.c ../src/MQTTSerializePublish.c ../src… 4 gcc pub0sub1.c transport.o -I ../src ../src/MQTTConnectClient.c ../src/MQTTSerializePublish.c ../sr… 5 gcc pub0sub1_nb.c transport.o -I ../src ../src/MQTTConnectClient.c ../src/MQTTSerializePublish.c ..…
|
D | CMakeLists.txt | 23 pub0sub1.c transport.c 29 pub0sub1_nb.c transport.c 35 qos0pub.c transport.c
|
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/gatt/ |
D | bta_gattc_utils.c | 169 tBTA_TRANSPORT transport) in bta_gattc_find_clcb_by_cif() argument 177 p_clcb->transport == transport && in bta_gattc_find_clcb_by_cif() 217 tBTA_TRANSPORT transport) in bta_gattc_clcb_alloc() argument 230 p_clcb->transport = transport; in bta_gattc_clcb_alloc() 264 tBTA_TRANSPORT transport) in bta_gattc_find_alloc_clcb() argument 268 if ((p_clcb = bta_gattc_find_clcb_by_cif(client_if, remote_bda, transport)) == NULL) { in bta_gattc_find_alloc_clcb() 269 p_clcb = bta_gattc_clcb_alloc(client_if, remote_bda, transport); in bta_gattc_find_alloc_clcb() 577 tGATT_TRANSPORT transport; in bta_gattc_clear_notif_registration() local 580 if (GATT_GetConnectionInfor(conn_id, &gatt_if, remote_bda, &transport)) { in bta_gattc_clear_notif_registration() 740 tBTA_TRANSPORT transport, UINT16 mtu) in bta_gattc_send_open_cback() argument [all …]
|
D | bta_gatts_act.c | 46 tGATT_TRANSPORT transport); 585 p_msg->api_start.transport) == GATT_SUCCESS) { in bta_gatts_start_service() 660 tBTA_TRANSPORT transport; in bta_gatts_indicate_handle() local 667 &gatt_if, remote_bda, &transport)) { in bta_gatts_indicate_handle() 685 if (transport == BTA_TRANSPORT_BR_EDR) { in bta_gatts_indicate_handle() 749 p_msg->api_open.is_direct, p_msg->api_open.transport, 0)) { in bta_gatts_open() 753 &conn_id, p_msg->api_open.transport)) { in bta_gatts_open() 817 tBTA_GATT_TRANSPORT transport; in bta_gatts_close() local 821 if (GATT_GetConnectionInfor(p_msg->hdr.layer_specific, &gatt_if, remote_bda, &transport)) { in bta_gatts_close() 831 if (transport == BTA_TRANSPORT_BR_EDR) { in bta_gatts_close() [all …]
|
D | bta_gattc_act.c | 56 tBT_TRANSPORT transport); 330 p_msg->api_conn.transport)) != NULL) { in bta_gattc_process_api_open() 339 p_msg->api_conn.transport, 0); in bta_gattc_process_api_open() 454 p_clcb->transport, in bta_gattc_open_error() 474 p_clcb->transport, in bta_gattc_open_fail() 500 1, p_data->api_conn.transport, p_data->api_conn.is_aux)) { in bta_gattc_open() 509 p_data->api_conn.transport)) { in bta_gattc_open() 537 p_data->transport, p_data->is_aux)) { in bta_gattc_init_bk_conn() 552 p_data->transport)) { in bta_gattc_init_bk_conn() 663 &gatt_if, p_clcb->bda, &p_clcb->transport); in bta_gattc_conn() [all …]
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/smp/ |
D | smp_l2c.c | 41 tBT_TRANSPORT transport); 46 tBT_TRANSPORT transport); 103 tBT_TRANSPORT transport) in smp_connect_callback() argument 111 if (transport == BT_TRANSPORT_BR_EDR || memcmp(bd_addr, dummy_bda, BD_ADDR_LEN) == 0) { in smp_connect_callback() 251 UINT16 reason, tBT_TRANSPORT transport) in smp_br_connect_callback() argument 258 if (transport != BT_TRANSPORT_BR_EDR) { in smp_br_connect_callback() 260 __func__, transport); in smp_br_connect_callback()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/dm/ |
D | bta_dm_act.c | 99 static BOOLEAN bta_dm_read_remote_device_name (BD_ADDR bd_addr, tBT_TRANSPORT transport); 623 tBT_TRANSPORT transport = BT_TRANSPORT_BR_EDR; in bta_dm_disable_timer_cback() local 632 transport = bta_dm_cb.device_list.peer_device[i].transport; in bta_dm_disable_timer_cback() 634 btm_remove_acl(bta_dm_cb.device_list.peer_device[i].peer_bdaddr, transport); in bta_dm_disable_timer_cback() 701 static BOOLEAN bta_dm_read_remote_device_name (BD_ADDR bd_addr, tBT_TRANSPORT transport) in bta_dm_read_remote_device_name() argument 712 transport); in bta_dm_read_remote_device_name() 750 bta_dm_search_cb.transport); in bta_dm_read_rmt_name() 850 BTM_ReadRSSI(p_data->rssi.remote_addr, p_data->rssi.transport, p_data->rssi.read_rssi_cb); in bta_dm_read_rssi() 953 static void bta_dm_process_remove_device(BD_ADDR bd_addr, tBT_TRANSPORT transport) in bta_dm_process_remove_device() argument 960 BTM_SecDeleteDevice(bd_addr, transport); in bta_dm_process_remove_device() [all …]
|
D | bta_dm_api.c | 342 void BTA_DmReadRSSI(BD_ADDR remote_addr, tBTA_TRANSPORT transport, tBTA_CMPL_CB *cmpl_cb) in BTA_DmReadRSSI() argument 348 p_msg->transport = transport; in BTA_DmReadRSSI() 518 p_msg->transport = BTA_TRANSPORT_UNKNOWN; in BTA_DmBond() 534 void BTA_DmBondByTransport(BD_ADDR bd_addr, tBTA_TRANSPORT transport) in BTA_DmBondByTransport() argument 541 p_msg->transport = transport; in BTA_DmBondByTransport() 786 tBTA_STATUS BTA_DmRemoveDevice(BD_ADDR bd_addr, tBT_TRANSPORT transport) in BTA_DmRemoveDevice() argument 795 p_msg->transport = transport; in BTA_DmRemoveDevice() 1720 tBTA_TRANSPORT transport) in bta_dm_discover_send_msg() argument 1734 p_msg->transport = transport; in bta_dm_discover_send_msg() 1769 tBTA_TRANSPORT transport) in BTA_DmDiscoverByTransport() argument [all …]
|
/device/board/isoftstone/yangfan/common/mqtt/mqttpacket/samples/baremetalserial/ |
D | build | 1 gcc -g -Wall pub0sub1_nb.c transport.c -I ../../src ../../src/MQTTConnectClient.c ../../src/MQTTSer… 2 gcc -g -Wall ping_nb.c transport.c -I ../../src ../../src/MQTTConnectClient.c ../../src/MQTTPacket.…
|
/device/soc/winnermicro/wm800/board/include/bt/ |
D | wm_ble_gatt.h | 108 uint8_t is_direct, int transport); 403 …t_status_t tls_ble_server_start_service(uint8_t server_if, uint16_t service_handle, int transport); 442 uint8_t is_direct, int transport);
|
/device/board/isoftstone/yangfan/common/mqtt/ |
D | BUILD.gn | 175 "mqttpacket/samples/transport.c", 186 "mqttpacket/samples/transport.c", 197 "mqttpacket/samples/transport.c", 208 "mqttpacket/samples/transport.c", 219 "mqttpacket/samples/transport.c",
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/ |
D | hal_trace.c | 399 static bool hal_trace_is_transq_transport(enum HAL_TRACE_TRANSPORT_T transport) in hal_trace_is_transq_transport() argument 401 if (transport == HAL_TRACE_TRANSPORT_TRANSQ1) { in hal_trace_is_transq_transport() 462 static bool hal_trace_is_cpipc_transport(enum HAL_TRACE_TRANSPORT_T transport) in hal_trace_is_cpipc_transport() argument 464 if (transport == HAL_TRACE_TRANSPORT_CPIPC) { in hal_trace_is_cpipc_transport() 586 static bool hal_trace_is_uart_transport(enum HAL_TRACE_TRANSPORT_T transport) in hal_trace_is_uart_transport() argument 588 if (transport == HAL_TRACE_TRANSPORT_UART0 in hal_trace_is_uart_transport() 590 || transport == HAL_TRACE_TRANSPORT_UART1 in hal_trace_is_uart_transport() 593 || transport == HAL_TRACE_TRANSPORT_UART2 in hal_trace_is_uart_transport() 806 int hal_trace_open(enum HAL_TRACE_TRANSPORT_T transport) in hal_trace_open() argument 810 transport = HAL_TRACE_TRANSPORT_UART1; in hal_trace_open() [all …]
|
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/gatt/include/ |
D | bta_gattc_int.h | 134 tBTA_TRANSPORT transport; member 222 tBT_TRANSPORT transport; member 344 tBTA_TRANSPORT transport; /* channel transport */ member 477 … BD_ADDR remote_bda, UINT16 conn_id, tBTA_TRANSPORT transport, UINT16 mtu); 491 …C_CLCB *bta_gattc_find_clcb_by_cif (UINT8 client_if, BD_ADDR remote_bda, tBTA_TRANSPORT transport); 493 …_CLCB *bta_gattc_clcb_alloc(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, tBTA_TRANSPORT transport); 495 … *bta_gattc_find_alloc_clcb(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, tBTA_TRANSPORT transport);
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/include/stack/ |
D | gatt_api.h | 576 tGATT_DISCONN_REASON reason, tBT_TRANSPORT transport); 1051 tGATT_TRANSPORT transport); 1114 BOOLEAN is_direct, tBT_TRANSPORT transport, BOOLEAN is_aux); 1197 UINT16 *p_conn_id, tBT_TRANSPORT transport); 1227 tBT_TRANSPORT transport);
|