Searched refs:p_srvc_cb (Results 1 – 6 of 6) sorted by relevance
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/gatt/ |
D | bta_gattc_cache.c | 46 static void bta_gattc_char_dscpt_disc_cmpl(UINT16 conn_id, tBTA_GATTC_SERV *p_srvc_cb); 174 tBTA_GATT_STATUS bta_gattc_init_cache(tBTA_GATTC_SERV *p_srvc_cb) in bta_gattc_init_cache() argument 176 if (p_srvc_cb->p_srvc_cache != NULL) { in bta_gattc_init_cache() 177 list_free(p_srvc_cb->p_srvc_cache); in bta_gattc_init_cache() 178 p_srvc_cb->p_srvc_cache = NULL; in bta_gattc_init_cache() 181 osi_free(p_srvc_cb->p_srvc_list); in bta_gattc_init_cache() 183 …if ((p_srvc_cb->p_srvc_list = (tBTA_GATTC_ATTR_REC *)osi_malloc(BTA_GATTC_ATTR_LIST_SIZE)) == NULL… in bta_gattc_init_cache() 187 p_srvc_cb->total_srvc = 0; in bta_gattc_init_cache() 188 p_srvc_cb->cur_srvc_idx = 0; in bta_gattc_init_cache() 189 p_srvc_cb->cur_char_idx = 0; in bta_gattc_init_cache() [all …]
|
D | bta_gatts_main.c | 67 tBTA_GATTS_SRVC_CB *p_srvc_cb = NULL; in bta_gatts_hdl_event() local 111 p_srvc_cb = bta_gatts_find_srvc_cb_by_attr_id(p_cb, attr_id); in bta_gatts_hdl_event() 112 bta_gatts_set_attr_value(p_srvc_cb, (tBTA_GATTS_DATA *) p_msg); in bta_gatts_hdl_event() 124 p_srvc_cb = bta_gatts_find_srvc_cb_by_srvc_id(p_cb, in bta_gatts_hdl_event() 127 if (p_srvc_cb != NULL) { in bta_gatts_hdl_event() 128 …bta_gatts_srvc_build_act[p_msg->event - BTA_GATTS_API_ADD_INCL_SRVC_EVT](p_srvc_cb, (tBTA_GATTS_DA… in bta_gatts_hdl_event()
|
D | bta_gatts_act.c | 370 void bta_gatts_add_include_srvc(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA *p_msg) in bta_gatts_add_include_srvc() argument 372 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; in bta_gatts_add_include_srvc() 402 void bta_gatts_add_char(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA *p_msg) in bta_gatts_add_char() argument 404 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; in bta_gatts_add_char() 454 void bta_gatts_add_char_descr(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA *p_msg) in bta_gatts_add_char_descr() argument 456 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; in bta_gatts_add_char_descr() 505 void bta_gatts_set_attr_value(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA *p_msg) in bta_gatts_set_attr_value() argument 507 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; in bta_gatts_set_attr_value() 508 UINT16 service_id = p_srvc_cb->service_id; in bta_gatts_set_attr_value() 544 void bta_gatts_delete_service(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA *p_msg) in bta_gatts_delete_service() argument [all …]
|
D | bta_gattc_act.c | 1781 tBTA_GATTC_SERV *p_srvc_cb = bta_gattc_find_srvr_cache(p_msg->api_conn.remote_bda); in bta_gattc_process_api_refresh() local 1787 if (p_srvc_cb != NULL) { in bta_gattc_process_api_refresh() 1789 if (p_srvc_cb->connected && p_srvc_cb->num_clcb != 0) { in bta_gattc_process_api_refresh() 1791 if (p_clcb->in_use && p_clcb->p_srcb == p_srvc_cb) { in bta_gattc_process_api_refresh() 1805 if (p_srvc_cb->p_srvc_cache != NULL) { in bta_gattc_process_api_refresh() 1806 list_free(p_srvc_cb->p_srvc_cache); in bta_gattc_process_api_refresh() 1807 p_srvc_cb->p_srvc_cache = NULL; in bta_gattc_process_api_refresh() 1902 tBTA_GATTC_SERV *p_srvc_cb = bta_gattc_find_srvr_cache(p_msg->api_conn.remote_bda); in bta_gattc_process_api_cache_clean() local 1905 if (p_srvc_cb != NULL && p_srvc_cb->p_srvc_cache != NULL) { in bta_gattc_process_api_cache_clean() 1907 list_free(p_srvc_cb->p_srvc_cache); in bta_gattc_process_api_cache_clean() [all …]
|
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/gatt/include/ |
D | bta_gatts_int.h | 236 extern void bta_gatts_add_include_srvc(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA *p_msg); 237 extern void bta_gatts_add_char(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA *p_msg); 238 extern void bta_gatts_add_char_descr(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA *p_msg); 239 extern void bta_gatts_set_attr_value(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA *p_msg); 241 extern void bta_gatts_delete_service(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA *p_msg); 242 extern void bta_gatts_start_service(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA *p_msg); 243 extern void bta_gatts_stop_service(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA *p_msg);
|
D | bta_gattc_int.h | 544 extern tBTA_GATT_STATUS bta_gattc_init_cache(tBTA_GATTC_SERV *p_srvc_cb); 546 extern void bta_gattc_cache_save(tBTA_GATTC_SERV *p_srvc_cb, UINT16 conn_id);
|