<?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>BL Audio multicast</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112267/bl-audio-multicast</link><description>Hello, 
 we are starting application and make sure we chose the right technical solution. 
 We have nRF5340 Audio DK boards to develop our FW. 
 Scenario: 
 Instructor talks to one/multiple/all students during outdoor sports. Typically about 10 students</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Jul 2024 14:05:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112267/bl-audio-multicast" /><item><title>RE: BL Audio multicast</title><link>https://devzone.nordicsemi.com/thread/493459?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 14:05:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4297b77e-fa85-41fd-becb-96ae0cb4173a</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Alright,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for verifying.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BL Audio multicast</title><link>https://devzone.nordicsemi.com/thread/493455?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 13:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b13e6d76-1539-40b8-b64c-8d805f3d955d</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;I do not know if my solution is the correct way to do&amp;nbsp;it but it works. So you can close it for now. If encounter problems&amp;nbsp;I will make new case.&lt;/p&gt;
&lt;p&gt;Thank you for now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BL Audio multicast</title><link>https://devzone.nordicsemi.com/thread/493452?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 13:46:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8ab99ff-857e-46ce-9b10-f4c846b8d9c6</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Karl is no longer available, and your case were not picked up before now. From your latest reply it looks that your query has been resolved? Is that correct?&lt;/p&gt;
&lt;p&gt;If not, could you create a new case that describes the remaining issues you have with implementing your firmware?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BL Audio multicast</title><link>https://devzone.nordicsemi.com/thread/493401?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 12:02:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bf9ae2a-43b9-41cc-99a4-22b304c4910b</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;I found out the is bt_le_scan_stop function call in&amp;nbsp;pa_synced_cb, after commenting this out it seems my data is being received correctly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BL Audio multicast</title><link>https://devzone.nordicsemi.com/thread/492685?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 12:06:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2c42f7f-f6fb-4e25-981e-4f74d4a7a501</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;Hello, could you please provide some example how to receive? Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BL Audio multicast</title><link>https://devzone.nordicsemi.com/thread/492207?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 09:59:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c8d983c-27cb-4c77-860d-369fd18c1d50</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I implemented the solution on the TX side. The device is&amp;nbsp;&lt;span&gt;advertising&lt;/span&gt;&amp;nbsp;the mask based on the buttons(manufacturer data, mask).&lt;/p&gt;
&lt;p&gt;However i am not sure how to scan for the advertised data correctly. I can see the packet is received because&amp;nbsp;scan_check_broadcast_source is called with my data. However when the audio is streaming it probably disables the callback. Therefore i usually receive the data only once after the device boots.&lt;/p&gt;
&lt;p&gt;I than tried to add another very similar callback&amp;nbsp;to&amp;nbsp;&lt;span&gt;bt_mgmt_scan_for_broadcast_start&amp;nbsp;&lt;/span&gt;using&amp;nbsp;bt_le_scan_cb_registe , however i only receive the data once more.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;Could you please point me to some example or advice me how&amp;nbsp;can I receive the advertisement at all times?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Thank you&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Jeronym&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BL Audio multicast</title><link>https://devzone.nordicsemi.com/thread/491153?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 14:14:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:256d2193-2590-4c2a-b786-4fbdeeadf443</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Jeronym,&lt;/p&gt;
[quote user="JeraDrson"]&lt;p&gt;The privacy is not an issue in this application. Therefore we would try the solution with broadcasting the mask.&lt;/p&gt;
&lt;p&gt;Could you please give me some advice regarding this solution? Could we encode the mask to some stream information? Or the second audio channel? Or create some non audio broadcast channel?&lt;/p&gt;[/quote]
&lt;p&gt;Great, that sounds like a good idea! Please do not hesitate to ask or open a new ticket if you should encounter any other issues or questions when you give this a try!&lt;br /&gt;&lt;br /&gt;You can set up regular advertising alongside the broadcast to broadcast the mask - this way you do not have to create an implementation that continuously scans the received audio to extract the mask.&lt;br /&gt;For simplicity in the beginning you can basically set up an advertisement that contains a number, and have each device know their own identity number in order to know if they should listen in to the secondary broadcast or not.&lt;br /&gt;&lt;br /&gt;In the next step you can then have all the peripheral devices advertise their own ID&amp;#39;s on a buttonpress (such as during setup for the practice) so that the central can know &amp;#39;who is available&amp;#39;.&lt;br /&gt;&lt;br /&gt;And for the final version perhaps you would like to use NFC or something similar to &amp;#39;scan&amp;#39; into the training session, so that the head coach easily can know who is in the session and what their peripheral ID they are using.&lt;br /&gt;&lt;br /&gt;There are many ways you can achieve this, and you might already have a plan for something other than my suggestion above, in which can you can disregard it - this was just the first I envisioned based on the understanding I have of your targeted use-case.&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: BL Audio multicast</title><link>https://devzone.nordicsemi.com/thread/491124?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 13:04:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6d7558a-b0fd-4896-b50b-6d540cb88bce</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;Thank you for the answer. The privacy is not an issue in this application. Therefore we would try the solution with broadcasting the mask.&lt;/p&gt;
&lt;p&gt;Could you please give me some advice regarding this solution? Could we encode the mask to some stream information? Or the second audio channel? Or create some non audio broadcast channel?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jeronym&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BL Audio multicast</title><link>https://devzone.nordicsemi.com/thread/490851?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2024 11:18:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddf8a089-1c43-42a8-ae55-835b007b5fb3</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;No problem at all, I am happy to help!&lt;br /&gt;&lt;br /&gt;I am glad to read that you have already got the encrypted broadcast up and running!&lt;br /&gt;&lt;br /&gt;Will the audio need to be private if they are speaking to single students, or could it be an option to transmit the mask (open for anyone to pick up) to indicate which student who should listen into the secondary transmit meant for the single student?&lt;br /&gt;&lt;br /&gt;One solution would indeed be to have a connection to each of the students, and then indicate over the regular BLE link that they will receive a one-on-on conversation, which then also would be private.&lt;br /&gt;The main drawback with this would be that a connection needs to be handled at all times even when idle, and this will consume a lot of power on the peripheral side if you require this to be over a long distance so that the TX power of the peripheral also will be at maximum value.&lt;br /&gt;&lt;br /&gt;The drawback to a broadcast only solution would be privacy of the one-to-one transfers, and the central&amp;#39;s ability to know if anyone is actually listening. I.e it could go into a &amp;#39;one on one&amp;#39; broadcast without getting any acknowledgement back that the peer is actually present and listening.&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: BL Audio multicast</title><link>https://devzone.nordicsemi.com/thread/490779?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2024 07:54:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fba82d60-eaab-473e-a5ab-e1dba66177f4</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;Hello, thank you for the answer.&lt;/p&gt;
&lt;p&gt;I tried the&amp;nbsp;&lt;span&gt;passkey&amp;nbsp;and it works,&amp;nbsp;I want to use it to so multiple instructors can operate in one area with their own group of students.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However&amp;nbsp;I need the instructor to be able to choose who in h is group will he talk to individually. Sometimes he wants to speak to single student, sometimes a group and sometimes all his students. Is this also possible?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Maybe many separate connections just to tell what students should receive the broadcast audio, or maybe use second broadcast channel and only transmit some mask to indicate what listener should enable the audio?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BL Audio multicast</title><link>https://devzone.nordicsemi.com/thread/490775?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2024 07:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7581a20d-84c3-41b7-86bb-772edd990775</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Jeronym,&lt;br /&gt;&lt;br /&gt;Thank you for your extreme patience with this.&lt;/p&gt;
[quote user=""]&lt;p&gt;We would need to pair the source device with all the listening devices so no one else can listen to the audio.&lt;/p&gt;
&lt;p&gt;We would use BL audio broadcast to stream the audio.&lt;/p&gt;
&lt;p&gt;There would be BLE connections with every listener, so the&amp;nbsp;source device could notify&amp;nbsp;every single&amp;nbsp;listener to connect/disconnect the&amp;nbsp;audio.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is our solution correct or is there a better way?&lt;/p&gt;[/quote]
&lt;p&gt;Thank you for your scenario overview. I have got some good news for you - all this is possible already, without needing a connection to every device! :)&amp;nbsp;&lt;br /&gt;You are correct that you can use the broadcast audio feature of LE Audio for this, and in addition, you can encrypt the broadcast with a passkey so that only the students/listeners with this passkey can listen into the broadcast.&lt;br /&gt;If you would like for the range to be as large as possible you could also use a Front End Module with your device, to increase the TX output power to +10 or +20 dBm (depending on regulatory requirements in the region you will sell the device).&lt;br /&gt;&lt;br /&gt;You could give this a try by &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/952948a9ac53f7042ef0e48145b8fcf1cd64999d/applications/nrf5340_audio/src/bluetooth/bt_stream/broadcast/Kconfig#L119-L126"&gt;enabling the broadcast encryption and setting the passkey using these kconfigs&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Please give this a try, and do not hesitate to let me know if you run into any issues or questions! :)&amp;nbsp;&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>