<?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>The nrf5340 audio application&amp;#39;s TX function of Gateway</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113588/the-nrf5340-audio-application-s-tx-function-of-gateway</link><description>Hello 
 I have implemented the stereo function to the nrf5340 audio application on SDK V2.6.0. i can send stereo audio signal to both of the two headset at the same time or one of them. 
 But i also have some questions and problems want to figure out</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Aug 2024 06:20:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113588/the-nrf5340-audio-application-s-tx-function-of-gateway" /><item><title>RE: The nrf5340 audio application's TX function of Gateway</title><link>https://devzone.nordicsemi.com/thread/498166?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 06:20:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5ef94b3-7fc6-4cd5-9a74-71825f45fc62</guid><dc:creator>huma</dc:creator><description>&lt;p&gt;Hello Amanda,&lt;/p&gt;
&lt;p&gt;Thank you very much!&lt;/p&gt;
&lt;p&gt;I found a way to implement it, not perfect.&lt;/p&gt;
&lt;p&gt;I need more test on it, if there is some problem, i will back to ask you.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf5340 audio application's TX function of Gateway</title><link>https://devzone.nordicsemi.com/thread/498094?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2024 14:28:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b798450b-8160-41f0-b62f-649b4d39c69c</guid><dc:creator>huma</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello Amanda,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Sorry, i found i used the wrong command to build the project.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Now, i am using the v2.7.0. Thank you very much!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But there is still the problem:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1723000106821v6.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It printed by the headset. And i have checked that the gateway is correctly configured.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I think the headset also need disable the RX function, because i found that there is always&amp;nbsp;allocate the resource for the RX function in the headset.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1723559109249v1.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And if i modify the &amp;quot;.codec_cap = &amp;amp;lc3_codec_sink,&amp;quot;&amp;nbsp; to &amp;quot;.codec_cap = NULL,&amp;quot;,&amp;nbsp; or modify the &amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_ASCS_ASE_SNK_COUNT&lt;/span&gt;&lt;span&gt;=0&lt;/span&gt;&amp;quot; to disbale the RX function of headset, it will be crashed:&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&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/pastedimage1723598285136v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So&amp;nbsp;how can i only allocate&amp;nbsp;resource for the TX function in the headset?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you very much and looking forward to your reply!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf5340 audio application's TX function of Gateway</title><link>https://devzone.nordicsemi.com/thread/497876?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 16:54:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd97840f-d14b-433e-898f-31f92ac710fe</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="huma"] in the past, i have tried V2.7.0, seems the nrf5340 audio application has something wrong? Because when i burned the default CIS headset project, it will crash, as follow:[/quote]
&lt;p&gt;What is the command you use to build the audio application? Could you provide the instruction to help us reproduce?&lt;/p&gt;
&lt;p&gt;I use &amp;quot;west build -b nrf5340_audio_dk_nrf5340_cpuapp -p -d headset -- -DCONFIG_AUDIO_DEV=1&amp;quot; to build and get&lt;br /&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/pastedimage1723481471721v2.png" alt=" " /&gt;&lt;/p&gt;
[quote user="huma"]&lt;p&gt;Does that means i can not use vscode to build the project?&lt;/p&gt;
&lt;p&gt;So i still use the V2.6.0.&lt;/p&gt;[/quote]
&lt;p&gt;No,&amp;nbsp;&lt;span&gt;Building and programming using the nRF Connect for VS Code extension is currently not supported as the note indicated even on NCS v2.6.0.&lt;/span&gt;&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/pastedimage1723481646535v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf5340 audio application's TX function of Gateway</title><link>https://devzone.nordicsemi.com/thread/497538?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2024 00:52:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3247ff90-4333-46d6-b66b-9c52d7a923d5</guid><dc:creator>huma</dc:creator><description>&lt;p&gt;Hello Amanda,&lt;/p&gt;
&lt;p&gt;Thank you very&amp;nbsp; much!&lt;/p&gt;
&lt;p&gt;Yes, i want to send a stereo audio stream from headset to the gateway, at least one headset, two is better. And the important thing is i want the LC3 codec use 48K sampling rate.&lt;/p&gt;
&lt;p&gt;And by the way, in the past, i have tried V2.7.0, seems the nrf5340 audio application has something wrong? Because when i burned the default CIS headset project, it will crash, as follow:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3113.pastedimage1721355894659v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;I have noticed that:&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/pastedimage1723173418366v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Does that means i can not use vscode to build the project?&lt;/p&gt;
&lt;p&gt;So i still use the V2.6.0.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you very much and looking forward to your reply!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf5340 audio application's TX function of Gateway</title><link>https://devzone.nordicsemi.com/thread/497490?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 12:57:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17fdc3ff-611c-48f8-9fbb-77373c20532a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The solution &lt;span&gt;is based on v2.7.0&amp;nbsp;&lt;/span&gt;to disable the TX on the gateway and only keep the streams from the headset to the gateway.&lt;/p&gt;
&lt;p&gt;In the default setting, the headset will only send one stream (the left channel) to the gateway.&lt;/p&gt;
&lt;p&gt;Would you want to send a stereo audio stream from each headset to the gateway?&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf5340 audio application's TX function of Gateway</title><link>https://devzone.nordicsemi.com/thread/497253?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2024 03:09:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50aa7bcb-2ef5-453b-a228-3ce9a320fe3a</guid><dc:creator>huma</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello Amanda,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have tried following your instructions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I also enable the &amp;quot;&lt;/span&gt;&lt;span&gt;CONFIG_BT_AUDIO_PREF_SAMPLE_RATE_48KHZ&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Then the &lt;span style="background-color:#ff6600;"&gt;&lt;strong&gt;headset&lt;/strong&gt;&lt;/span&gt; device will print:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1723000106821v6.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I found that the size is still 120 and not 240:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1723000087660v5.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pastedimage1723000174069v9.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So, how can i increase the size to 240? I think may be i also need to modify the headset code.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you very much and looking forward to your reply!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf5340 audio application's TX function of Gateway</title><link>https://devzone.nordicsemi.com/thread/496830?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2024 13:41:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bacaa6a-4253-49b3-9234-7d834e7e79e4</guid><dc:creator>huma</dc:creator><description>&lt;p&gt;Hello Amanda&lt;/p&gt;
&lt;p&gt;Thank you very much!&lt;/p&gt;
&lt;p&gt;I will try it when i back to office. Then will report the result!&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf5340 audio application's TX function of Gateway</title><link>https://devzone.nordicsemi.com/thread/496807?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2024 12:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:870b3ee7-1eac-486c-8c97-3ab052ebe21d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Since CONFIG_STREAM_BIDIRECTIONAL=y will enable the encoder on headset side and also the decoder on gateway, so please enable it&lt;/li&gt;
&lt;li&gt;For unciast client, only discover the UNICAST_SERVER_SOURCE&lt;br /&gt; - ret = unicast_client_discover(msg-&amp;gt;conn, UNICAST_SERVER_BIDIR);&lt;br /&gt; +ret = unicast_client_discover(msg-&amp;gt;conn, UNICAST_SERVER_SOURCE);&lt;br /&gt;&lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/5aa5ca0c13de5b6f0c7acf28ef96b307632fb91e/applications/nrf5340_audio/unicast_client/main.c#l397" href="https://github.com/nrfconnect/sdk-nrf/blob/5aa5ca0c13de5b6f0c7acf28ef96b307632fb91e/applications/nrf5340_audio/unicast_client/main.c#L397" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/5aa5ca0c13de5b6f0c7acf28ef96b307632fb91e/applications/nrf5340_audio/unicast_client/main.c#L397&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;For unicast client in the current code (will improve in later)&lt;br /&gt; The unicast client will try to allocate the resource for CIG in the start from here&lt;br /&gt;&lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/5aa5ca0c13de5b6f0c7acf28ef96b307632fb91e/applications/nrf5340_audio/src/bluetooth/bt_stream/unicast/unicast_client.c#l1766" href="https://github.com/nrfconnect/sdk-nrf/blob/5aa5ca0c13de5b6f0c7acf28ef96b307632fb91e/applications/nrf5340_audio/src/bluetooth/bt_stream/unicast/unicast_client.c#L1766" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/5aa5ca0c13de5b6f0c7acf28ef96b307632fb91e/applications/nrf5340_audio/src/bluetooth/bt_stream/unicast/unicast_client.c#L1766&lt;/a&gt;&lt;br /&gt; Please try to set the tx_param in here to NULL for a trial&lt;br /&gt;&lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/5aa5ca0c13de5b6f0c7acf28ef96b307632fb91e/applications/nrf5340_audio/src/bluetooth/bt_stream/unicast/unicast_client.c#l1784" href="https://github.com/nrfconnect/sdk-nrf/blob/5aa5ca0c13de5b6f0c7acf28ef96b307632fb91e/applications/nrf5340_audio/src/bluetooth/bt_stream/unicast/unicast_client.c#L1784" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/5aa5ca0c13de5b6f0c7acf28ef96b307632fb91e/applications/nrf5340_audio/src/bluetooth/bt_stream/unicast/unicast_client.c#L1784&lt;/a&gt;&lt;br /&gt; So the gateway will only allocate the time for RX not TX&lt;/li&gt;
&lt;li&gt;The headset should also expose the support/available context properly&lt;br /&gt;&lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/b83837fb1f9630139b8a372778acc95fc2524073/applications/nrf5340_audio/src/bluetooth/bt_stream/unicast/unicast_server.c#l56" href="https://github.com/nrfconnect/sdk-nrf/blob/b83837fb1f9630139b8a372778acc95fc2524073/applications/nrf5340_audio/src/bluetooth/bt_stream/unicast/unicast_server.c#L56" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/b83837fb1f9630139b8a372778acc95fc2524073/applications/nrf5340_audio/src/bluetooth/bt_stream/unicast/unicast_server.c#L56&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf5340 audio application's TX function of Gateway</title><link>https://devzone.nordicsemi.com/thread/496736?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2024 01:04:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03a92c20-328c-42f2-9cf9-186c668d835c</guid><dc:creator>huma</dc:creator><description>&lt;p&gt;Hello Amanda&lt;/p&gt;
&lt;p&gt;Yes, i want to disable the stream from the gateway to the headset but&amp;nbsp;I want to keep stream from the headset to the gateway.&lt;/p&gt;
&lt;p&gt;In reality, I&amp;#39;m guessing that when I can only keep the stream from the headset to the gateway, the system will automatically allocate all resources to this path, just like when &amp;quot;CONF_STREAM_SIDIELECTION&amp;quot; is not enabled, all resources will be allocated to the stream from the gateway to the headset.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure if my guess is correct.&amp;nbsp;I&amp;#39;m not sure if my guess is correct, but it&amp;#39;s worth giving it a try.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you very much and looking forward to your reply!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf5340 audio application's TX function of Gateway</title><link>https://devzone.nordicsemi.com/thread/496702?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2024 18:14:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:803ddd7e-610e-47d3-ba3c-0c0f434e6b85</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Would you&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;like to disable the stream from gateway to headset, or headset to gateway?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Regards,&lt;br /&gt;Amanada H.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>