Home
last modified time | relevance | path

Searched refs:clcb (Results 1 – 9 of 9) sorted by relevance

/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/esp/wechat_AirSync/
Dwx_airsync_prf.c76 if (airsync_cb_env.clcb.connected && airsync_cb_env.enabled) { in airsync_profile_cb()
86 if (airsync_cb_env.clcb.connected && airsync_cb_env.enabled) { in airsync_profile_cb()
98 airsync_cb_env.clcb.cur_srvc_id = p_data->create.service_id; in airsync_profile_cb()
103 esp_ble_gatts_add_char(airsync_cb_env.clcb.cur_srvc_id, &uuid, in airsync_profile_cb()
116 esp_ble_gatts_add_char(airsync_cb_env.clcb.cur_srvc_id, &uuid, in airsync_profile_cb()
122 esp_ble_gatts_add_char_descr (airsync_cb_env.clcb.cur_srvc_id, in airsync_profile_cb()
128 esp_ble_gatts_add_char(airsync_cb_env.clcb.cur_srvc_id, &uuid, in airsync_profile_cb()
147 airsync_cb_env.clcb.connected = false; in airsync_profile_cb()
152 … if (airsync_cb_env.clcb.connected && (airsync_cb_env.clcb.conn_id == p_data->conn.conn_id)) { in airsync_profile_cb()
154 airsync_cb_env.clcb.congest = p_data->congest.congested; in airsync_profile_cb()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/esp/ble_button/
Dbutton_pro.c121 button_cb_env.clcb.cur_srvc_id = p_data->create.service_id; in button_profile_cb()
127 esp_ble_gatts_add_char(button_cb_env.clcb.cur_srvc_id, &uuid, in button_profile_cb()
140 esp_ble_gatts_add_char(button_cb_env.clcb.cur_srvc_id, &uuid, in button_profile_cb()
146 esp_ble_gatts_add_char_descr (button_cb_env.clcb.cur_srvc_id, in button_profile_cb()
169 button_cb_env.clcb.connected = false; in button_profile_cb()
176 if (button_cb_env.clcb.connected && (button_cb_env.clcb.conn_id == p_data->conn.conn_id)) { in button_profile_cb()
178 button_cb_env.clcb.congest = p_data->congest.congested; in button_profile_cb()
226 p_clcb = &button_cb_env.clcb; in button_env_clcb_alloc()
253 for (i_clcb = 0, p_clcb = &button_cb_env.clcb; i_clcb < BUTT_MAX_APPS; i_clcb++, p_clcb++) { in button_env_find_conn_id_by_bd_adddr()
277 for (i_clcb = 0, p_clcb = &button_cb_env.clcb; i_clcb < 1; i_clcb++, p_clcb++) { in button_env_clcb_dealloc()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_act.c295 if (p_cb->clcb[i].in_use && (p_cb->clcb[i].p_rcb == p_clreg)) { in bta_gattc_deregister()
299 buf.layer_specific = p_cb->clcb[i].bta_conn_id; in bta_gattc_deregister()
300 bta_gattc_close(&p_cb->clcb[i], (tBTA_GATTC_DATA *)&buf) ; in bta_gattc_deregister()
845 if (p_cb->clcb[i].p_srcb == p_srcb) { in bta_gattc_reset_discover_st()
846 p_cb->clcb[i].status = status; in bta_gattc_reset_discover_st()
847 bta_gattc_sm_execute(&p_cb->clcb[i], BTA_GATTC_DISCOVER_CMPL_EVT, NULL); in bta_gattc_reset_discover_st()
896 if (p_cb->clcb[i].p_srcb == p_srcb) { in bta_gattc_set_discover_st()
897 p_cb->clcb[i].status = BTA_GATT_OK; in bta_gattc_set_discover_st()
898 p_cb->clcb[i].state = BTA_GATTC_DISCOVER_ST; in bta_gattc_set_discover_st()
1773 tBTA_GATTC_CLCB *p_clcb = &bta_gattc_cb.clcb[0]; in bta_gattc_process_api_refresh()
[all …]
Dbta_gattc_utils.c171 tBTA_GATTC_CLCB *p_clcb = &bta_gattc_cb.clcb[0]; in bta_gattc_find_clcb_by_cif()
195 tBTA_GATTC_CLCB *p_clcb = &bta_gattc_cb.clcb[0]; in bta_gattc_find_clcb_by_conn_id()
223 if (!bta_gattc_cb.clcb[i_clcb].in_use) { in bta_gattc_clcb_alloc()
227 p_clcb = &bta_gattc_cb.clcb[i_clcb]; in bta_gattc_clcb_alloc()
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/esp/include/
Dwx_airsync_prf.h88 tAirSync_CLCB clcb; /* connection link*/ member
Dbutton_pro.h96 but_clcb_t clcb; /* connection link*/ member
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gap/include/
Dgap_int.h140 tGAP_CLCB clcb[GAP_MAX_CL]; /* connection link*/ member
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gap/
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()
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/gatt/include/
Dbta_gattc_int.h400 tBTA_GATTC_CLCB clcb[BTA_GATTC_CLCB_MAX]; member