/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/spp/ |
D | btc_spp.c | 53 uint8_t scn; member 217 static spp_slot_t *spp_find_slot_by_scn(uint32_t scn) in spp_find_slot_by_scn() argument 222 if (slot != NULL && slot->is_server && slot->scn == (uint8_t)scn) { in spp_find_slot_by_scn() 281 param.start.scn = BTC_SPP_INVALID_SCN; in btc_create_server_fail_cb() 332 slot_new->scn = slot->scn; in btc_spp_rfcomm_inter_cb() 429 if (p_data->scn == 0) { in btc_spp_dm_inter_cb() 437 slot->scn = p_data->scn; in btc_spp_dm_inter_cb() 438 BTA_JvCreateRecordByUser(slot->service_name, slot->scn, (void *)slot->id); in btc_spp_dm_inter_cb() 451 BTA_JvRfcommStartServer(slot->security, slot->role, slot->scn, in btc_spp_dm_inter_cb() 463 BTA_JvFreeChannel(slot->scn, BTA_JV_CONN_TYPE_RFCOMM, in btc_spp_dm_inter_cb() [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/ |
D | esp_spp_api.c | 167 arg.stop_srv.scn = BTC_SPP_INVALID_SCN; in esp_spp_stop_srv() 172 esp_err_t esp_spp_stop_srv_scn(uint8_t scn) in esp_spp_stop_srv_scn() argument 178 if ((scn == 0) || (scn >= PORT_MAX_RFC_PORTS)) { in esp_spp_stop_srv_scn() 186 arg.stop_srv.scn = scn; in esp_spp_stop_srv_scn()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/include/api/ |
D | esp_spp_api.h | 107 uint8_t scn[ESP_SPP_MAX_SCN]; /*!< channel # */ member 148 uint8_t scn; /*!< Server channel number */ member 157 uint8_t scn; /*!< Server channel number */ member 337 esp_err_t esp_spp_stop_srv_scn(uint8_t scn);
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/hf_client/ |
D | bta_hf_client_sdp.c | 86 BOOLEAN bta_hf_client_add_record(char *p_service_name, UINT8 scn, in bta_hf_client_add_record() argument 107 proto_elem_list[1].params[0] = scn; in bta_hf_client_add_record() 177 bta_hf_client_cb.scn = BTM_AllocateSCN(); in bta_hf_client_create_record() 179 bta_hf_client_cb.scn, in bta_hf_client_create_record() 207 BTM_FreeSCN(bta_hf_client_cb.scn); in bta_hf_client_del_record()
|
D | bta_hf_client_rfc.c | 146 BT_PSM_RFCOMM, BTM_SEC_PROTO_RFCOMM, bta_hf_client_cb.scn); in bta_hf_client_start_server() 148 port_status = RFCOMM_CreateConnection(UUID_SERVCLASS_HF_HANDSFREE, bta_hf_client_cb.scn, in bta_hf_client_start_server()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/jv/ |
D | bta_jv_act.c | 297 UINT32 scn_num = (UINT32)p_cb->scn; in bta_jv_free_rfc_cb() 316 "scn:%d, p_pcb:%p, user_data:%p", p_pcb->state, p_cb->scn, p_pcb, in bta_jv_free_rfc_cb() 323 " user_data:%p", p_pcb->state, p_cb->scn, p_pcb->user_data); in bta_jv_free_rfc_cb() 330 " user_data:%p", p_cb->scn, p_pcb->user_data); in bta_jv_free_rfc_cb() 335 " user_data:%p", p_cb->scn, p_pcb->user_data); in bta_jv_free_rfc_cb() 340 p_pcb->state, p_cb->scn, p_pcb, p_pcb->handle, p_pcb->port_handle, in bta_jv_free_rfc_cb() 377 if (!close_server && (p_cb->max_sess > 1) && (p_cb->scn != 0)) { in bta_jv_free_rfc_cb() 394 if ((RFCOMM_CreateConnection(p_cb->sec_id, p_cb->scn, TRUE, in bta_jv_free_rfc_cb() 425 p_cb->scn = 0; in bta_jv_free_rfc_cb() 800 UINT8 scn = 0; in bta_jv_get_channel_id() local [all …]
|
D | bta_jv_api.c | 250 p_msg->scn = channel; in BTA_JvFreeChannel()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/hf_ag/ |
D | bta_ag_sdp.c | 128 BOOLEAN bta_ag_add_record(UINT16 service_uuid, char *p_service_name, UINT8 scn, in bta_ag_add_record() argument 149 proto_elem_list[1].params[0] = scn; in bta_ag_add_record() 216 bta_ag_cb.profile[i].scn = BTM_AllocateSCN(); in bta_ag_create_records() 218 bta_ag_cb.profile[i].scn, p_data->api_register.features, in bta_ag_create_records() 265 BTM_FreeSCN(bta_ag_cb.profile[i].scn); in bta_ag_del_records()
|
D | bta_ag_rfc.c | 282 BT_PSM_RFCOMM, BTM_SEC_PROTO_RFCOMM, bta_ag_cb.profile[i].scn); in bta_ag_start_servers() 284 bta_ag_port_status = RFCOMM_CreateConnection(bta_ag_uuid[i], bta_ag_cb.profile[i].scn, in bta_ag_start_servers()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/include/bta/ |
D | bta_jv_api.h | 177 UINT8 scn[BTA_JV_MAX_SCN]; /* channel # */ member 310 UINT8 scn; /* Server channe number */ member 384 UINT8 scn; /* Server channe number */ member 393 UINT8 scn; /* BTA_JV_GET_SCN_EVT */ member
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/rfcomm/ |
D | port_api.c | 104 int RFCOMM_CreateConnection (UINT16 uuid, UINT8 scn, BOOLEAN is_server, in RFCOMM_CreateConnection() argument 119 if (( scn == 0 ) || (scn >= PORT_MAX_RFC_PORTS )) { in RFCOMM_CreateConnection() 128 dlci = (scn << 1) + 1; in RFCOMM_CreateConnection() 130 dlci = (scn << 1); in RFCOMM_CreateConnection() 133 scn, dlci, is_server, mtu, p_mcb); in RFCOMM_CreateConnection() 151 scn, dlci, is_server, mtu, p_mcb, p_port); in RFCOMM_CreateConnection() 178 p_port->scn = scn; in RFCOMM_CreateConnection()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/jv/include/ |
D | bta_jv_int.h | 168 UINT8 scn; /* the scn of the server */ member 353 UINT16 scn; member 409 BOOLEAN scn[BTA_JV_MAX_SCN]; /* SCN allocated by java */ member
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/hf_client/include/ |
D | bta_hf_client_int.h | 186 UINT8 scn; member 220 UINT8 scn, tBTA_HF_CLIENT_FEAT features,
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/include/ |
D | btc_spp.h | 81 UINT8 scn; member
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/main/ |
D | main.c | 165 ESP_LOGI(SPP_TAG, "-- [%d] scn:%d service_name:%s", i, param->disc_comp.scn[i], in esp_spp_cb() 169 esp_spp_connect(sec_mask, role_master, param->disc_comp.scn[0], peer_bd_addr); in esp_spp_cb()
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/ |
D | main.c | 135 ESP_LOGI(SPP_TAG, "-- [%d] scn:%d service_name:%s", i, param->disc_comp.scn[i], in esp_spp_cb() 139 esp_spp_connect(sec_mask, role_master, param->disc_comp.scn[0], peer_bd_addr); in esp_spp_cb()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/hf_ag/include/ |
D | bta_ag_int.h | 240 UINT8 scn; member 377 extern BOOLEAN bta_ag_add_record(UINT16 service_uuid, char *p_service_name, UINT8 scn, tBTA_AG_FEAT…
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/btm/ |
D | btm_acl.c | 1580 BOOLEAN BTM_TryAllocateSCN(UINT8 scn) in BTM_TryAllocateSCN() argument 1582 if (scn >= BTM_MAX_SCN) { in BTM_TryAllocateSCN() 1587 if (!btm_cb.btm_scn[scn - 1]) { in BTM_TryAllocateSCN() 1588 btm_cb.btm_scn[scn - 1] = TRUE; in BTM_TryAllocateSCN() 1605 BOOLEAN BTM_FreeSCN(UINT8 scn) in BTM_FreeSCN() argument 1608 if (scn <= BTM_MAX_SCN) { in BTM_FreeSCN() 1609 btm_cb.btm_scn[scn - 1] = FALSE; in BTM_FreeSCN()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/rfcomm/include/ |
D | port_int.h | 153 UINT8 scn; /* Service channel number */ member
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/main/ |
D | main.c | 127 param->start.scn); in esp_spp_cb()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/include/stack/ |
D | port_api.h | 229 extern int RFCOMM_CreateConnection (UINT16 uuid, UINT8 scn,
|
D | btm_api.h | 2118 BOOLEAN BTM_TryAllocateSCN(UINT8 scn); 2132 BOOLEAN BTM_FreeSCN(UINT8 scn);
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_acceptor/main/ |
D | main.c | 92 param->start.scn); in esp_spp_cb()
|