Lines Matching refs:start_handle
1846 uint16_t start_handle; member
1908 pdu.start_handle = sys_cpu_to_le16(handle); in bt_gatt_attr_read_included()
1909 value_len = sizeof(pdu.start_handle) + sizeof(pdu.end_handle); in bt_gatt_attr_read_included()
1985 uint16_t handle, uint16_t start_handle, in gatt_foreach_iter() argument
1999 if (handle < start_handle) { in gatt_foreach_iter()
2024 static void foreach_attr_type_dyndb(uint16_t start_handle, uint16_t end_handle, in foreach_attr_type_dyndb() argument
2039 if (next->attrs[0].handle <= start_handle) { in foreach_attr_type_dyndb()
2048 start_handle, in foreach_attr_type_dyndb()
2061 void bt_gatt_foreach_attr_type(uint16_t start_handle, uint16_t end_handle, in bt_gatt_foreach_attr_type() argument
2072 if (start_handle <= last_static_handle) { in bt_gatt_foreach_attr_type()
2077 if (handle + static_svc->attr_count < start_handle) { in bt_gatt_foreach_attr_type()
2084 handle, start_handle, in bt_gatt_foreach_attr_type()
2096 foreach_attr_type_dyndb(start_handle, end_handle, uuid, attr_data, in bt_gatt_foreach_attr_type()
2855 uint16_t start_handle = bt_gatt_attr_value_handle(attr); in bt_gatt_find_by_uuid() local
2856 uint16_t end_handle = start_handle && attr_count ? in bt_gatt_find_by_uuid()
2857 start_handle + attr_count : 0xffff; in bt_gatt_find_by_uuid()
2859 bt_gatt_foreach_attr_type(start_handle, end_handle, uuid, NULL, 1, in bt_gatt_find_by_uuid()
3799 params->start_handle = last_handle; in gatt_discover_next()
3800 if (params->start_handle < UINT16_MAX) { in gatt_discover_next()
3801 params->start_handle++; in gatt_discover_next()
3807 if (params->start_handle > params->end_handle) { in gatt_discover_next()
3828 uint16_t end_handle = 0U, start_handle; in gatt_find_type_rsp() local
3844 start_handle = sys_le16_to_cpu(rsp[i].start_handle); in gatt_find_type_rsp()
3847 LOG_DBG("start_handle 0x%04x end_handle 0x%04x", start_handle, end_handle); in gatt_find_type_rsp()
3862 .handle = start_handle, in gatt_find_type_rsp()
3885 req->start_handle = sys_cpu_to_le16(params->start_handle); in gatt_find_type_encode()
3897 params->start_handle, params->end_handle); in gatt_find_type_encode()
3955 value.start_handle = params->_included.start_handle; in read_included_uuid_cb()
3963 bt_uuid_str(&u.uuid), value.start_handle, value.end_handle); in read_included_uuid_cb()
3980 gatt_discover_next(conn, params->start_handle, params); in read_included_uuid_cb()
3992 req->handle = sys_cpu_to_le16(params->_included.start_handle); in read_included_uuid_encode()
4000 LOG_DBG("handle 0x%04x", params->_included.start_handle); in read_included_uuid()
4061 value.start_handle = sys_le16_to_cpu(incl->start_handle); in parse_include()
4071 params->_included.start_handle = value.start_handle; in parse_include()
4079 value.start_handle, value.end_handle); in parse_include()
4345 req->start_handle = sys_cpu_to_le16(params->start_handle); in gatt_read_type_encode()
4367 LOG_DBG("start_handle 0x%04x end_handle 0x%04x", params->start_handle, params->end_handle); in gatt_read_type()
4379 uint16_t start_handle, end_handle = 0U; in parse_service() local
4414 start_handle = sys_le16_to_cpu(data->start_handle); in parse_service()
4415 if (!start_handle) { in parse_service()
4420 if (!end_handle || end_handle < start_handle) { in parse_service()
4434 LOG_DBG("start_handle 0x%04x end_handle 0x%04x uuid %s", start_handle, end_handle, in parse_service()
4448 attr.handle = start_handle; in parse_service()
4495 req->start_handle = sys_cpu_to_le16(params->start_handle); in gatt_read_group_encode()
4510 LOG_DBG("start_handle 0x%04x end_handle 0x%04x", params->start_handle, params->end_handle); in gatt_read_group()
4648 req->start_handle = sys_cpu_to_le16(params->start_handle); in gatt_find_info_encode()
4657 LOG_DBG("start_handle 0x%04x end_handle 0x%04x", params->start_handle, params->end_handle); in gatt_find_info()
4670 __ASSERT((params->start_handle && params->end_handle), in bt_gatt_discover()
4672 __ASSERT((params->start_handle <= params->end_handle), in bt_gatt_discover()
4724 const uint16_t req_start_handle = params->by_uuid.start_handle; in parse_read_by_uuid()
4756 params->by_uuid.start_handle = handle; in parse_read_by_uuid()
4769 if (params->by_uuid.start_handle == params->by_uuid.end_handle) { in parse_read_by_uuid()
4774 params->by_uuid.start_handle++; in parse_read_by_uuid()
4857 req->start_handle = sys_cpu_to_le16(params->by_uuid.start_handle); in gatt_read_uuid_encode()
4872 LOG_DBG("start_handle 0x%04x end_handle 0x%04x uuid %s", params->by_uuid.start_handle, in gatt_read_uuid()
5419 params->disc_params->start_handle = params->value_handle; in gatt_ccc_discover()