Home
last modified time | relevance | path

Searched refs:rfc (Results 1 – 16 of 16) sorted by relevance

/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/rfcomm/
Drfc_port_fsm.c65 RFCOMM_TRACE_DEBUG("%s st:%d, evt:%d\n", __func__, p_port->rfc.state, event); in rfc_port_sm_execute()
72 switch (p_port->rfc.state) { in rfc_port_sm_execute()
115 p_port->rfc.state = RFC_STATE_ORIG_WAIT_SEC_CHECK; in rfc_port_sm_state_closed()
116 btm_sec_mx_access_request (p_port->rfc.p_mcb->bd_addr, BT_PSM_RFCOMM, TRUE, in rfc_port_sm_state_closed()
133 rfc_timer_stop(p_port->rfc.p_mcb ); in rfc_port_sm_state_closed()
136 p_port->rfc.state = RFC_STATE_TERM_WAIT_SEC_CHECK; in rfc_port_sm_state_closed()
137 btm_sec_mx_access_request (p_port->rfc.p_mcb->bd_addr, BT_PSM_RFCOMM, FALSE, in rfc_port_sm_state_closed()
151 rfc_send_dm (p_port->rfc.p_mcb, p_port->dlci, FALSE); in rfc_port_sm_state_closed()
155 rfc_send_dm (p_port->rfc.p_mcb, p_port->dlci, FALSE); in rfc_port_sm_state_closed()
159 Port_TimeOutCloseMux( p_port->rfc.p_mcb ) ; in rfc_port_sm_state_closed()
[all …]
Drfc_l2cap_if.c73 tL2CAP_APPL_INFO *p_l2c = &rfc_cb.rfc.reg_info; in rfcomm_l2cap_if_init()
313 event = rfc_parse_data (p_mcb, &rfc_cb.rfc.rx_frame, p_buf); in RFCOMM_BufDataInd()
321 if (rfc_cb.rfc.rx_frame.dlci == RFCOMM_MX_DLCI) { in RFCOMM_BufDataInd()
335 if (((p_port = port_find_mcb_dlci_port (p_mcb, rfc_cb.rfc.rx_frame.dlci)) == NULL) in RFCOMM_BufDataInd()
336 || (!p_port->rfc.p_mcb)) { in RFCOMM_BufDataInd()
339 if (( p_mcb->is_initiator && !rfc_cb.rfc.rx_frame.cr) in RFCOMM_BufDataInd()
340 || (!p_mcb->is_initiator && rfc_cb.rfc.rx_frame.cr)) { in RFCOMM_BufDataInd()
341 rfc_send_dm (p_mcb, rfc_cb.rfc.rx_frame.dlci, rfc_cb.rfc.rx_frame.pf); in RFCOMM_BufDataInd()
347 if ((p_port = port_find_dlci_port (rfc_cb.rfc.rx_frame.dlci)) == NULL) { in RFCOMM_BufDataInd()
348 rfc_send_dm (p_mcb, rfc_cb.rfc.rx_frame.dlci, TRUE); in RFCOMM_BufDataInd()
[all …]
Drfc_utils.c163 for (i = 0, j = rfc_cb.rfc.last_mux + 1; i < MAX_BD_CONNECTIONS; i++, j++) { in rfc_alloc_multiplexer_channel()
184 rfc_cb.rfc.last_mux = (UINT8) j; in rfc_alloc_multiplexer_channel()
270 TIMER_LIST_ENT *p_tle = &p_port->rfc.tle; in rfc_port_timer_start()
290 btu_stop_timer (&p_port->rfc.tle); in rfc_port_timer_stop()
304 btu_free_timer (&p_port->rfc.tle); in rfc_port_timer_free()
305 memset(&p_port->rfc.tle, 0, sizeof(TIMER_LIST_ENT)); in rfc_port_timer_free()
383 || ((p_port->rfc.state != RFC_STATE_ORIG_WAIT_SEC_CHECK) in rfc_sec_check_complete()
384 && (p_port->rfc.state != RFC_STATE_TERM_WAIT_SEC_CHECK))) { in rfc_sec_check_complete()
405 tRFC_MCB *p_mcb = p_port->rfc.p_mcb; in rfc_port_closed()
411 p_port->rfc.state = RFC_STATE_CLOSED; in rfc_port_closed()
[all …]
Dport_utils.c69 for (xx = 0, yy = rfc_cb.rfc.last_port + 1; xx < MAX_RFC_PORTS; xx++, yy++) { in port_allocate_port()
87 rfc_cb.rfc.last_port = yy; in port_allocate_port()
88 …M_TRACE_DEBUG("rfc_cb.port.port[%d]:%p allocated, last_port:%d", yy, p_port, rfc_cb.rfc.last_port); in port_allocate_port()
231 if (p_port->rfc.state == RFC_STATE_CLOSED) { in port_release_port()
233 if (p_port->rfc.p_mcb) { in port_release_port()
234 p_port->rfc.p_mcb->port_inx[p_port->dlci] = 0; in port_release_port()
237 rfc_check_mcb_active (p_port->rfc.p_mcb); in port_release_port()
261 p_port->rfc.p_mcb = NULL; in port_release_port()
357 if (p_port->in_use && (p_port->rfc.p_mcb == NULL)) { in port_find_dlci_port()
415 || !p_port->rfc.p_mcb in port_flow_control_user()
[all …]
Dport_rfc.c69 p_port->rfc.p_mcb = p_mcb; in port_open_continue()
105 tRFC_MCB *p_mcb = p_port->rfc.p_mcb; in port_start_control()
127 tRFC_MCB *p_mcb = p_port->rfc.p_mcb; in port_start_par_neg()
149 tRFC_MCB *p_mcb = p_port->rfc.p_mcb; in port_start_close()
175 if ((p_mcb == NULL) || (p_port->rfc.state == RFC_STATE_CLOSED)) { in port_start_close()
208 if (p_port->rfc.p_mcb == p_mcb) { in PORT_StartCnf()
225 p_port->rfc.p_mcb = NULL; in PORT_StartCnf()
268 if ((p_port->rfc.p_mcb == NULL) in PORT_StartInd()
269 || (p_port->rfc.p_mcb == p_mcb)) { in PORT_StartInd()
317 p_port->rfc.p_mcb = p_mcb; in PORT_ParNegInd()
[all …]
Drfc_port_if.c175 p_port->rfc.expected_rsp |= RFC_RSP_PN; in RFCOMM_ParNegReq()
229 p_port->rfc.expected_rsp |= RFC_RSP_RPN_REPLY; in RFCOMM_PortNegReq()
231 p_port->rfc.expected_rsp |= RFC_RSP_RPN; in RFCOMM_PortNegReq()
277 || (p_port->rfc.state != RFC_STATE_OPENED)) { in RFCOMM_ControlReq()
283 p_port->rfc.expected_rsp |= RFC_RSP_MSC; in RFCOMM_ControlReq()
310 || (p_port->rfc.state != RFC_STATE_OPENED)) { in RFCOMM_FlowReq()
316 p_port->rfc.expected_rsp |= RFC_RSP_MSC; in RFCOMM_FlowReq()
342 || (p_port->rfc.state != RFC_STATE_OPENED)) { in RFCOMM_LineStatusReq()
346 p_port->rfc.expected_rsp |= RFC_RSP_RLS; in RFCOMM_LineStatusReq()
Dport_api.c141 … p_port->state, p_port->rfc.state, p_port->rfc.p_mcb ? p_port->rfc.p_mcb->state : 0); in RFCOMM_CreateConnection()
489 if (!p_port->rfc.p_mcb || !p_port->rfc.p_mcb->peer_ready || in PORT_CheckConnection()
490 (!ignore_rfc_state ? (p_port->rfc.state != RFC_STATE_OPENED) : false)) { in PORT_CheckConnection()
494 memcpy (bd_addr, p_port->rfc.p_mcb->bd_addr, BD_ADDR_LEN); in PORT_CheckConnection()
496 *p_lcid = p_port->rfc.p_mcb->lcid; in PORT_CheckConnection()
534 if (p_port->rfc.p_mcb == p_mcb) { in PORT_IsOpening()
541 (found_port && (p_port->rfc.state < RFC_STATE_OPENED))) { in PORT_IsOpening()
792 if (!p_port->rfc.p_mcb) { in PORT_FlowControl()
798 if (p_port->rfc.p_mcb->flow == PORT_FC_CREDIT) { in PORT_FlowControl()
863 if (!p_port->rfc.p_mcb) {
[all …]
Drfc_ts_frames.c259 *p_data++ = rfc_cb.rfc.rx_frame.u.pn.priority; in rfc_send_pn()
442 *p_data++ = rfc_cb.rfc.rx_frame.ea | in rfc_send_nsc()
443 (rfc_cb.rfc.rx_frame.cr << RFCOMM_SHIFT_CR) | in rfc_send_nsc()
444 rfc_cb.rfc.rx_frame.type; in rfc_send_nsc()
703 MX_FRAME *p_rx_frame = &rfc_cb.rfc.rx_frame; in rfc_process_mx_message()
/hal_espressif-3.7.0/tools/esptool_py/docs/en/esptool/
Dremote-serial-ports.rst4 …y networked remote serial port that supports `RFC2217 <http://www.ietf.org/rfc/rfc2217.txt>`__ (Te…
15 …ial-bridge-rfc-2217>`__ and a `multi-port example <http://pyserial.readthedocs.io/en/latest/exampl…
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hf_client/
Dbta_hf_client_act.c277 bta_hf_client_cb.scb.serv_handle, p_data->rfc.port_handle); in bta_hf_client_rfc_acp_open()
280 …if (PORT_SUCCESS != (status = PORT_CheckConnection(p_data->rfc.port_handle, FALSE, dev_addr, &lcid… in bta_hf_client_rfc_acp_open()
300 bta_hf_client_cb.scb.conn_handle = p_data->rfc.port_handle; in bta_hf_client_rfc_acp_open()
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hf_ag/
Dbta_ag_act.c501 …if (PORT_SUCCESS != (status = PORT_CheckConnection(p_data->rfc.port_handle, FALSE, dev_addr, &lcid… in bta_ag_rfc_acp_open()
531 i, p_scb->serv_handle[i], p_data->rfc.port_handle); in bta_ag_rfc_acp_open()
532 if (p_scb->serv_handle[i] == p_data->rfc.port_handle) { in bta_ag_rfc_acp_open()
534 p_scb->conn_handle = p_data->rfc.port_handle; in bta_ag_rfc_acp_open()
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/rfcomm/include/
Dport_int.h187 tRFC_PORT rfc; /* RFCOMM port control block */ member
Drfc_int.h221 tRFCOMM_CB rfc; member
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hf_client/include/
Dbta_hf_client_int.h131 tBTA_HF_CLIENT_RFC rfc; member
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hf_ag/include/
Dbta_ag_int.h234 tBTA_AG_RFC rfc; member
/hal_espressif-3.7.0/components/bt/porting/ext/tinycrypt/documentation/
Dtinycrypt.rst347 https://www.ietf.org/rfc/rfc2104.txt
352 https://www.ietf.org/rfc/rfc6090.txt