Home
last modified time | relevance | path

Searched refs:hd_cb (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/stack/hid/
Dhidd_conn.c73 p_hcon = &hd_cb.device.conn; in hidd_check_config_done()
77 hd_cb.device.state = HIDD_DEV_CONNECTED; in hidd_check_config_done()
78 hd_cb.callback(hd_cb.device.addr, HID_DHOST_EVT_OPEN, 0, NULL); in hidd_check_config_done()
80 if (hd_cb.pending_data) { in hidd_check_config_done()
81 L2CA_DataWrite(p_hcon->intr_cid, hd_cb.pending_data); in hidd_check_config_done()
82 hd_cb.pending_data = NULL; in hidd_check_config_done()
104 L2CA_ConfigReq(p_dev->conn.ctrl_cid, &hd_cb.l2cap_cfg); in hidd_sec_check_complete()
136 L2CA_ConfigReq(p_dev->conn.ctrl_cid, &hd_cb.l2cap_cfg); in hidd_sec_check_complete_orig()
158 p_dev = &hd_cb.device; in hidd_l2cif_connect_ind()
159 if (!hd_cb.allow_incoming) { in hidd_l2cif_connect_ind()
[all …]
Dhidd_api.c41 tHID_DEV_CTB hd_cb; variable
65 memset(&hd_cb, 0, sizeof(tHID_DEV_CTB)); in HID_DevInit()
67 hd_cb.trace_level = HIDD_INITIAL_TRACE_LEVEL; in HID_DevInit()
69 hd_cb.trace_level = BT_TRACE_LEVEL_NONE; in HID_DevInit()
107 hd_cb.trace_level = new_level; in HID_DevSetTraceLevel()
110 return (hd_cb.trace_level); in HID_DevSetTraceLevel()
127 if (hd_cb.reg_flag) { in HID_DevRegister()
139 hd_cb.callback = host_cback; in HID_DevRegister()
140 hd_cb.reg_flag = TRUE; in HID_DevRegister()
142 if (hd_cb.pending_data) { in HID_DevRegister()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/hid/include/
Dhid_int.h132 extern tHID_DEV_CTB hd_cb;
135 #define hd_cb (*hidd_cb_ptr)
/hal_espressif-latest/components/bt/host/bluedroid/common/include/common/
Dbt_trace.h264 #define HIDD_TRACE_ERROR(fmt, args...) {if (hd_cb.trace_level >= BT_TRACE_LEVEL_ERROR && BT_LO…
265 #define HIDD_TRACE_WARNING(fmt, args...) {if (hd_cb.trace_level >= BT_TRACE_LEVEL_WARNING && BT_…
266 #define HIDD_TRACE_API(fmt, args...) {if (hd_cb.trace_level >= BT_TRACE_LEVEL_API && BT_LOG_…
267 #define HIDD_TRACE_EVENT(fmt, args...) {if (hd_cb.trace_level >= BT_TRACE_LEVEL_EVENT && BT_LO…
268 #define HIDD_TRACE_DEBUG(fmt, args...) {if (hd_cb.trace_level >= BT_TRACE_LEVEL_DEBUG && BT_LO…
269 #define HIDD_TRACE_VERBOSE(fmt, args...) {if (hd_cb.trace_level >= BT_TRACE_LEVEL_VERBOSE && BT_…