Searched refs:s_hdl (Results 1 – 6 of 6) sorted by relevance
/system/bt/stack/gatt/ |
D | gatt_sr.c | 507 UINT8 op_code, UINT16 s_hdl, in gatt_build_primary_service_rsp() argument 528 p_rcb->s_hdl >= s_hdl && in gatt_build_primary_service_rsp() 529 p_rcb->s_hdl <= e_hdl && in gatt_build_primary_service_rsp() 557 UINT16_TO_STREAM(p, p_rcb->s_hdl); in gatt_build_primary_service_rsp() 600 UINT16 s_hdl, UINT16 e_hdl) in gatt_build_find_info_rsp() argument 623 if (p_attr->handle >= s_hdl) in gatt_build_find_info_rsp() 685 UINT16 uuid_len, s_hdl = 0, e_hdl = 0; in gatts_validate_packet_format() local 692 STREAM_TO_UINT16(s_hdl, p); in gatts_validate_packet_format() 696 if (s_hdl > e_hdl || !GATT_HANDLE_IS_VALID(s_hdl) || !GATT_HANDLE_IS_VALID(e_hdl)) in gatts_validate_packet_format() 728 *p_s_hdl = s_hdl; in gatts_validate_packet_format() [all …]
|
D | gatt_api.c | 146 UINT16 s_hdl=0; in GATTS_CreateService() local 165 s_hdl = p_list->asgn_range.s_handle; in GATTS_CreateService() 172 s_hdl= gatt_cb.hdl_cfg.gatt_start_hdl; in GATTS_CreateService() 176 s_hdl= gatt_cb.hdl_cfg.gap_start_hdl; in GATTS_CreateService() 184 s_hdl = p_list->asgn_range.e_handle + 1; in GATTS_CreateService() 187 if (s_hdl < gatt_cb.hdl_cfg.app_start_hdl) in GATTS_CreateService() 190 s_hdl= gatt_cb.hdl_cfg.app_start_hdl; in GATTS_CreateService() 196 if (num_handles > (0xFFFF - s_hdl + 1)) in GATTS_CreateService() 198 … GATT_TRACE_ERROR ("GATTS_ReserveHandles: no handles, s_hdl: %u needed: %u", s_hdl, num_handles); in GATTS_CreateService() 212 p_list->asgn_range.s_handle = s_hdl; in GATTS_CreateService() [all …]
|
D | gatt_db.c | 63 UINT16 s_hdl, UINT16 num_handle) in gatts_init_service_db() argument 74 GATT_TRACE_DEBUG("s_hdl = %d num_handle = %d", s_hdl, num_handle ); in gatts_init_service_db() 77 p_db->next_handle = s_hdl; in gatts_init_service_db() 78 p_db->end_handle = s_hdl + num_handle; in gatts_init_service_db()
|
D | att_protocol.c | 128 BT_HDR *attp_build_browse_cmd(UINT8 op_code, UINT16 s_hdl, UINT16 e_hdl, tBT_UUID uuid) in attp_build_browse_cmd() argument 139 UINT16_TO_STREAM(p, s_hdl); in attp_build_browse_cmd()
|
D | gatt_int.h | 237 UINT16 s_hdl; /* service starting handle */ member 334 UINT16 s_hdl; member 677 …rvice_db (tGATT_SVC_DB *p_db, tBT_UUID *p_service, BOOLEAN is_pri, UINT16 s_hdl, UINT16 num_handle…
|
D | gatt_utils.c | 505 gatt_cb.srv_list[i_sreg].s_hdl = gatt_cb.sr_reg[i_sreg].s_hdl; in gatts_update_srv_list_elem() 553 if (p_new->s_hdl < p_old->s_hdl) in gatt_add_a_srv_to_list() 1345 gatt_cb.sr_reg[i_rcb].s_hdl <= handle && in gatt_sr_find_i_rcb_by_handle() 1415 p_sreg->s_hdl = p_list->asgn_range.s_handle; in gatt_sr_alloc_rcb()
|