Searched refs:bnep_cb (Results 1 – 6 of 6) sorted by relevance
/external/bluetooth/bluedroid/stack/bnep/ |
D | bnep_main.c | 50 tBNEP_CB bnep_cb; variable 82 memset(&bnep_cb.l2cap_my_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in bnep_register_with_l2cap() 84 bnep_cb.l2cap_my_cfg.mtu_present = TRUE; in bnep_register_with_l2cap() 85 bnep_cb.l2cap_my_cfg.mtu = BNEP_MTU_SIZE; in bnep_register_with_l2cap() 86 bnep_cb.l2cap_my_cfg.flush_to_present = TRUE; in bnep_register_with_l2cap() 87 bnep_cb.l2cap_my_cfg.flush_to = BNEP_FLUSH_TO; in bnep_register_with_l2cap() 89 bnep_cb.reg_info.pL2CA_ConnectInd_Cb = bnep_connect_ind; in bnep_register_with_l2cap() 90 bnep_cb.reg_info.pL2CA_ConnectCfm_Cb = bnep_connect_cfm; in bnep_register_with_l2cap() 91 bnep_cb.reg_info.pL2CA_ConfigInd_Cb = bnep_config_ind; in bnep_register_with_l2cap() 92 bnep_cb.reg_info.pL2CA_ConfigCfm_Cb = bnep_config_cfm; in bnep_register_with_l2cap() [all …]
|
D | bnep_api.c | 41 memset (&bnep_cb, 0, sizeof (tBNEP_CB)); in BNEP_Init() 44 bnep_cb.trace_level = BNEP_INITIAL_TRACE_LEVEL; in BNEP_Init() 46 bnep_cb.trace_level = BT_TRACE_LEVEL_NONE; /* No traces */ in BNEP_Init() 50 btu_start_timer (&bnep_cb.bnep_tle, BTU_TTYPE_BNEP, 2); 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() [all …]
|
D | bnep_utils.c | 59 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) in bnepu_find_bcb_by_cid() 86 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) in bnepu_find_bcb_by_bd_addr() 115 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) in bnepu_allocate_bcb() 494 if ((p_src_addr) && (memcmp (p_src_addr, bnep_cb.my_bda, BD_ADDR_LEN))) in bnepu_build_bnep_hdr() 501 p_src_addr = (UINT8 *)bnep_cb.my_bda; in bnepu_build_bnep_hdr() 747 if (bnep_cb.p_conn_state_cb) in bnep_process_setup_conn_responce() 748 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, resp, TRUE); in bnep_process_setup_conn_responce() 759 if ((p_bcb->con_flags & BNEP_FLAGS_IS_ORIG) && (bnep_cb.p_conn_state_cb)) in bnep_process_setup_conn_responce() 760 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, resp, FALSE); in bnep_process_setup_conn_responce() 952 if (bnep_cb.p_filter_ind_cb) in bnepu_process_peer_filter_set() [all …]
|
D | bnep_int.h | 198 BNEP_API extern tBNEP_CB bnep_cb; 201 #define bnep_cb (*bnep_cb_ptr)
|
/external/bluetooth/bluedroid/include/ |
D | bt_trace.h | 1885 #define BNEP_TRACE_ERROR0(m) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 1886 #define BNEP_TRACE_ERROR1(m,p1) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 1887 #define BNEP_TRACE_ERROR2(m,p1,p2) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 1888 #define BNEP_TRACE_ERROR3(m,p1,p2,p3) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 1889 #define BNEP_TRACE_ERROR4(m,p1,p2,p3,p4) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 1890 #define BNEP_TRACE_ERROR5(m,p1,p2,p3,p4,p5) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 1891 #define BNEP_TRACE_ERROR6(m,p1,p2,p3,p4,p5,p6) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 1893 #define BNEP_TRACE_WARNING0(m) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_WARNING… 1894 #define BNEP_TRACE_WARNING1(m,p1) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_WARNING… 1895 #define BNEP_TRACE_WARNING2(m,p1,p2) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_WARNING… [all …]
|
/external/libnfc-nci/src/include/ |
D | bt_trace.h | 1970 #define BNEP_TRACE_ERROR0(m) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 1971 #define BNEP_TRACE_ERROR1(m,p1) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 1972 #define BNEP_TRACE_ERROR2(m,p1,p2) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 1973 #define BNEP_TRACE_ERROR3(m,p1,p2,p3) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 1974 #define BNEP_TRACE_ERROR4(m,p1,p2,p3,p4) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 1975 #define BNEP_TRACE_ERROR5(m,p1,p2,p3,p4,p5) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 1976 #define BNEP_TRACE_ERROR6(m,p1,p2,p3,p4,p5,p6) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 1978 #define BNEP_TRACE_WARNING0(m) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_WARNING… 1979 #define BNEP_TRACE_WARNING1(m,p1) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_WARNING… 1980 #define BNEP_TRACE_WARNING2(m,p1,p2) {if (bnep_cb.trace_level >= BT_TRACE_LEVEL_WARNING… [all …]
|