Searched refs:srvc_idx (Results 1 – 1 of 1) sorted by relevance
129 uint8_t srvc_idx = bta_gatts_alloc_srvc_cb(&bta_gatts_cb, rcb_idx); in bta_gatts_add_service_impl() local130 if (srvc_idx == BTA_GATTS_INVALID_APP) { in bta_gatts_add_service_impl()137 memset(&bta_gatts_cb.srvc_cb[srvc_idx], 0, sizeof(tBTA_GATTS_SRVC_CB)); in bta_gatts_add_service_impl()143 bta_gatts_cb.srvc_cb[srvc_idx].service_uuid = service[0].uuid; in bta_gatts_add_service_impl()146 bta_gatts_cb.srvc_cb[srvc_idx].service_id = service[0].attribute_handle; in bta_gatts_add_service_impl()147 bta_gatts_cb.srvc_cb[srvc_idx].idx = srvc_idx; in bta_gatts_add_service_impl()