Home
last modified time | relevance | path

Searched refs:tRFC_MCB (Results 1 – 11 of 11) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/include/
Drfc_int.h48 extern void RFCOMM_StartReq (tRFC_MCB *p_mcb);
49 extern void RFCOMM_StartRsp (tRFC_MCB *p_mcb, UINT16 result);
51 extern void RFCOMM_DlcEstablishReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu);
52 extern void RFCOMM_DlcEstablishRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result);
54 extern void RFCOMM_DataReq (tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf);
56 extern void RFCOMM_DlcReleaseReq (tRFC_MCB *p_mcb, UINT8 dlci);
58 extern void RFCOMM_ParNegReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu);
59 extern void RFCOMM_ParNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k);
66 extern void RFCOMM_FlowReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT8 state);
68 extern void RFCOMM_PortNegReq (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars);
[all …]
Dport_int.h109 } tRFC_MCB; typedef
132 tRFC_MCB *p_mcb;
211 tRFC_MCB rfc_mcb[MAX_BD_CONNECTIONS]; /* RFCOMM bd_connections pool */
226 extern tPORT *port_find_mcb_dlci_port (tRFC_MCB *p_mcb, UINT8 dlci);
227 extern tRFC_MCB *port_find_mcb (BD_ADDR bd_addr);
/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/
Drfc_port_if.c53 void RFCOMM_StartReq (tRFC_MCB *p_mcb) in RFCOMM_StartReq()
68 void RFCOMM_StartRsp (tRFC_MCB *p_mcb, UINT16 result) in RFCOMM_StartRsp()
85 void RFCOMM_DlcEstablishReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) in RFCOMM_DlcEstablishReq()
112 void RFCOMM_DlcEstablishRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result) in RFCOMM_DlcEstablishRsp()
141 void RFCOMM_ParNegReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) in RFCOMM_ParNegReq()
191 void RFCOMM_ParNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) in RFCOMM_ParNegRsp()
213 void RFCOMM_PortNegReq (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars) in RFCOMM_PortNegReq()
248 void RFCOMM_PortNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars, in RFCOMM_PortNegRsp()
267 void RFCOMM_ControlReq (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_CTRL *p_pars) in RFCOMM_ControlReq()
300 void RFCOMM_FlowReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT8 enable) in RFCOMM_FlowReq()
[all …]
Drfc_mx_fsm.c65 static void rfc_mx_sm_state_idle (tRFC_MCB *p_mcb, UINT16 event, void *p_data);
66 static void rfc_mx_sm_state_wait_conn_cnf (tRFC_MCB *p_mcb, UINT16 event, void *p_data);
67 static void rfc_mx_sm_state_configure (tRFC_MCB *p_mcb, UINT16 event, void *p_data);
68 static void rfc_mx_sm_sabme_wait_ua (tRFC_MCB *p_mcb, UINT16 event, void *p_data);
69 static void rfc_mx_sm_state_wait_sabme (tRFC_MCB *p_mcb, UINT16 event, void *p_data);
70 static void rfc_mx_sm_state_connected (tRFC_MCB *p_mcb, UINT16 event, void *p_data);
71 static void rfc_mx_sm_state_disc_wait_ua (tRFC_MCB *p_mcb, UINT16 event, void *p_data);
73 static void rfc_mx_send_config_req (tRFC_MCB *p_mcb);
74 static void rfc_mx_conf_ind (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg);
75 static void rfc_mx_conf_cnf (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg);
[all …]
Drfc_utils.c133 tRFC_MCB *rfc_alloc_multiplexer_channel (BD_ADDR bd_addr, BOOLEAN is_initiator) in rfc_alloc_multiplexer_channel()
136 tRFC_MCB *p_mcb = NULL; in rfc_alloc_multiplexer_channel()
173 memset (p_mcb, 0, sizeof (tRFC_MCB)); in rfc_alloc_multiplexer_channel()
203 void rfc_release_multiplexer_channel (tRFC_MCB *p_mcb) in rfc_release_multiplexer_channel()
209 memset (p_mcb, 0, sizeof (tRFC_MCB)); in rfc_release_multiplexer_channel()
221 void rfc_timer_start (tRFC_MCB *p_mcb, UINT16 timeout) in rfc_timer_start()
239 void rfc_timer_stop (tRFC_MCB *p_mcb) in rfc_timer_stop()
253 void rfc_timer_free (tRFC_MCB *p_mcb) in rfc_timer_free()
318 void rfc_check_mcb_active (tRFC_MCB *p_mcb) in rfc_check_mcb_active()
352 rfc_mx_sm_execute ((tRFC_MCB *)p_tle->param, RFC_EVENT_TIMEOUT, NULL); in rfcomm_process_timeout()
[all …]
Drfc_l2cap_if.c103 tRFC_MCB *p_mcb = rfc_alloc_multiplexer_channel(bd_addr, FALSE); in RFCOMM_ConnectInd()
152 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); in RFCOMM_ConnectCnf()
218 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); in RFCOMM_ConfigInd()
240 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); in RFCOMM_ConfigCnf()
275 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); in RFCOMM_DisconnectInd()
302 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); in RFCOMM_BufDataInd()
383 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); in RFCOMM_CongestionStatusInd()
401 tRFC_MCB *rfc_find_lcid_mcb (UINT16 lcid) in rfc_find_lcid_mcb()
403 tRFC_MCB *p_mcb; in rfc_find_lcid_mcb()
427 void rfc_save_lcid_mcb (tRFC_MCB *p_mcb, UINT16 lcid) in rfc_save_lcid_mcb()
Dport_rfc.c58 tRFC_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()
198 void PORT_StartCnf (tRFC_MCB *p_mcb, UINT16 result) in PORT_StartCnf()
259 void PORT_StartInd (tRFC_MCB *p_mcb) in PORT_StartInd()
289 void PORT_ParNegInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) in PORT_ParNegInd()
369 void PORT_ParNegCnf (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) in PORT_ParNegCnf()
427 void PORT_DlcEstablishInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) in PORT_DlcEstablishInd()
505 void PORT_DlcEstablishCnf (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result) in PORT_DlcEstablishCnf()
[all …]
Drfc_ts_frames.c44 void rfc_send_sabme (tRFC_MCB *p_mcb, UINT8 dlci) in rfc_send_sabme()
77 void rfc_send_ua (tRFC_MCB *p_mcb, UINT8 dlci) in rfc_send_ua()
110 void rfc_send_dm (tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN pf) in rfc_send_dm()
143 void rfc_send_disc (tRFC_MCB *p_mcb, UINT8 dlci) in rfc_send_disc()
176 void rfc_send_buf_uih (tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf) in rfc_send_buf_uih()
235 void rfc_send_pn (tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN is_command, UINT16 mtu, UINT8 cl, UINT8 k) in rfc_send_pn()
282 void rfc_send_fcon (tRFC_MCB *p_mcb, BOOLEAN is_command) in rfc_send_fcon()
311 void rfc_send_fcoff (tRFC_MCB *p_mcb, BOOLEAN is_command) in rfc_send_fcoff()
340 void rfc_send_msc (tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN is_command, in rfc_send_msc()
395 void rfc_send_rls (tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN is_command, UINT8 status) in rfc_send_rls()
[all …]
Drfc_port_fsm.c525 void rfc_process_pn (tRFC_MCB *p_mcb, BOOLEAN is_command, MX_FRAME *p_frame) in rfc_process_pn()
565 void rfc_process_rpn (tRFC_MCB *p_mcb, BOOLEAN is_command, in rfc_process_rpn()
672 void rfc_process_msc (tRFC_MCB *p_mcb, BOOLEAN is_command, MX_FRAME *p_frame) in rfc_process_msc()
748 void rfc_process_rls (tRFC_MCB *p_mcb, BOOLEAN is_command, MX_FRAME *p_frame) in rfc_process_rls()
777 void rfc_process_nsc (tRFC_MCB *p_mcb, MX_FRAME *p_frame) in rfc_process_nsc()
792 void rfc_process_test_rsp (tRFC_MCB *p_mcb, BT_HDR *p_buf) in rfc_process_test_rsp()
808 void rfc_process_fcon (tRFC_MCB *p_mcb, BOOLEAN is_command) in rfc_process_fcon()
829 void rfc_process_fcoff (tRFC_MCB *p_mcb, BOOLEAN is_command) in rfc_process_fcoff()
850 void rfc_process_l2cap_congestion (tRFC_MCB *p_mcb, BOOLEAN is_congested) in rfc_process_l2cap_congestion()
Dport_utils.c285 tRFC_MCB *port_find_mcb (BD_ADDR bd_addr) in port_find_mcb()
318 tPORT *port_find_mcb_dlci_port (tRFC_MCB *p_mcb, UINT8 dlci) in port_find_mcb_dlci_port()
Dport_api.c111 tRFC_MCB *p_mcb = port_find_mcb (bd_addr); in RFCOMM_CreateConnection()
516 tRFC_MCB *p_mcb = NULL; in PORT_IsOpening()