Lines Matching refs:lcid
124 uint16_t lcid = L2CA_ConnectReq(BT_PSM_RFCOMM, p_mcb->bd_addr); in rfc_mx_sm_state_idle() local
125 if (lcid == 0) { in rfc_mx_sm_state_idle()
128 rfc_save_lcid_mcb(nullptr, p_mcb->lcid); in rfc_mx_sm_state_idle()
129 p_mcb->lcid = 0; in rfc_mx_sm_state_idle()
133 p_mcb->lcid = lcid; in rfc_mx_sm_state_idle()
135 rfc_save_lcid_mcb(p_mcb, p_mcb->lcid); in rfc_mx_sm_state_idle()
151 L2CA_ConnectRsp(p_mcb->bd_addr, *((uint8_t*)p_data), p_mcb->lcid, in rfc_mx_sm_state_idle()
221 L2CA_DisconnectReq(p_mcb->lcid); in rfc_mx_sm_state_wait_conn_cnf()
233 rfc_save_lcid_mcb(NULL, p_mcb->lcid); in rfc_mx_sm_state_wait_conn_cnf()
234 p_mcb->lcid = p_mcb->pending_lcid; in rfc_mx_sm_state_wait_conn_cnf()
235 rfc_save_lcid_mcb(p_mcb, p_mcb->lcid); in rfc_mx_sm_state_wait_conn_cnf()
297 L2CA_DisconnectReq(p_mcb->lcid); in rfc_mx_sm_state_configure()
358 L2CA_DisconnectReq(p_mcb->lcid); in rfc_mx_sm_sabme_wait_ua()
420 L2CA_DisconnectReq(p_mcb->lcid); in rfc_mx_sm_state_wait_sabme()
461 L2CA_DisconnectReq(p_mcb->lcid); in rfc_mx_sm_state_connected()
490 L2CA_DisconnectReq(p_mcb->lcid); in rfc_mx_sm_state_disc_wait_ua()
494 uint16_t lcid = L2CA_ConnectReq(BT_PSM_RFCOMM, p_mcb->bd_addr); in rfc_mx_sm_state_disc_wait_ua() local
495 if (lcid == 0) { in rfc_mx_sm_state_disc_wait_ua()
496 rfc_save_lcid_mcb(NULL, p_mcb->lcid); in rfc_mx_sm_state_disc_wait_ua()
497 p_mcb->lcid = 0; in rfc_mx_sm_state_disc_wait_ua()
501 p_mcb->lcid = lcid; in rfc_mx_sm_state_disc_wait_ua()
503 rfc_save_lcid_mcb(p_mcb, p_mcb->lcid); in rfc_mx_sm_state_disc_wait_ua()
572 L2CA_ConfigReq(p_mcb->lcid, &cfg); in rfc_mx_send_config_req()
596 L2CA_DisconnectReq(p_mcb->lcid); in rfc_mx_conf_cnf()
641 L2CA_ConfigRsp(p_mcb->lcid, p_cfg); in rfc_mx_conf_ind()