/Zephyr-latest/tests/bluetooth/common/testlib/src/ |
D | connect.c | 50 uint8_t conn_index; in bt_testlib_connect() local 68 conn_index = bt_conn_index(*connp); in bt_testlib_connect() 69 LOG_INF("bt_conn_le_create ok conn %u", conn_index); in bt_testlib_connect() 93 LOG_INF("conn %u: connected", conn_index); in bt_testlib_connect() 96 LOG_INF("conn %u: timed out", conn_index); in bt_testlib_connect() 102 LOG_ERR("conn %u: BT_HCI_ERR_ 0x%02x", conn_index, err); in bt_testlib_connect()
|
D | conn_ref.c | 58 struct bt_conn *bt_testlib_conn_unindex(enum bt_conn_type conn_type, uint8_t conn_index) in bt_testlib_conn_unindex() argument 61 .wanted_index = conn_index, in bt_testlib_conn_unindex()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | csip_set_coordinator.c | 57 uint8_t conn_index; in connected_cb() local 67 conn_index = bt_conn_index(conn); in connected_cb() 69 shell_print(ctx_shell, "[%u]: Connected to %s", conn_index, addr); in connected_cb() 73 conns[conn_index] = bt_conn_ref(conn); in connected_cb() 74 shell_print(ctx_shell, "Member[%u] connected", conn_index); in connected_cb() 79 uint8_t conn_index = bt_conn_index(conn); in disconnected_cb() local 81 bt_conn_unref(conns[conn_index]); in disconnected_cb() 82 conns[conn_index] = NULL; in disconnected_cb() 94 uint8_t conn_index; in csip_discover_cb() local 106 conn_index = bt_conn_index(conn); in csip_discover_cb() [all …]
|
D | bap.c | 885 uint8_t conn_index = bt_conn_index(stream->conn); in stream_dir() local 888 for (size_t i = 0; i < ARRAY_SIZE(snks[conn_index]); i++) { in stream_dir() 889 const struct bt_bap_ep *snk_ep = snks[conn_index][i]; in stream_dir() 898 for (size_t i = 0; i < ARRAY_SIZE(srcs[conn_index]); i++) { in stream_dir() 899 const struct bt_bap_ep *src_ep = srcs[conn_index][i]; in stream_dir() 925 const uint8_t conn_index = bt_conn_index(conn); in add_sink() local 927 for (size_t i = 0U; i < ARRAY_SIZE(snks[conn_index]); i++) { in add_sink() 928 if (snks[conn_index][i] == NULL) { in add_sink() 931 snks[conn_index][i] = ep; in add_sink() 943 const uint8_t conn_index = bt_conn_index(conn); in add_source() local [all …]
|
D | cap_initiator.c | 671 size_t chan_cnt, size_t conn_index, size_t ep_index) in set_codec_config() argument 690 if (conn_index == 0) { in set_codec_config() 692 } else if (conn_index == 1) { in set_codec_config() 734 conn_index, ep_index, chan_alloc, new_chan_alloc); in set_codec_config()
|
/Zephyr-latest/samples/bluetooth/central_multilink/src/ |
D | central_multilink.c | 122 uint8_t conn_index; in mtu_exchange() local 125 conn_index = bt_conn_index(conn); in mtu_exchange() 127 printk("MTU (%u): %u\n", conn_index, bt_gatt_get_mtu(conn)); in mtu_exchange() 129 mtu_exchange_params[conn_index].func = mtu_exchange_cb; in mtu_exchange() 131 err = bt_gatt_exchange_mtu(conn, &mtu_exchange_params[conn_index]); in mtu_exchange()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_csip.c | 97 uint8_t conn_index; in csip_discover_cb() local 109 conn_index = bt_conn_index(conn); in csip_discover_cb() 111 LOG_DBG("Found %zu sets on member[%u]", set_count, conn_index); in csip_discover_cb() 126 btp_csip_set_members[conn_index] = member; in csip_discover_cb() 128 csip_inst = bt_csip_set_coordinator_lookup_instance_by_index(conn, conn_index); in csip_discover_cb()
|
D | btp_cap.c | 300 for (size_t conn_index = 0; conn_index < ARRAY_SIZE(btp_csip_set_members); conn_index++) { in btp_cap_unicast_audio_start() local 301 struct btp_bap_unicast_connection *u_conn = btp_bap_unicast_conn_get(conn_index); in btp_cap_unicast_audio_start() 419 for (size_t conn_index = 0; conn_index < ARRAY_SIZE(btp_csip_set_members); conn_index++) { in btp_cap_unicast_audio_stop() local 420 struct btp_bap_unicast_connection *u_conn = btp_bap_unicast_conn_get(conn_index); in btp_cap_unicast_audio_stop()
|
D | btp_bap_unicast.h | 51 struct btp_bap_unicast_connection *btp_bap_unicast_conn_get(size_t conn_index);
|
D | btp_bap_unicast.c | 1619 struct btp_bap_unicast_connection *btp_bap_unicast_conn_get(size_t conn_index) in btp_bap_unicast_conn_get() argument 1621 return &connections[conn_index]; in btp_bap_unicast_conn_get()
|
/Zephyr-latest/tests/bluetooth/common/testlib/include/testlib/ |
D | conn.h | 124 struct bt_conn *bt_testlib_conn_unindex(enum bt_conn_type conn_type, uint8_t conn_index);
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | cap_initiator_unicast_test.c | 280 const uint8_t conn_index = bt_conn_index(conn); in add_remote_sink() local 282 for (size_t i = 0U; i < ARRAY_SIZE(unicast_sink_eps[conn_index]); i++) { in add_remote_sink() 283 if (unicast_sink_eps[conn_index][i] == NULL) { in add_remote_sink() 284 printk("Conn[%u] %p: Sink #%zu: ep %p\n", conn_index, conn, i, ep); in add_remote_sink() 285 unicast_sink_eps[conn_index][i] = ep; in add_remote_sink() 295 const uint8_t conn_index = bt_conn_index(conn); in add_remote_source() local 297 for (size_t i = 0U; i < ARRAY_SIZE(unicast_source_eps[conn_index]); i++) { in add_remote_source() 298 if (unicast_source_eps[conn_index][i] == NULL) { in add_remote_source() 299 printk("Conn[%u] %p: Source #%zu: ep %p\n", conn_index, conn, i, ep); in add_remote_source() 300 unicast_source_eps[conn_index][i] = ep; in add_remote_source() [all …]
|
D | csip_set_coordinator_test.c | 80 uint8_t conn_index; in csip_discover_cb() local 89 conn_index = bt_conn_index(conn); in csip_discover_cb() 124 set_members[conn_index] = member; in csip_discover_cb()
|
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/src/ |
D | main.c | 437 int conn_index; local 482 conn_index = chan = conn_count; 488 for (int chan = 0, conn_index = 0; local 489 (conn_index < conn_count) && (chan < CONFIG_BT_ISO_MAX_CHAN); 490 conn_index++, chan++) { 493 for (int chan = 0, conn_index = 0; 500 iso_connect_param.acl = conn_list[conn_index];
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | tbs_client.c | 171 uint8_t conn_index; in lookup_inst_by_handle() local 177 conn_index = bt_conn_index(conn); in lookup_inst_by_handle() 178 srv_inst = &srv_insts[conn_index]; in lookup_inst_by_handle() 1537 const uint8_t conn_index = bt_conn_index(conn); in tbs_client_disc_read_ccid() local 1538 struct bt_tbs_server_inst *srv_inst = &srv_insts[conn_index]; in tbs_client_disc_read_ccid() 1558 const uint8_t conn_index = bt_conn_index(conn); in discover_func() local 1559 struct bt_tbs_server_inst *srv_inst = &srv_insts[conn_index]; in discover_func() 1745 uint8_t conn_index = bt_conn_index(conn); in discover_next_instance() local 1746 struct bt_tbs_server_inst *srv_inst = &srv_insts[conn_index]; in discover_next_instance() 1798 const uint8_t conn_index = bt_conn_index(conn); in primary_discover_tbs_cb() local [all …]
|
D | csip_set_coordinator.c | 125 uint8_t conn_index; in lookup_instance_by_handle() local 131 conn_index = bt_conn_index(conn); in lookup_instance_by_handle() 132 client = &client_insts[conn_index]; in lookup_instance_by_handle() 147 uint8_t conn_index; in bt_csip_set_coordinator_lookup_instance_by_index() local 155 conn_index = bt_conn_index(conn); in bt_csip_set_coordinator_lookup_instance_by_index() 156 client = &client_insts[conn_index]; in bt_csip_set_coordinator_lookup_instance_by_index()
|
D | vcp_vol_ctlr.c | 363 uint8_t conn_index = bt_conn_index(conn); in vcs_discover_include_func() local 383 vol_ctlr_insts[conn_index].aics[inst_idx], in vcs_discover_include_func() 408 vol_ctlr_insts[conn_index].vocs[inst_idx], in vcs_discover_include_func()
|
D | bap_unicast_client.c | 205 const uint8_t conn_index = bt_conn_index(conn); in audio_stream_by_ep_id() local 211 for (size_t i = 0U; i < ARRAY_SIZE(uni_cli_insts[conn_index].snks); i++) { in audio_stream_by_ep_id() 213 &uni_cli_insts[conn_index].snks[i]; in audio_stream_by_ep_id() 222 for (size_t i = 0U; i < ARRAY_SIZE(uni_cli_insts[conn_index].srcs); i++) { in audio_stream_by_ep_id() 224 &uni_cli_insts[conn_index].srcs[i]; in audio_stream_by_ep_id()
|