/Zephyr-latest/subsys/bluetooth/audio/ |
D | gmap_server.c | 313 gmas.attr_count = 3; /* service + 2 attributes for BT_UUID_GMAP_ROLE */ in update_service() 318 memcpy(&gmas.attrs[gmas.attr_count], ugg_feat_chrc, sizeof(ugg_feat_chrc)); in update_service() 319 gmas.attr_count += ARRAY_SIZE(ugg_feat_chrc); in update_service() 325 memcpy(&gmas.attrs[gmas.attr_count], ugt_feat_chrc, sizeof(ugt_feat_chrc)); in update_service() 326 gmas.attr_count += ARRAY_SIZE(ugt_feat_chrc); in update_service() 332 memcpy(&gmas.attrs[gmas.attr_count], bgs_feat_chrc, sizeof(bgs_feat_chrc)); in update_service() 333 gmas.attr_count += ARRAY_SIZE(bgs_feat_chrc); in update_service() 339 memcpy(&gmas.attrs[gmas.attr_count], bgr_feat_chrc, sizeof(bgr_feat_chrc)); in update_service() 340 gmas.attr_count += ARRAY_SIZE(bgr_feat_chrc); in update_service()
|
D | csip_set_member.c | 702 for (size_t i = 4U; i < svc->attr_count; i++) { in remove_csis_char() 713 if (i == (svc->attr_count - (attrs_to_rem - 1))) { in remove_csis_char() 720 for (size_t j = i - 1U; j < svc->attr_count - attrs_to_rem; j++) { in remove_csis_char() 725 svc->attr_count -= attrs_to_rem; in remove_csis_char()
|
D | tbs.c | 68 size_t attr_count; member 181 for (size_t j = 0; j < inst->attr_count; j++) { in inst_check_attr() 1532 inst->attr_count = svc->attr_count; in tbs_inst_init_and_register()
|
D | has.c | 1791 hearing_aid_features_attr = bt_gatt_find_by_uuid(has_svc.attrs, has_svc.attr_count, in bt_has_register() 1797 preset_control_point_attr = bt_gatt_find_by_uuid(has_svc.attrs, has_svc.attr_count, in bt_has_register() 1801 active_preset_index_attr = bt_gatt_find_by_uuid(has_svc.attrs, has_svc.attr_count, in bt_has_register()
|
D | vocs.c | 441 for (int i = 1; i < inst->service_p->attr_count; i++) { in bt_vocs_register()
|
D | ascs.c | 3160 ascs_svc.attr_count -= attrs_to_rem; in configure_ase_char() 3170 ascs_svc.attr_count -= attrs_to_rem; in configure_ase_char() 3176 size_t src_start_idx = ascs_svc.attr_count - (src_cnt * ASCS_ASE_CHAR_ATTR_COUNT); in configure_ase_char() 3184 ascs_svc.attr_count -= attrs_to_rem; in configure_ase_char()
|
D | aics.c | 543 for (int i = 1; i < aics->srv.service_p->attr_count; i++) { in bt_aics_register()
|
/Zephyr-latest/tests/bluetooth/audio/mocks/src/ |
D | gatt.c | 263 for (i = 0; i < svc->attr_count; i++) { in foreach_attr_type_dyndb() 294 if (handle + static_svc->attr_count < start_handle) { in bt_gatt_foreach_attr_type() 295 handle += static_svc->attr_count; in bt_gatt_foreach_attr_type() 299 for (i = 0; i < static_svc->attr_count; i++, handle++) { in bt_gatt_foreach_attr_type() 324 last_static_handle += svc->attr_count; in bt_gatt_service_init() 379 uint16_t count = svc->attr_count; in gatt_register() 388 handle = last->attrs[last->attr_count - 1].handle; in gatt_register() 430 __ASSERT(svc->attr_count, "invalid parameters\n"); in bt_gatt_service_register()
|
/Zephyr-latest/tests/bluetooth/gatt/src/ |
D | main.c | 177 for (int j = 0; j < local_test_svc.attr_count; j++) { in ZTEST() 189 for (int j = 0; j < local_test_svc.attr_count; j++) { in ZTEST() 238 for (int i = 0; i < prealloc_test_svc.attr_count; i++) { in ZTEST() 241 for (int i = 0; i < prealloc_test1_svc.attr_count; i++) { in ZTEST() 252 for (int i = 0; i < prealloc_test_svc.attr_count; i++) { in ZTEST() 301 for (int j = 0; j < prealloc_test_svc.attr_count; j++) { in ZTEST() 312 for (int i = 0; i < prealloc_test_svc.attr_count; i++) { in ZTEST()
|
/Zephyr-latest/subsys/bluetooth/services/nus/ |
D | nus_inst.c | 22 for (size_t i = 0 ; i < instance->svc->attr_count ; i++) { in bt_nus_inst_get_from_attr()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/sc_indicate/src/ |
D | peripheral.c | 44 .attr_count = ARRAY_SIZE(attrs),
|
/Zephyr-latest/include/zephyr/bluetooth/classic/ |
D | sdp.h | 304 size_t attr_count; /**< Number of attributes */ member 458 .attr_count = ARRAY_SIZE((_attrs)), \
|
/Zephyr-latest/subsys/bluetooth/services/bas/ |
D | bas.c | 134 if (index < bas.attr_count) { in bt_bas_get_bas_attr()
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | gatt.h | 319 size_t attr_count; member 327 size_t attr_count; member 703 uint16_t attr_count, 818 .attr_count = ARRAY_SIZE(_attrs), \
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/open_close/src/ |
D | main.c | 62 .attr_count = ARRAY_SIZE(attrs),
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/long_read/ |
D | main.c | 91 .attr_count = ARRAY_SIZE(attrs),
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/timeout/ |
D | main.c | 72 .attr_count = ARRAY_SIZE(attrs),
|
/Zephyr-latest/subsys/bluetooth/host/shell/ |
D | gatt.c | 676 uint16_t attr_count; member 687 stats.attr_count++; in print_attr() 735 if (!stats.attr_count) { in cmd_show_db() 742 total_len += stats.attr_count * sizeof(struct bt_gatt_attr); in cmd_show_db() 747 stats.svc_count, stats.attr_count, total_len); in cmd_show_db()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | att_internal.h | 338 void bt_att_increment_tx_meta_data_attr_count(struct net_buf *buf, uint16_t attr_count);
|
D | gatt.c | 1248 uint16_t count = svc->attr_count; in gatt_register() 1257 handle = last->attrs[last->attr_count - 1].handle; in gatt_register() 1502 last_static_handle += svc->attr_count; in bt_gatt_service_init() 1679 for (uint16_t i = 0; i < svc->attr_count; i++) { in gatt_unregister() 1702 __ASSERT(svc->attr_count, "invalid parameters\n"); in bt_gatt_service_register() 1735 svc->attrs[svc->attr_count - 1].handle); in bt_gatt_service_register() 1756 sc_end_handle = svc->attrs[svc->attr_count - 1].handle; in bt_gatt_service_unregister() 1882 (attr > &static_svc->attrs[static_svc->attr_count - 1])) { in bt_gatt_attr_get_handle() 1883 handle += static_svc->attr_count; in bt_gatt_attr_get_handle() 1887 for (size_t i = 0; i < static_svc->attr_count; i++, handle++) { in bt_gatt_attr_get_handle() [all …]
|
D | att.c | 90 uint16_t attr_count; member 629 uint16_t attr_count = data->attr_count; in chan_req_notif_sent() local 640 for (uint16_t i = 0; i < attr_count; i++) { in chan_req_notif_sent() 4109 data->attr_count = 1; in bt_att_set_tx_meta_data() 4113 void bt_att_increment_tx_meta_data_attr_count(struct net_buf *buf, uint16_t attr_count) in bt_att_increment_tx_meta_data_attr_count() argument 4117 data->attr_count += attr_count; in bt_att_increment_tx_meta_data_attr_count()
|
/Zephyr-latest/samples/bluetooth/peripheral/src/ |
D | main.c | 435 vnd_ind_attr = bt_gatt_find_by_uuid(vnd_svc.attrs, vnd_svc.attr_count, in main()
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_gatt.c | 62 #define LAST_DB_ATTR (server_db + (attr_count - 1)) 72 static uint8_t attr_count; variable 191 attr_count++; in gatt_db_add() 276 (attr_count - svc_attr_count); in register_service() 277 server_svcs[svc_count].attr_count = svc_attr_count; in register_service() 697 if (!svc_count || attr_count < 3) { in add_descriptor()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/peripheral/src/ |
D | main.c | 412 vnd_attr = bt_gatt_find_by_uuid(vnd_svc.attrs, vnd_svc.attr_count, &vnd_enc_uuid.uuid); in test_peripheral_main()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/central/src/ |
D | main.c | 665 vnd_attr = bt_gatt_find_by_uuid(vnd_svc.attrs, vnd_svc.attr_count, &vnd_enc_uuid.uuid); in test_central_main()
|