Home
last modified time | relevance | path

Searched refs:fixed_cid (Results 1 – 5 of 5) sorted by relevance

/system/bt/stack/l2cap/
Dl2c_api.c1362 BOOLEAN L2CA_RegisterFixedChannel (UINT16 fixed_cid, tL2CAP_FIXED_CHNL_REG *p_freg) in L2CA_RegisterFixedChannel() argument
1364 if ( (fixed_cid < L2CAP_FIRST_FIXED_CHNL) || (fixed_cid > L2CAP_LAST_FIXED_CHNL) ) in L2CA_RegisterFixedChannel()
1366 L2CAP_TRACE_ERROR ("L2CA_RegisterFixedChannel() Invalid CID: 0x%04x", fixed_cid); in L2CA_RegisterFixedChannel()
1371 l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL] = *p_freg; in L2CA_RegisterFixedChannel()
1387 BOOLEAN L2CA_ConnectFixedChnl (UINT16 fixed_cid, BD_ADDR rem_bda) in L2CA_ConnectFixedChnl() argument
1392 L2CAP_TRACE_API ("%s() CID: 0x%04x BDA: %08x%04x", __func__, fixed_cid, in L2CA_ConnectFixedChnl()
1396 if ( (fixed_cid < L2CAP_FIRST_FIXED_CHNL) || (fixed_cid > L2CAP_LAST_FIXED_CHNL) in L2CA_ConnectFixedChnl()
1397 || (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == NULL) ) in L2CA_ConnectFixedChnl()
1399 L2CAP_TRACE_ERROR ("%s() Invalid CID: 0x%04x", __func__, fixed_cid); in L2CA_ConnectFixedChnl()
1406 L2CAP_TRACE_WARNING ("%s(0x%04x) - BTU not ready", __func__, fixed_cid); in L2CA_ConnectFixedChnl()
[all …]
Dl2c_int.h606 extern BOOLEAN l2cu_initialize_fixed_ccb (tL2C_LCB *p_lcb, UINT16 fixed_cid, tL2CAP_FCR_OPTS *p_fcr…
632 extern BOOLEAN l2cu_initialize_fixed_ccb (tL2C_LCB *p_lcb, UINT16 fixed_cid, tL2CAP_FCR_OPTS *p_fcr…
Dl2c_utils.c2681 BOOLEAN l2cu_initialize_fixed_ccb (tL2C_LCB *p_lcb, UINT16 fixed_cid, tL2CAP_FCR_OPTS *p_fcr) in l2cu_initialize_fixed_ccb() argument
2687 if (p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL] != NULL) in l2cu_initialize_fixed_ccb()
2696 p_ccb->local_cid = fixed_cid; in l2cu_initialize_fixed_ccb()
2697 p_ccb->remote_cid = fixed_cid; in l2cu_initialize_fixed_ccb()
2720 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL] = p_ccb; in l2cu_initialize_fixed_ccb()
2728 …p_ccb->fixed_chnl_idle_tout = l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].default_idle_tout; in l2cu_initialize_fixed_ccb()
/system/bt/stack/include/
Dl2c_api.h985 extern BOOLEAN L2CA_RegisterFixedChannel (UINT16 fixed_cid, tL2CAP_FIXED_CHNL_REG *p_freg);
999 extern BOOLEAN L2CA_ConnectFixedChnl (UINT16 fixed_cid, BD_ADDR bd_addr);
1015 extern UINT16 L2CA_SendFixedChnlData (UINT16 fixed_cid, BD_ADDR rem_bda, BT_HDR *p_buf);
1030 extern BOOLEAN L2CA_RemoveFixedChnl (UINT16 fixed_cid, BD_ADDR rem_bda);
1049 extern BOOLEAN L2CA_SetFixedChannelTout (BD_ADDR rem_bda, UINT16 fixed_cid, UINT16 idle_tout);
/system/bt/stack/smp/
Dsmp_utils.c284 UINT16 fixed_cid = L2CAP_SMP_CID; in smp_send_msg_to_L2CAP() local
288 fixed_cid = L2CAP_SMP_BR_CID; in smp_send_msg_to_L2CAP()
294 if ((l2cap_ret = L2CA_SendFixedChnlData (fixed_cid, rem_bda, p_toL2CAP)) == L2CAP_DW_FAILED) in smp_send_msg_to_L2CAP()