Home
last modified time | relevance | path

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

/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/gap/
Dgap_api.c27 tGAP_CB gap_cb; variable
45 gap_cb.trace_level = new_level; in GAP_SetTraceLevel()
48 return (gap_cb.trace_level); in GAP_SetTraceLevel()
72 memset (&gap_cb, 0, sizeof (tGAP_CB)); in GAP_Init()
75 gap_cb.trace_level = GAP_INITIAL_TRACE_LEVEL; in GAP_Init()
77 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.c78 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()
101 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()
124 for (i_clcb = 0, p_clcb = gap_cb.clcb; i_clcb < GAP_MAX_CL; i_clcb++, p_clcb++) { in gap_clcb_alloc()
210 tGAP_ATTR *p_db_attr = gap_cb.gap_attr; in gap_read_attr_value()
296 tGAP_ATTR *p_db_attr = gap_cb.gap_attr; in gap_proc_write_req()
398 tGAP_ATTR *p_db_attr = &gap_cb.gap_attr[0]; in gap_attr_db_init()
403 memset(gap_cb.gap_attr, 0, sizeof(tGAP_ATTR) *GAP_MAX_CHAR_NUM); in gap_attr_db_init()
405 gap_cb.gatt_if = GATT_Register(&app_uuid, &gap_cback); in gap_attr_db_init()
407 GATT_StartIf(gap_cb.gatt_if); in gap_attr_db_init()
410 service_handle = GATTS_CreateService (gap_cb.gatt_if, &uuid, 0, GAP_MAX_ATTR_NUM, TRUE); in gap_attr_db_init()
[all …]
Dgap_utils.c36 tGAP_INFO *p_cb = &gap_cb.blk[0]; in gap_allocate_cb()
87 tGAP_INFO *p_cb = &gap_cb.blk[0]; in gap_is_service_busy()
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/gap/include/
Dgap_int.h146 extern tGAP_CB gap_cb;
149 #define gap_cb (*gap_cb_ptr) macro
/hal_espressif-3.7.0/components/bt/host/bluedroid/common/include/common/
Dbt_trace.h251 #define GAP_TRACE_ERROR(fmt, args...) {if (gap_cb.trace_level >= BT_TRACE_LEVEL_ERROR && BT_L…
252 #define GAP_TRACE_API(fmt, args...) {if (gap_cb.trace_level >= BT_TRACE_LEVEL_API && BT_LOG…
253 #define GAP_TRACE_EVENT(fmt, args...) {if (gap_cb.trace_level >= BT_TRACE_LEVEL_EVENT && BT_L…
254 #define GAP_TRACE_WARNING(fmt, args...) {if (gap_cb.trace_level >= BT_TRACE_LEVEL_WARNING && BT…