Home
last modified time | relevance | path

Searched refs:gap_cb (Results 1 – 6 of 6) sorted by relevance

/system/bt/stack/gap/
Dgap_api.c25 tGAP_CB gap_cb; variable
40 gap_cb.trace_level = new_level; in GAP_SetTraceLevel()
42 return (gap_cb.trace_level); in GAP_SetTraceLevel()
59 memset (&gap_cb, 0, sizeof (tGAP_CB)); in GAP_Init()
62 gap_cb.trace_level = GAP_INITIAL_TRACE_LEVEL; in GAP_Init()
64 gap_cb.trace_level = BT_TRACE_LEVEL_NONE; /* No traces */ in GAP_Init()
Dgap_conn.c61 gap_cb.conn.reg_info.pAMP_ConnectInd_Cb = gap_connect_ind; in gap_conn_init()
62 gap_cb.conn.reg_info.pAMP_ConnectCfm_Cb = gap_connect_cfm; in gap_conn_init()
63 gap_cb.conn.reg_info.pAMP_ConnectPnd_Cb = NULL; in gap_conn_init()
64 gap_cb.conn.reg_info.pAMP_ConfigInd_Cb = gap_config_ind; in gap_conn_init()
65 gap_cb.conn.reg_info.pAMP_ConfigCfm_Cb = gap_config_cfm; in gap_conn_init()
66 gap_cb.conn.reg_info.pAMP_DisconnectInd_Cb = gap_disconnect_ind; in gap_conn_init()
67 gap_cb.conn.reg_info.pAMP_DisconnectCfm_Cb = NULL; in gap_conn_init()
68 gap_cb.conn.reg_info.pAMP_QoSViolationInd_Cb = NULL; in gap_conn_init()
69 gap_cb.conn.reg_info.pAMP_DataInd_Cb = gap_data_ind; in gap_conn_init()
70 gap_cb.conn.reg_info.pAMP_CongestionStatus_Cb = gap_congestion_ind; in gap_conn_init()
[all …]
Dgap_ble.c77 for (i_clcb = 0, p_clcb= gap_cb.clcb; i_clcb < GAP_MAX_CL; i_clcb++, p_clcb++) in gap_find_clcb_by_bd_addr()
102 for (i_clcb = 0, p_clcb= gap_cb.clcb; i_clcb < GAP_MAX_CL; i_clcb++, p_clcb++) in gap_ble_find_clcb_by_conn_id()
127 for (i_clcb = 0, p_clcb= gap_cb.clcb; i_clcb < GAP_MAX_CL; i_clcb++, p_clcb++) in gap_clcb_alloc()
217 tGAP_ATTR *p_db_attr = gap_cb.gatt_attr; in gap_read_attr_value()
304 tGAP_ATTR *p_db_attr = gap_cb.gatt_attr; in gap_proc_write_req()
385 tGAP_ATTR *p_db_attr = &gap_cb.gatt_attr[0]; in gap_attr_db_init()
390 memset(gap_cb.gatt_attr, 0, sizeof(tGAP_ATTR) *GAP_MAX_CHAR_NUM); in gap_attr_db_init()
392 gap_cb.gatt_if = GATT_Register(&app_uuid, &gap_cback); in gap_attr_db_init()
394 GATT_StartIf(gap_cb.gatt_if); in gap_attr_db_init()
397 service_handle = GATTS_CreateService (gap_cb.gatt_if, &uuid, 0, GAP_MAX_ATTR_NUM, TRUE); in gap_attr_db_init()
[all …]
Dgap_utils.c35 tGAP_INFO *p_cb = &gap_cb.blk[0]; in gap_allocate_cb()
89 tGAP_INFO *p_cb = &gap_cb.blk[0]; in gap_is_service_busy()
Dgap_int.h158 extern tGAP_CB gap_cb;
/system/bt/include/
Dbt_trace.h266 #define GAP_TRACE_ERROR(...) {if (gap_cb.trace_level >= BT_TRACE_LEVEL_ERROR) B…
267 #define GAP_TRACE_EVENT(...) {if (gap_cb.trace_level >= BT_TRACE_LEVEL_EVENT) B…
268 #define GAP_TRACE_API(...) {if (gap_cb.trace_level >= BT_TRACE_LEVEL_API) BT_…
269 #define GAP_TRACE_WARNING(...) {if (gap_cb.trace_level >= BT_TRACE_LEVEL_WARNING)…