Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_utils.c237 if ((p_clcb->p_srcb = bta_gattc_find_srcb(remote_bda)) == NULL) { in bta_gattc_clcb_alloc()
238 p_clcb->p_srcb = bta_gattc_srcb_alloc(remote_bda); in bta_gattc_clcb_alloc()
241 if (p_clcb->p_rcb != NULL && p_clcb->p_srcb != NULL) { in bta_gattc_clcb_alloc()
242 p_clcb->p_srcb->num_clcb ++; in bta_gattc_clcb_alloc()
285 tBTA_GATTC_SERV *p_srcb = NULL; in bta_gattc_clcb_dealloc() local
288 p_srcb = p_clcb->p_srcb; in bta_gattc_clcb_dealloc()
289 if (p_srcb->num_clcb) { in bta_gattc_clcb_dealloc()
290 p_srcb->num_clcb --; in bta_gattc_clcb_dealloc()
298 if ( p_srcb->num_clcb == 0) { in bta_gattc_clcb_dealloc()
299 p_srcb->connected = FALSE; in bta_gattc_clcb_dealloc()
[all …]
Dbta_gattc_act.c112 void bta_gattc_reset_discover_st(tBTA_GATTC_SERV *p_srcb, tBTA_GATT_STATUS status);
707 APPL_TRACE_DEBUG("bta_gattc_conn server cache state=%d", p_clcb->p_srcb->state); in bta_gattc_conn()
717 p_clcb->p_srcb->connected = TRUE; in bta_gattc_conn()
719 if (p_clcb->p_srcb->mtu == 0) { in bta_gattc_conn()
720 p_clcb->p_srcb->mtu = GATT_DEF_BLE_MTU_SIZE; in bta_gattc_conn()
724 if (p_clcb->p_srcb->p_srvc_cache == NULL || in bta_gattc_conn()
725 p_clcb->p_srcb->state != BTA_GATTC_SERV_IDLE) { in bta_gattc_conn()
726 if (p_clcb->p_srcb->state == BTA_GATTC_SERV_IDLE) { in bta_gattc_conn()
728 p_clcb->p_srcb->state = BTA_GATTC_SERV_LOAD; in bta_gattc_conn()
730 p_clcb->p_srcb->state = BTA_GATTC_SERV_IDLE; in bta_gattc_conn()
[all …]
Dbta_gattc_cache.c55 tBTA_GATTC_DESCRIPTOR* bta_gattc_get_descriptor_srcb(tBTA_GATTC_SERV *p_srcb, UINT16 handle);
56 tBTA_GATTC_CHARACTERISTIC* bta_gattc_get_characteristic_srcb(tBTA_GATTC_SERV *p_srcb, UINT16 handl…
626 L2CA_EnableUpdateBleConnParams(p_clcb->p_srcb->server_bda, TRUE); in bta_gattc_explore_srvc()
637 p_clcb->p_srcb->state = BTA_GATTC_SERV_SAVE; in bta_gattc_explore_srvc()
638 bta_gattc_cache_save(p_clcb->p_srcb, p_clcb->bta_conn_id); in bta_gattc_explore_srvc()
640 bta_gattc_reset_discover_st(p_clcb->p_srcb, BTA_GATT_OK); in bta_gattc_explore_srvc()
1103 if (!p_clcb->p_srcb->p_srvc_cache || list_is_empty(p_clcb->p_srcb->p_srvc_cache)) { in bta_gattc_search_service()
1107 for (list_node_t *sn = list_begin(p_clcb->p_srcb->p_srvc_cache); in bta_gattc_search_service()
1108 sn != list_end(p_clcb->p_srcb->p_srvc_cache); sn = list_next(sn)) { in bta_gattc_search_service()
1137 list_t* bta_gattc_get_services_srcb(tBTA_GATTC_SERV *p_srcb) { in bta_gattc_get_services_srcb() argument
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/include/
Dbta_gattc_int.h367 tBTA_GATTC_SERV *p_srcb; /* server cache CB */ member
530 extern BOOLEAN bta_gattc_check_notif_registry(tBTA_GATTC_RCB *p_clreg, tBTA_GATTC_SERV *p_srcb, tB…
534 extern void bta_gattc_clear_notif_registration(tBTA_GATTC_SERV *p_srcb, UINT16 conn_id, UINT16 star…
546 tBTA_GATTC_CHARACTERISTIC* bta_gattc_get_characteristic_srcb(tBTA_GATTC_SERV *p_srcb, UINT16 handl…
571 extern void bta_gattc_reset_discover_st(tBTA_GATTC_SERV *p_srcb, tBTA_GATT_STATUS status);