Home
last modified time | relevance | path

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

/system/bt/stack/bnep/
Dbnep_main.c55 tBNEP_CB bnep_cb; variable
85 memset(&bnep_cb.l2cap_my_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in bnep_register_with_l2cap()
87 bnep_cb.l2cap_my_cfg.mtu_present = TRUE; in bnep_register_with_l2cap()
88 bnep_cb.l2cap_my_cfg.mtu = BNEP_MTU_SIZE; in bnep_register_with_l2cap()
89 bnep_cb.l2cap_my_cfg.flush_to_present = TRUE; in bnep_register_with_l2cap()
90 bnep_cb.l2cap_my_cfg.flush_to = BNEP_FLUSH_TO; in bnep_register_with_l2cap()
92 bnep_cb.reg_info.pL2CA_ConnectInd_Cb = bnep_connect_ind; in bnep_register_with_l2cap()
93 bnep_cb.reg_info.pL2CA_ConnectCfm_Cb = bnep_connect_cfm; in bnep_register_with_l2cap()
94 bnep_cb.reg_info.pL2CA_ConfigInd_Cb = bnep_config_ind; in bnep_register_with_l2cap()
95 bnep_cb.reg_info.pL2CA_ConfigCfm_Cb = bnep_config_cfm; in bnep_register_with_l2cap()
[all …]
Dbnep_api.c44 memset (&bnep_cb, 0, sizeof (tBNEP_CB)); in BNEP_Init()
47 bnep_cb.trace_level = BNEP_INITIAL_TRACE_LEVEL; in BNEP_Init()
49 bnep_cb.trace_level = BT_TRACE_LEVEL_NONE; /* No traces */ in BNEP_Init()
74 bnep_cb.p_conn_ind_cb = p_reg_info->p_conn_ind_cb; in BNEP_Register()
75 bnep_cb.p_conn_state_cb = p_reg_info->p_conn_state_cb; in BNEP_Register()
76 bnep_cb.p_data_ind_cb = p_reg_info->p_data_ind_cb; in BNEP_Register()
77 bnep_cb.p_data_buf_cb = p_reg_info->p_data_buf_cb; in BNEP_Register()
78 bnep_cb.p_filter_ind_cb = p_reg_info->p_filter_ind_cb; in BNEP_Register()
79 bnep_cb.p_mfilter_ind_cb = p_reg_info->p_mfilter_ind_cb; in BNEP_Register()
80 bnep_cb.p_tx_data_flow_cb = p_reg_info->p_tx_data_flow_cb; in BNEP_Register()
[all …]
Dbnep_utils.c63 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) in bnepu_find_bcb_by_cid()
90 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) in bnepu_find_bcb_by_bd_addr()
119 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) in bnepu_allocate_bcb()
726 if (bnep_cb.p_conn_state_cb) in bnep_process_setup_conn_responce()
727 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, resp, TRUE); in bnep_process_setup_conn_responce()
738 if ((p_bcb->con_flags & BNEP_FLAGS_IS_ORIG) && (bnep_cb.p_conn_state_cb)) in bnep_process_setup_conn_responce()
739 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, resp, FALSE); in bnep_process_setup_conn_responce()
930 if (bnep_cb.p_filter_ind_cb) in bnepu_process_peer_filter_set()
931 (*bnep_cb.p_filter_ind_cb) (p_bcb->handle, TRUE, 0, len, p_filters); in bnepu_process_peer_filter_set()
989 if (bnep_cb.p_filter_ind_cb) in bnepu_process_peer_filter_rsp()
[all …]
Dbnep_int.h195 extern tBNEP_CB bnep_cb;
198 #define bnep_cb (*bnep_cb_ptr)
/system/bt/include/
Dbt_trace.h280 #define BNEP_TRACE_ERROR(...) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR)…
281 #define BNEP_TRACE_WARNING(...) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_WARNIN…
282 #define BNEP_TRACE_API(...) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_API) B…
283 #define BNEP_TRACE_EVENT(...) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_EVENT)…
284 #define BNEP_TRACE_DEBUG(...) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_DEBUG)…