<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Connect several nrf5340 DK Audio together</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94494/connect-several-nrf5340-dk-audio-together</link><description>Hi, 
 We have 3 nrf5340 Audio DKs we want to connect together. One of the devices is connected as central and the two others are connected as peripheal. By know, the two peripheal-devices can stream audio, one at the time, to the central. We want the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Dec 2022 13:55:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94494/connect-several-nrf5340-dk-audio-together" /><item><title>RE: Connect several nrf5340 DK Audio together</title><link>https://devzone.nordicsemi.com/thread/400398?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2022 13:55:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de4c7ab5-2853-4e87-b7d2-38ad393b2744</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Asbjørn&lt;/p&gt;
&lt;p&gt;The top folder (the one containing the other subfolders like nrf, zephyr etc) can be&amp;nbsp;named anything you like, but the nrf folder itself should not be renamed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As an example this is how it looks for me:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1670939200933v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I created a new folder called D:\ncs\rick_dual_bis_demo, and then I ran the earlier mentioned west commands from within that folder to set up a new nRF Connect SDK instance based on&amp;nbsp;Rick&amp;#39;s changes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The nrf repository/folder is the manifest repository, which means it contains the manifest file that west uses to download the right version of the various other repositories, including Zephyr.&amp;nbsp;&lt;br /&gt;It also contains most of the Nordic unique libraries and samples, such as the 5340 LE Audio application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you still having issues getting the example to build?&amp;nbsp;&lt;br /&gt;If so I will check with Rick how much work it is to integrate his example with the standard v2.2.0 release of the nRF Connect SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect several nrf5340 DK Audio together</title><link>https://devzone.nordicsemi.com/thread/400201?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2022 15:12:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49df12f0-6db7-407b-8315-82615444c8e1</guid><dc:creator>Asbjorn Bjorkkjar</dc:creator><description>&lt;p&gt;Ok.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I install the SDK at nrf Connect, but this gateway-demo is placed in a different folder named nordic_devzone. Is this a problem? Should I make some changes in the root folder?&lt;/p&gt;
&lt;p&gt;What is the difference/necessity of the nrf-folder?&lt;br /&gt;&lt;br /&gt;Asbj&amp;oslash;rn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect several nrf5340 DK Audio together</title><link>https://devzone.nordicsemi.com/thread/400077?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2022 09:27:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9958b9f-a9b8-4661-aec7-c2721ced95a5</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Asbjørn&lt;/p&gt;
&lt;p&gt;How did you install the SDK?&amp;nbsp;&lt;br /&gt;The folder naming is a bit untraditional...&lt;/p&gt;
&lt;p&gt;To set up the nRF Connect SDK in the standard way, using the right repository and branch for this demo, you can run the following commands from an empty folder:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="bat"&gt;west init -m https://github.com/rick1082/sdk-nrf/ --mr dual_gateway_bis_demo
west update&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also, when you run the buildprog command I believe you need to be in the nrf/applications/nrf5340_audio folder, rather than inside the tools/buildprog folder. Then the build command should look something like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="bat"&gt;python tools/buildprog/buildprog.py -c both -b debug -d both&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect several nrf5340 DK Audio together</title><link>https://devzone.nordicsemi.com/thread/400016?ContentTypeID=1</link><pubDate>Sat, 10 Dec 2022 17:36:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d1e4a59-e735-49b6-93a7-928ab2996192</guid><dc:creator>Asbjorn Bjorkkjar</dc:creator><description>&lt;p&gt;Thanks - it helped a lot!&amp;nbsp; (I use Windows 11)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am now trying to build the program from cmd prompt, and it seems like I am doing something wrong at the initializing of the parameters for core, build etc.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The following was tried out:&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt;C:\ncs\nordic_devzone\sdk-nrf-dual_gateway_bis_demo\applications\nrf5340_audio\tools\buildprog&amp;gt;python buildprog.py -c both -b debug -d both -p&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt;usage: buildprog.py [-h] [-r] [-p] [-c {app,net,both}] [--pristine] -b {release,debug} -d {headset,gateway,both} [-s [SEQUENTIAL_PROG]]&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt;buildprog.py: error: unrecognized arguments: -f&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;How could this be written correct:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt;options:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt; -h, --help show this help message and exit&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt; -r, --only_reboot Only reboot, no building or programming&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt; -p, --program Will program and reboot nRF5340 Audio DK.&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt; -c {app,net,both}, --core {app,net,both}&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt; app, net, or both&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt; --pristine Will build cleanly&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt; -b {release,debug}, --build {release,debug}&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt; Release or debug&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt; -d {headset,gateway,both}, --device {headset,gateway,both}&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt; nRF5340 Audio on the application core can be built for either ordinary headset (earbuds/headphone..) use or gateway (USB dongle)&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt; -s [SEQUENTIAL_PROG], --sequential [SEQUENTIAL_PROG]&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt; Run nrfjprog sequentially instead of in parallel.&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;I have also received this message:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt;-- Configuring incomplete, errors occurred!&lt;br /&gt;&amp;larr;[91mFATAL ERROR: command exited with status 1: &amp;#39;C:\Program Files\CMake\bin\cmake.EXE&amp;#39; &amp;#39;-DWEST_PYTHON=C:\Python310\python.exe&amp;#39; &amp;#39;-BC:\ncs\nordic_devzone\sdk-nrf-dual_gateway_bis_demo\applications\nrf5340_audio\build\dev_headset\build_debug&amp;#39; &amp;#39;-SC:\ncs\nordic_devzone\sdk-nrf-dual_gateway_bis_demo\applications\nrf5340_audio&amp;#39; -GNinja&lt;br /&gt;&amp;larr;[0mTraceback (most recent call last):&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt;&lt;br /&gt; File &amp;quot;C:\ncs\nordic_devzone\sdk-nrf-dual_gateway_bis_demo\applications\nrf5340_audio\tools\buildprog\buildprog.py&amp;quot;, line 319, in &amp;lt;module&amp;gt;&lt;br /&gt; __main()&lt;br /&gt; File &amp;quot;C:\ncs\nordic_devzone\sdk-nrf-dual_gateway_bis_demo\applications\nrf5340_audio\tools\buildprog\buildprog.py&amp;quot;, line 302, in __main&lt;br /&gt; __build_module(build_cfg)&lt;br /&gt; File &amp;quot;C:\ncs\nordic_devzone\sdk-nrf-dual_gateway_bis_demo\applications\nrf5340_audio\tools\buildprog\buildprog.py&amp;quot;, line 130, in __build_module&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt;&lt;br /&gt; raise Exception(&amp;quot;cmake error: &amp;quot; + str(ret_val))&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#999999;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;Do you have any suggestions?&lt;br /&gt;&lt;br /&gt;-Asbj&amp;oslash;rn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect several nrf5340 DK Audio together</title><link>https://devzone.nordicsemi.com/thread/399358?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 09:43:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe948e84-746d-47b0-953d-4093de39a801</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Asbjørn&lt;/p&gt;
&lt;p&gt;Which operating system are you using?&lt;/p&gt;
&lt;p&gt;It is possible to install NCS from the command line, using west. Then you can choose exactly which version to check out, you are not limited to only the official releases in the ToolChain Manager.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For more information about this please read &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html"&gt;this part&lt;/a&gt; of the documentation.&amp;nbsp;&lt;/p&gt;
[quote user="Asbjorn Bjorkkjar"]And, in the demo, what is meant by building the &amp;quot;headset program&amp;quot; and the &amp;quot;gateway program&amp;quot; to the DKs? Shouldn&amp;#39;t the whole code be uploaded to the DKs?[/quote]
&lt;p&gt;The audio application includes an application level configuration parameter called &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/applications/nrf5340_audio/Kconfig#L13"&gt;AUDIO_DEV&lt;/a&gt;, which is used to set the application in either a gateway or a headset mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Various parts of the audio application will check the value of this parameter to determine how the application should be configured.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In order to change this you can simply add a line to your prj.conf file, such as:&lt;/p&gt;
&lt;p&gt;CONFIG_AUDIO_DEV=1&lt;/p&gt;
&lt;p&gt;If you do a global search for &amp;quot;CONFIG_AUDIO_DEV&amp;quot; you can find all the parts of the code that uses this parameter.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect several nrf5340 DK Audio together</title><link>https://devzone.nordicsemi.com/thread/399228?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2022 14:32:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ebc0e0f-e45d-481c-b453-f3c93c11dff9</guid><dc:creator>Asbjorn Bjorkkjar</dc:creator><description>&lt;p&gt;Thanks!&amp;nbsp;&lt;br /&gt;It seems like the demo can help us a little further.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The version NCS 1.9.99-dev1 is not available at the nRF Connect. Is there any way for downloading it?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;And, in the demo, what is meant by building the &amp;quot;headset program&amp;quot; and the &amp;quot;gateway program&amp;quot; to the DKs? Shouldn&amp;#39;t the whole code be uploaded to the DKs?&lt;br /&gt;&lt;br /&gt;-Asbj&amp;oslash;rn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect several nrf5340 DK Audio together</title><link>https://devzone.nordicsemi.com/thread/399151?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2022 11:06:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9decbe0-6387-4c95-8d81-a1711231779c</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Asbjørn&lt;/p&gt;
&lt;p&gt;One of the developers made a demo which sounds quite close to what you are trying to implement:&lt;br /&gt;&lt;a href="https://github.com/rick1082/sdk-nrf/tree/dual_gateway_bis_demo/applications/nrf5340_audio"&gt;https://github.com/rick1082/sdk-nrf/tree/dual_gateway_bis_demo/applications/nrf5340_audio&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The demo consist of 2 BIS gateways sending out a stream, and one BIS headset that can select one of the streams by pressing button 4.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The demo will need some changes if you want to run connected streams instead (CIS).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It should be possible to run 2 ACL connections as well, allowing you to control the playback from the two gateways by sending a play command over the ACL connection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>