Home
last modified time | relevance | path

Searched refs:scn (Results 1 – 23 of 23) sorted by relevance

/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/spp/
Dbtc_spp.c53 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/
Desp_spp_api.c167 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/
Desp_spp_api.h107 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/
Dbta_hf_client_sdp.c86 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()
Dbta_hf_client_rfc.c146 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/
Dbta_jv_act.c297 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 …]
Dbta_jv_api.c250 p_msg->scn = channel; in BTA_JvFreeChannel()
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/hf_ag/
Dbta_ag_sdp.c128 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()
Dbta_ag_rfc.c282 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/
Dbta_jv_api.h177 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/
Dport_api.c104 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/
Dbta_jv_int.h168 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/
Dbta_hf_client_int.h186 UINT8 scn; member
220 UINT8 scn, tBTA_HF_CLIENT_FEAT features,
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/include/
Dbtc_spp.h81 UINT8 scn; member
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/main/
Dmain.c165 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/
Dmain.c135 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/
Dbta_ag_int.h240 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/
Dbtm_acl.c1580 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/
Dport_int.h153 UINT8 scn; /* Service channel number */ member
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/main/
Dmain.c127 param->start.scn); in esp_spp_cb()
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/include/stack/
Dport_api.h229 extern int RFCOMM_CreateConnection (UINT16 uuid, UINT8 scn,
Dbtm_api.h2118 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/
Dmain.c92 param->start.scn); in esp_spp_cb()