<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>HCI commands/events via UART to/from nRF5340 Audio DK</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88283/hci-commands-events-via-uart-to-from-nrf5340-audio-dk</link><description>Is there an HCI API to control the device and configure it to work with LE Audio? If so, is there an example of minimal configuration that will allow Audio DK to transmit/receive LE Audio from third party device? 
 What is the link to install Audio DK</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Fri, 27 May 2022 16:41:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88283/hci-commands-events-via-uart-to-from-nrf5340-audio-dk" /><item><title>RE: HCI commands/events via UART to/from nRF5340 Audio DK</title><link>https://test-devzone.nordicsemi.com/thread/369826?ContentTypeID=1</link><pubDate>Fri, 27 May 2022 16:41:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf6c41b6-5c5f-4a41-a166-e03797c3d1bd</guid><dc:creator>user87869</dc:creator><description>[quote user="Evgenye"]If I want to use HCI access to the controller, I need to do this via &amp;quot;bt_hci_cmd_send_sync&amp;quot; API?&amp;nbsp;&lt;br /&gt;If so,&amp;nbsp;what is an initialization sequence that is a must for HCI to work?[/quote]
&lt;p&gt;You would have to do this through the &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/include/zephyr/bluetooth/hci.h"&gt;bt_hci&lt;/a&gt;&amp;nbsp;(the LE Audio controller supports the HCI commands defined in the Bluetooth Core Specification v5.2) and &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/applications/nrf5340_audio/src/bluetooth/ble_hci_vsc.h"&gt;bt_hci_vsc&lt;/a&gt; API, yes.&lt;br /&gt;You will need to have programmed the network core with the LE Audio controller for these to be available to the&amp;nbsp;application.&lt;/p&gt;
[quote user="Evgenye"]How do I activate &amp;quot;&lt;span&gt;&lt;span&gt;gateway to headset&amp;quot; mode with &amp;quot;nrf5340_audio&amp;quot; app? - Using&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_AUDIO_DEV compilation flag?&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;If you would only like to build and flash a gateway you can still use the buildprog tool, with the following command:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;$ python .\buildprog.py -c both -b debug -d gateway -p&lt;/pre&gt;&lt;br /&gt;You should also add&amp;nbsp;&lt;em&gt;--pristine&lt;/em&gt; whenever you have made changes to the prj.conf file.&lt;/p&gt;
[quote user="Evgenye"]SBC software codec is supported? Or just your proprietary&amp;nbsp;LC3?[/quote]
&lt;p&gt;SBC is also supported, please see &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf5340_audio/README.html#selecting-the-audio-software-codec"&gt;nRF5340_audio documentation about this&lt;/a&gt;.&lt;br /&gt;In addition to the SBC prj.conf you would also need to remove&amp;nbsp;&lt;span&gt;CONFIG_LC3_ENC_CHAN_MAX=2 and&amp;nbsp;&lt;/span&gt;&lt;span&gt;CONFIG_LC3_DEC_CHAN_MAX=1 from your overlay-headset.conf and overlay-gateway.conf.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HCI commands/events via UART to/from nRF5340 Audio DK</title><link>https://test-devzone.nordicsemi.com/thread/369497?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 11:15:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e2cb1e3-ca3a-45f2-aeb0-c64109bcf088</guid><dc:creator>user116445</dc:creator><description>&lt;ul&gt;
&lt;li&gt;If I want to use HCI access to the controller, I need to do this via &amp;quot;bt_hci_cmd_send_sync&amp;quot; API?&amp;nbsp;&lt;br /&gt;If so,&amp;nbsp;what is an initialization sequence that is a must for HCI to work?&lt;/li&gt;
&lt;li&gt;How do I activate &amp;quot;&lt;span&gt;&lt;span&gt;gateway to headset&amp;quot; mode with &amp;quot;nrf5340_audio&amp;quot; app? - Using&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_AUDIO_DEV compilation flag?&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;SBC software codec is supported? Or just your proprietary&amp;nbsp;LC3?&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HCI commands/events via UART to/from nRF5340 Audio DK</title><link>https://test-devzone.nordicsemi.com/thread/369493?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 11:06:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a80026da-97d1-4319-ad61-4566e85d3aa1</guid><dc:creator>user87869</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]Is there an HCI API to control the device and configure it to work with LE Audio?&lt;br /&gt;If so, is there an example of minimal configuration that will allow Audio DK to transmit/receive LE Audio from third party device?[/quote]
&lt;p&gt;Not innately - you will need to program the board with the nRF5340_audio application and link controller for it to work for LE Audio. The nrf5340_audio application serves as this minimal configuration for you to get started from, which you may then continue to develop on.&lt;/p&gt;
[quote user=""]&lt;p&gt;What is the link to install Audio DK extension to nRF connect SDK? Link in documentation doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;Latest SDK doesn&amp;#39;t have &amp;quot;&lt;span&gt;applications/nrf5340_audio&amp;quot; path that is specified in documentation&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;The Audio application is still only available in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v1.9.99-dev1"&gt;the NCS SDK v1.9.99-dev1 tag&lt;/a&gt;. If you already have v1.9.1 installed through the toolchain manager you will need to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html#get-the-ncs-code"&gt;follow the steps in the Get the nRF Connect SDK code&lt;/a&gt;&amp;nbsp;and substitute the v1.9.99-dev1 tag in place of the v1.9.1 in the example command:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;a href="https://test-devzone.nordicsemi.com/support-private/support/289390"&gt;&lt;/a&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;$west init -m https://github.com/nrfconnect/sdk-nrf --mr v1.9.99-dev1&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&gt;Make sure to also perform the&amp;nbsp;&lt;/span&gt;&lt;em&gt;west update&amp;nbsp;&lt;/em&gt;&lt;span&gt;and&amp;nbsp;&lt;/span&gt;&lt;em&gt;west zephyr-export&amp;nbsp;&lt;/em&gt;&lt;span&gt;steps before you&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf5340_audio/README.html#nrf5340-audio"&gt;proceed to the Audio application documentation&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;You will need to perform the two steps in&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf5340_audio/README.html#configuration"&gt;the nRF5340 Audio documentations Configuration section&lt;/a&gt;&lt;span&gt;&amp;nbsp;the first time you begin working with the devtag.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Once you have added the nrf5340_audio application to the west manifest, the following&amp;nbsp;&lt;/span&gt;&lt;em&gt;west update&amp;nbsp;&lt;/em&gt;&lt;span&gt;command will prompt you for the github login with access to the LC3 repository, in order to retrieve it.&lt;br /&gt;If you do not have access to the LC3 repository already you will need to contact your Regional Sales Manager to request this access.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;After the west update completes successfully everything is set up and you may begin to develop with the audio application. Here you may proceed directly to use the buildprog tool to build your application for different configurations, and flash those configurations to multiple different boards concurrently.&lt;br /&gt;&lt;br /&gt;Please do not hesitate to let me know in the case that you should encounter any issues or questions!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>