• Home
  • Raw
  • Download

Lines Matching refs:lcid

130       uint16_t lcid = L2CA_ConnectReq(BT_PSM_RFCOMM, p_mcb->bd_addr);  in rfc_mx_sm_state_idle()  local
131 if (lcid == 0) { in rfc_mx_sm_state_idle()
134 rfc_save_lcid_mcb(nullptr, p_mcb->lcid); in rfc_mx_sm_state_idle()
135 p_mcb->lcid = 0; in rfc_mx_sm_state_idle()
139 p_mcb->lcid = lcid; in rfc_mx_sm_state_idle()
141 rfc_save_lcid_mcb(p_mcb, p_mcb->lcid); in rfc_mx_sm_state_idle()
222 L2CA_DisconnectReq(p_mcb->lcid); in rfc_mx_sm_state_wait_conn_cnf()
234 rfc_save_lcid_mcb(NULL, p_mcb->lcid); in rfc_mx_sm_state_wait_conn_cnf()
235 p_mcb->lcid = p_mcb->pending_lcid; in rfc_mx_sm_state_wait_conn_cnf()
236 rfc_save_lcid_mcb(p_mcb, p_mcb->lcid); in rfc_mx_sm_state_wait_conn_cnf()
298 L2CA_DisconnectReq(p_mcb->lcid); in rfc_mx_sm_state_configure()
359 L2CA_DisconnectReq(p_mcb->lcid); in rfc_mx_sm_sabme_wait_ua()
421 L2CA_DisconnectReq(p_mcb->lcid); in rfc_mx_sm_state_wait_sabme()
462 L2CA_DisconnectReq(p_mcb->lcid); in rfc_mx_sm_state_connected()
491 L2CA_DisconnectReq(p_mcb->lcid); in rfc_mx_sm_state_disc_wait_ua()
495 uint16_t lcid = L2CA_ConnectReq(BT_PSM_RFCOMM, p_mcb->bd_addr); in rfc_mx_sm_state_disc_wait_ua() local
496 if (lcid == 0) { in rfc_mx_sm_state_disc_wait_ua()
497 rfc_save_lcid_mcb(NULL, p_mcb->lcid); in rfc_mx_sm_state_disc_wait_ua()
498 p_mcb->lcid = 0; in rfc_mx_sm_state_disc_wait_ua()
502 p_mcb->lcid = lcid; in rfc_mx_sm_state_disc_wait_ua()
504 rfc_save_lcid_mcb(p_mcb, p_mcb->lcid); in rfc_mx_sm_state_disc_wait_ua()
561 void rfc_on_l2cap_error(uint16_t lcid, uint16_t result) { in rfc_on_l2cap_error() argument
562 tRFC_MCB* p_mcb = rfc_find_lcid_mcb(lcid); in rfc_on_l2cap_error()
574 rfc_save_lcid_mcb(NULL, p_mcb->lcid); in rfc_on_l2cap_error()
576 p_mcb->lcid = p_mcb->pending_lcid; in rfc_on_l2cap_error()
581 rfc_save_lcid_mcb(p_mcb, p_mcb->lcid); in rfc_on_l2cap_error()
606 p_mcb->lcid = lcid; in rfc_on_l2cap_error()
615 L2CA_DisconnectReq(p_mcb->lcid); in rfc_on_l2cap_error()