Home
last modified time | relevance | path

Searched refs:start_handle (Results 1 – 25 of 65) sorted by relevance

123

/Zephyr-latest/tests/bluetooth/audio/mocks/src/
Dgatt.c205 uint16_t handle, uint16_t start_handle, in gatt_foreach_iter() argument
219 if (handle < start_handle) { in gatt_foreach_iter()
245 static void foreach_attr_type_dyndb(uint16_t start_handle, uint16_t end_handle, in foreach_attr_type_dyndb() argument
258 if (next->attrs[0].handle <= start_handle) { in foreach_attr_type_dyndb()
266 if (gatt_foreach_iter(attr, attr->handle, start_handle, end_handle, uuid, in foreach_attr_type_dyndb()
276 void bt_gatt_foreach_attr_type(uint16_t start_handle, uint16_t end_handle, in bt_gatt_foreach_attr_type() argument
289 if (start_handle <= last_static_handle) { in bt_gatt_foreach_attr_type()
294 if (handle + static_svc->attr_count < start_handle) { in bt_gatt_foreach_attr_type()
301 handle, start_handle, in bt_gatt_foreach_attr_type()
315 foreach_attr_type_dyndb(start_handle, end_handle, uuid, attr_data, in bt_gatt_foreach_attr_type()
[all …]
/Zephyr-latest/tests/bluetooth/common/testlib/include/testlib/
Datt_read.h15 const struct bt_uuid *type, uint16_t start_handle,
32 uint16_t start_handle, uint16_t end_handle);
41 const struct bt_uuid *uuid, uint16_t start_handle,
/Zephyr-latest/tests/bluetooth/common/testlib/src/
Datt_read.c51 *ctx->result_handle = params->by_uuid.start_handle; in att_read_cb()
125 const struct bt_uuid *type, uint16_t start_handle, in bt_testlib_att_read_by_type_sync() argument
135 .start_handle = start_handle, in bt_testlib_att_read_by_type_sync()
245 uint16_t start_handle, uint16_t end_handle) in bt_testlib_gatt_discover_primary() argument
254 .start_handle = start_handle, in bt_testlib_gatt_discover_primary()
265 __ASSERT_NO_MSG(IN_RANGE(start_handle, BT_ATT_FIRST_ATTRIBUTE_HANDLE, in bt_testlib_gatt_discover_primary()
344 const struct bt_uuid *uuid, uint16_t start_handle, in bt_testlib_gatt_discover_characteristic() argument
361 .start_handle = start_handle, in bt_testlib_gatt_discover_characteristic()
372 __ASSERT_NO_MSG(IN_RANGE(start_handle, BT_ATT_FIRST_ATTRIBUTE_HANDLE, in bt_testlib_gatt_discover_characteristic()
/Zephyr-latest/tests/bluetooth/tester/src/btp/
Dbtp_gatt.h87 uint16_t start_handle; member
140 uint16_t start_handle; member
151 uint16_t start_handle; member
162 uint16_t start_handle; member
171 uint16_t start_handle; member
199 uint16_t start_handle; member
295 uint16_t start_handle; member
328 uint16_t start_handle; member
/Zephyr-latest/subsys/bluetooth/audio/
Dcsip_internal.h33 uint16_t start_handle; member
53 bt_csip_set_coordinator_csis_inst_by_handle(struct bt_conn *conn, uint16_t start_handle);
Dmicp_mic_ctlr.c349 .start_handle = include->start_handle, in micp_discover_include_func()
356 mic_ctlr->discover_params.start_handle = attr->handle + 1; in micp_discover_include_func()
393 mic_ctlr->discover_params.start_handle = mic_ctlr->start_handle; in micp_discover_func()
471 mic_ctlr->start_handle = attr->handle + 1; in primary_discover_func()
476 mic_ctlr->discover_params.start_handle = mic_ctlr->start_handle; in primary_discover_func()
495 mic_ctlr->start_handle = 0; in micp_mic_ctlr_reset()
592 mic_ctlr->discover_params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in bt_micp_mic_ctlr_discover()
Dmicp_internal.h30 uint16_t start_handle; member
Dvcp_vol_ctlr.c372 .start_handle = include->start_handle, in vcs_discover_include_func()
379 vol_ctlr->discover_params.start_handle = attr->handle + 1; in vcs_discover_include_func()
397 .start_handle = include->start_handle, in vcs_discover_include_func()
404 vol_ctlr->discover_params.start_handle = attr->handle + 1; in vcs_discover_include_func()
443 vol_ctlr->discover_params.start_handle = vol_ctlr->start_handle; in vcs_discover_func()
532 vol_ctlr->start_handle = attr->handle + 1; in primary_discover_func()
537 vol_ctlr->discover_params.start_handle = vol_ctlr->start_handle; in primary_discover_func()
849 vol_ctlr->start_handle = 0; in vcp_vol_ctlr_reset()
981 vol_ctlr->discover_params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in bt_vcp_vol_ctlr_discover()
Dvocs_client.c48 insts[i].start_handle <= handle && insts[i].end_handle >= handle) { in lookup_vocs_by_handle()
381 if (inst->start_handle == 0) { in vocs_discover_func()
382 inst->start_handle = chrc->value_handle; in vocs_discover_func()
706 inst->start_handle = 0; in vocs_client_reset()
739 CHECKIF(param->end_handle < param->start_handle) { in bt_vocs_discover()
740 LOG_DBG("start_handle (%u) shall be less than end_handle (%u)", param->start_handle, in bt_vocs_discover()
758 inst->discover_params.start_handle = param->start_handle; in bt_vocs_discover()
/Zephyr-latest/samples/bluetooth/encrypted_advertising/central/src/
Dcentral_ead.c198 gatt_read_handle = params->by_uuid.start_handle; in gatt_read_cb()
211 uint16_t start_handle, uint16_t end_handle, uint8_t *buf) in gatt_read() argument
221 params.by_uuid.start_handle = start_handle; in gatt_read()
278 uint16_t *start_handle, uint16_t *end_handle) in gatt_discover_primary_service() argument
284 params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in gatt_discover_primary_service()
299 *start_handle = gatt_disc_start_handle; in gatt_discover_primary_service()
460 uint16_t start_handle; in run_central_sample() local
496 err = gatt_discover_primary_service(default_conn, BT_UUID_CUSTOM_SERVICE, &start_handle, in run_central_sample()
504 err = gatt_read(default_conn, BT_UUID_GATT_EDKM, sizeof(keymat), start_handle, end_handle, in run_central_sample()
/Zephyr-latest/subsys/bluetooth/host/
Datt_internal.h56 uint16_t start_handle; member
84 uint16_t start_handle; member
91 uint16_t start_handle; member
104 uint16_t start_handle; member
163 uint16_t start_handle; member
169 uint16_t start_handle; member
Datt.c1079 static uint8_t att_find_info_rsp(struct bt_att_chan *chan, uint16_t start_handle, in att_find_info_rsp() argument
1092 bt_gatt_foreach_attr(start_handle, end_handle, find_info_cb, &data); in att_find_info_rsp()
1097 send_err_rsp(chan, BT_ATT_OP_FIND_INFO_REQ, start_handle, in att_find_info_rsp()
1110 uint16_t start_handle, end_handle, err_handle; in att_find_info_req() local
1114 start_handle = sys_le16_to_cpu(req->start_handle); in att_find_info_req()
1117 LOG_DBG("start_handle 0x%04x end_handle 0x%04x", start_handle, end_handle); in att_find_info_req()
1119 if (!range_is_valid(start_handle, end_handle, &err_handle)) { in att_find_info_req()
1125 return att_find_info_rsp(chan, start_handle, end_handle); in att_find_info_req()
1221 data->group->start_handle = sys_cpu_to_le16(handle); in find_type_cb()
1232 static uint8_t att_find_type_rsp(struct bt_att_chan *chan, uint16_t start_handle, in att_find_type_rsp() argument
[all …]
Dgatt.c1846 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()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dpacs_notify_client_test.c28 uint16_t start_handle; member
113 pacs_instance.discover_params.start_handle = attr->handle + 2; in discover_supported_contexts()
151 pacs_instance.discover_params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in discover_and_subscribe_supported_contexts()
180 pacs_instance.discover_params.start_handle = attr->handle + 2; in discover_available_contexts()
218 pacs_instance.discover_params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in discover_and_subscribe_available_contexts()
247 pacs_instance.discover_params.start_handle = attr->handle + 2; in discover_src_loc()
285 pacs_instance.discover_params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in discover_and_subscribe_src_loc()
314 pacs_instance.discover_params.start_handle = attr->handle + 2; in discover_snk_loc()
352 pacs_instance.discover_params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in discover_and_subscribe_snk_loc()
381 pacs_instance.discover_params.start_handle = attr->handle + 2; in discover_pacs_src()
[all …]
/Zephyr-latest/samples/bluetooth/central_otc/src/
Dmain.c374 discover_params.start_handle = attr->handle + 1; in discover_func()
387 discover_params.start_handle = attr->handle + 1; in discover_func()
400 discover_params.start_handle = attr->handle + 1; in discover_func()
413 discover_params.start_handle = attr->handle + 1; in discover_func()
426 discover_params.start_handle = attr->handle + 1; in discover_func()
439 discover_params.start_handle = attr->handle + 1; in discover_func()
452 discover_params.start_handle = attr->handle + 1; in discover_func()
464 discover_params.start_handle = attr->handle + 1; in discover_func()
521 discover_params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in connected()
637 otc.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in bt_otc_init()
/Zephyr-latest/tests/bsim/bluetooth/samples/battery_service/src/
Dcentral_test.c89 .by_uuid.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE,
109 .by_uuid.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE,
523 discover_params.start_handle = attr->handle + 1; in discover_func()
537 discover_params.start_handle = attr->handle + 1; in discover_func()
550 discover_params.start_handle = attr->handle + 1; in discover_func()
573 discover_params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in discover_bas_service()
/Zephyr-latest/samples/bluetooth/mtu_update/central/src/
Dcentral_mtu_update.c79 discover_params.start_handle = attr->handle + 1; in discover_func()
88 discover_params.start_handle = attr->handle + 2; in discover_func()
214 discover_params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in connected()
/Zephyr-latest/subsys/bluetooth/mesh/
Dgatt_cli.c113 server->discover.start_handle = attr->handle + 1; in discover_func()
125 server->discover.start_handle = server->svc_start_handle + 1; in discover_func()
135 server->discover.start_handle = attr->handle + 2; in discover_func()
203 server->discover.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in gatt_connected()
/Zephyr-latest/tests/bluetooth/audio/cap_commander/uut/
Dcsip.c32 bt_csip_set_coordinator_csis_inst_by_handle(struct bt_conn *conn, uint16_t start_handle) in bt_csip_set_coordinator_csis_inst_by_handle() argument
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/uut/
Dcsip.c40 bt_csip_set_coordinator_csis_inst_by_handle(struct bt_conn *conn, uint16_t start_handle) in bt_csip_set_coordinator_csis_inst_by_handle() argument
/Zephyr-latest/samples/bluetooth/central_hr/src/
Dmain.c66 discover_params.start_handle = attr->handle + 1; in discover_func()
77 discover_params.start_handle = attr->handle + 2; in discover_func()
237 discover_params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in connected()
/Zephyr-latest/samples/bluetooth/central_ht/src/
Dmain.c89 discover_params.start_handle = attr->handle + 1; in discover_func()
100 discover_params.start_handle = attr->handle + 2; in discover_func()
149 discover_params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in connected()
/Zephyr-latest/include/zephyr/bluetooth/
Dgatt.h345 uint16_t start_handle; member
655 void bt_gatt_foreach_attr_type(uint16_t start_handle, uint16_t end_handle,
670 static inline void bt_gatt_foreach_attr(uint16_t start_handle, uint16_t end_handle, in bt_gatt_foreach_attr() argument
674 bt_gatt_foreach_attr_type(start_handle, end_handle, NULL, NULL, 0, func, in bt_gatt_foreach_attr()
1672 uint16_t start_handle; member
1677 uint16_t start_handle; member
1787 uint16_t start_handle; member
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_gatt.c1061 service->start_handle = sys_cpu_to_le16(attr->handle); in disc_prim_cb()
1096 discover_params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in disc_all_prim()
1142 discover_params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in disc_prim_uuid()
1189 included->service.start_handle = sys_cpu_to_le16(data->start_handle); in find_included_cb()
1223 discover_params.start_handle = sys_le16_to_cpu(cp->start_handle); in find_included()
1301 discover_params.start_handle = sys_le16_to_cpu(cp->start_handle); in disc_all_chrc()
1348 discover_params.start_handle = sys_le16_to_cpu(cp->start_handle); in disc_chrc_uuid()
1425 discover_params.start_handle = sys_le16_to_cpu(cp->start_handle); in disc_all_desc()
1501 value.handle = params->by_uuid.start_handle; in read_uuid_cb()
1587 read_params.by_uuid.start_handle = sys_le16_to_cpu(cp->start_handle); in read_uuid()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/sc_indicate/src/
Dcentral.c101 params->start_handle = attr->handle + 2; in discover_func()
129 discover_params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in gatt_discover()

123