Home
last modified time | relevance | path

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

/system/bt/stack/gatt/
Dgatt_api.c90 p_buf->asgn_range = *p_hndl_range; in GATTS_AddHandleRange()
165 s_hdl = p_list->asgn_range.s_handle; in GATTS_CreateService()
184 s_hdl = p_list->asgn_range.e_handle + 1; in GATTS_CreateService()
209 p_list->asgn_range.app_uuid128 = *p_app_uuid128; in GATTS_CreateService()
210 p_list->asgn_range.svc_uuid = *p_svc_uuid; in GATTS_CreateService()
211 p_list->asgn_range.svc_inst = svc_inst; in GATTS_CreateService()
212 p_list->asgn_range.s_handle = s_hdl; in GATTS_CreateService()
213 p_list->asgn_range.e_handle = s_hdl+num_handles-1; in GATTS_CreateService()
214 p_list->asgn_range.is_primary = is_pri; in GATTS_CreateService()
221 (*gatt_cb.cb_info.p_nv_save_callback)(TRUE, &p_list->asgn_range); in GATTS_CreateService()
[all …]
Dgatt_utils.c340 if (p_list->in_use && p_list->asgn_range.s_handle == handle) in gatt_find_hdl_buffer_by_handle()
368 if ( gatt_uuid_compare (*p_app_uuid128, p_list->asgn_range.app_uuid128) in gatt_find_hdl_buffer_by_app_id()
369 && gatt_uuid_compare (*p_svc_uuid, p_list->asgn_range.svc_uuid) in gatt_find_hdl_buffer_by_app_id()
370 && (svc_inst == p_list->asgn_range.svc_inst) ) in gatt_find_hdl_buffer_by_app_id()
416 if (memcmp(p_app_id, &p_elem->asgn_range.app_uuid128, sizeof(tBT_UUID)) == 0) in gatt_free_srvc_db_buffer_app_id()
660 if (p_new->asgn_range.s_handle > p_old->asgn_range.s_handle) in gatt_add_an_item_to_list()
1412 memcpy (&p_sreg->app_uuid, &p_list->asgn_range.app_uuid128, sizeof(tBT_UUID)); in gatt_sr_alloc_rcb()
1414 p_sreg->service_instance = p_list->asgn_range.svc_inst; in gatt_sr_alloc_rcb()
1415 …p_sreg->type = p_list->asgn_range.is_primary ? GATT_UUID_PRI_SERVICE: GATT_UUID_SEC… in gatt_sr_alloc_rcb()
1416 p_sreg->s_hdl = p_list->asgn_range.s_handle; in gatt_sr_alloc_rcb()
[all …]
Dgatt_int.h317 tGATTS_HNDL_RANGE asgn_range; /* assigned handle range */ member