Home
last modified time | relevance | path

Searched refs:rcb_idx (Results 1 – 3 of 3) sorted by relevance

/system/bt/bta/gatt/
Dbta_gatts_act.c330 UINT8 rcb_idx; in bta_gatts_create_srvc() local
337 rcb_idx = bta_gatts_find_app_rcb_idx_by_app_if(p_cb, p_msg->api_create_svc.server_if); in bta_gatts_create_srvc()
339 APPL_TRACE_ERROR("create service rcb_idx = %d", rcb_idx); in bta_gatts_create_srvc()
341 if (rcb_idx != BTA_GATTS_INVALID_APP) in bta_gatts_create_srvc()
343 if ((srvc_idx = bta_gatts_alloc_srvc_cb(p_cb, rcb_idx)) != BTA_GATTS_INVALID_APP) in bta_gatts_create_srvc()
346 service_id = GATTS_CreateService (p_cb->rcb[rcb_idx].gatt_if, in bta_gatts_create_srvc()
363 cb_data.create.server_if = p_cb->rcb[rcb_idx].gatt_if; in bta_gatts_create_srvc()
374 if (p_cb->rcb[rcb_idx].p_cback) in bta_gatts_create_srvc()
375 (* p_cb->rcb[rcb_idx].p_cback)(BTA_GATTS_CREATE_EVT, &cb_data); in bta_gatts_create_srvc()
393 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; in bta_gatts_add_include_srvc()
[all …]
Dbta_gatts_utils.c64 UINT8 bta_gatts_alloc_srvc_cb(tBTA_GATTS_CB *p_cb, UINT8 rcb_idx) in bta_gatts_alloc_srvc_cb() argument
73 p_cb->srvc_cb[i].rcb_idx = rcb_idx; in bta_gatts_alloc_srvc_cb()
Dbta_gatts_int.h195 UINT8 rcb_idx; member
254 extern UINT8 bta_gatts_alloc_srvc_cb(tBTA_GATTS_CB *p_cb, UINT8 rcb_idx);