<?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>Mix BLE audio and custom BLE Characteristic</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95232/mix-ble-audio-and-custom-ble-characteristic</link><description>Hello, everyone! 
 I&amp;#39;m interested to know about the possibility of mixing BLE audio and custom BLE Characteristic in one single nRF5340 application. 
 For example, we would like to mix: 
 
 A True Wireless Earbud (TWS) BLE audio topology with mono output</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Dec 2024 14:55:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95232/mix-ble-audio-and-custom-ble-characteristic" /><item><title>RE: Mix BLE audio and custom BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/513015?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2024 14:55:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aeb42bf3-85a5-48b3-a6ad-eed88dfc3a1f</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please create a new ticket for your own questions&amp;nbsp;and we&amp;#39;ll look into the case :)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Closing this discussion since it is over 2 years old and it was started by someone else.&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: Mix BLE audio and custom BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/512876?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2024 06:53:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7ed04b2-4628-4fea-9722-d0df63d6297f</guid><dc:creator>pal_722</dc:creator><description>&lt;p&gt;Hi all,&amp;nbsp;&lt;br /&gt;I am working on a similar application too, and wish to know how to setup iso connection between nrf5340 audio dk and mobile?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Any help would be of great use!&lt;br /&gt;Thank you so much in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mix BLE audio and custom BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/405155?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 07:38:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77534b07-130e-4fd2-83db-e94adcb2ce27</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Bojan,&lt;/p&gt;
[quote user="bojan"]Thanks for the update, &lt;a href="https://devzone.nordicsemi.com/members/karl-ylvisaker"&gt;Karl Ylvisaker&lt;/a&gt; .[/quote]
&lt;p&gt;No problem at all, I am happy to help! :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The ISO interval used is primarily 10 ms currently, but since you are stopping the ISO stream before you start your sensor data transfer then this consideration does not apply, so you can use whichever connection interval as you would like, just as with a regular BLE (non-ISO) connection.&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: Mix BLE audio and custom BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/405121?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 18:49:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df8511e7-5b6e-48b0-8015-5ef9c766959c</guid><dc:creator>bojan</dc:creator><description>&lt;p&gt;Thanks for the update, &lt;a href="https://devzone.nordicsemi.com/members/karl-ylvisaker"&gt;Karl Ylvisaker&lt;/a&gt; . &lt;/p&gt;
&lt;p&gt;For transferring sensor readings, we need a connection interval of at least 12.5ms (10 x 1.25).&lt;/p&gt;
&lt;p&gt;What is the value of the ISO interval? Is it something fixed or flexible? Can we make it to be 5 x 1.25ms?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Bojan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mix BLE audio and custom BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/405017?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 12:18:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e435632-eeab-4141-bf30-25ca411b1e9b</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Bojan,&lt;br /&gt;&lt;br /&gt;Hieu is unfortunately unavailable for a couple of days, so I will follow this up in his absence.&lt;/p&gt;
[quote user="bojan"]Anyway, good thing is that we could stop some of the sensor readings when we want BLE audio link.[/quote]
&lt;p&gt;Great, then you can send the sensor data over the ACL link when the audio is paused and visa versa without issue.&lt;/p&gt;
[quote user="bojan"]What would be the code we need for the network CPU in this use case?[/quote]
&lt;p&gt;The network core must be programmed with &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v2.2.0/applications/nrf5340_audio/bin"&gt;the precompiled LE Audio Controller&lt;/a&gt;, so you do not need to write any code for the network core specifically.&lt;br /&gt;Please note that we are aware of a stability issue with the current controller when the ACL connection interval is not a 2x multiple of the ISO interval, so please make sure to only use a 2x multiple of the ISO interval for your ACL connection interval to avoid this.&lt;br /&gt;You should also avoid updating the ACL connection interval while the ISO is transferring audio for the same reason, if possible.&lt;br /&gt;We are of course working on a fix for this already, but just keep it in mind for the time being! :)&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: Mix BLE audio and custom BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/404884?ContentTypeID=1</link><pubDate>Sat, 14 Jan 2023 08:34:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22c05510-52a4-465a-8f08-50fa2d6d9240</guid><dc:creator>bojan</dc:creator><description>&lt;p&gt;Hello, &lt;a href="https://devzone.nordicsemi.com/members/vthieu"&gt;Hieu&lt;/a&gt; .&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t know by heart about size of data but the MTU size will be 250Bytes and the connection interval not above 12.5ms.&lt;/p&gt;
&lt;p&gt;Anyway, good thing is that we could stop some of the sensor readings when we want BLE audio link.&lt;/p&gt;
&lt;p&gt;What would be the code we need for the network CPU in this use case?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Bojan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mix BLE audio and custom BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/404804?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 13:13:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b087dd5-8f06-4ba3-a4ea-1681df2c79d2</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Bojan,&lt;/p&gt;
&lt;p&gt;How large is your sensor data and how often do you send it?&amp;nbsp;Raw sensor data are usually not too bad.&lt;/p&gt;
&lt;p&gt;I consulted an LE Audio engineer and it is also possible to send the sensor data over the ISO link. The ACL link will always be there, because it is necessary to control the ISO link.&lt;/p&gt;
&lt;p&gt;Thus, you have two options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Sensor data over ISO link
&lt;ul&gt;
&lt;li&gt;Pro: Quick&lt;/li&gt;
&lt;li&gt;Cons: Data can be lost&lt;/li&gt;
&lt;li&gt;Cons: Pretty much not possible to have audio comm at the same time as sensor data transfer&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Sensor data over ACL link
&lt;ul&gt;
&lt;li&gt;Pro: Reliable. No package is dropped.&lt;/li&gt;
&lt;li&gt;Cons: High throughput at the same time as audio comm is difficult&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As you don&amp;#39;t need both audio comm and sensor data transfer at the same time,&amp;nbsp;both are feasible for you, I believe.&lt;/p&gt;
&lt;p&gt;Best wishes,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mix BLE audio and custom BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/404224?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2023 06:55:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16e03b79-78bf-40f2-94a3-33ef339525f8</guid><dc:creator>bojan</dc:creator><description>&lt;p&gt;Hello, &lt;a href="https://devzone.nordicsemi.com/members/vthieu"&gt;Hieu&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the feedback. You are right, both ISO and ACL links are between the same nRF53 device and the same BLE Central.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, the ACL link should send sensor data continuously. There will be readings from quite a few sensors so I can also say that the data are large.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The good thing is that we don&amp;#39;t need ISO link too often. We might decide to stop transferring sensor data when we need audio link. That way, both profiles will co-exist without a need for reconfiguration on BLE side. Is that feasible?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Bojan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mix BLE audio and custom BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/404201?ContentTypeID=1</link><pubDate>Tue, 10 Jan 2023 21:14:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2dd5d05-eec1-462f-a4ab-3c3e9ef9ad18</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Bojan,&lt;/p&gt;
&lt;p&gt;Thank you for your patience.&lt;/p&gt;
&lt;p&gt;I understand that, both your two-way audio communication (ISO Link) and the sensor data communications (ACL Link) are between the same nRF53 device and the same BLE Central, is this right?&lt;/p&gt;
&lt;p&gt;If so, this is doable. The two &amp;quot;links&amp;quot; can run at the same time, and you should not have to reconfigure them during run time.&lt;/p&gt;
&lt;p&gt;Are you going to send&amp;nbsp;sensor data often, or will the data be large? Currently, the LE Audio Controller has some difficulties running both an ISO Link and a high throughput ACL Link at the same time. It is being improved, but that is the current state.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mix BLE audio and custom BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/403252?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2023 19:18:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4110d7bf-fbbb-4f78-843e-85994f06e5ce</guid><dc:creator>bojan</dc:creator><description>&lt;p&gt;No worries, &lt;a href="https://devzone.nordicsemi.com/members/vthieu"&gt;Hieu&lt;/a&gt;, it&amp;#39;s not urgent. We are in the research and development phase. &lt;/p&gt;
&lt;p&gt;Thanks for your readiness to help, though!&lt;/p&gt;
&lt;p&gt;Looking forward to hearing from you.&lt;/p&gt;
&lt;p&gt;Sincerely,&lt;br /&gt;Bojan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mix BLE audio and custom BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/403251?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2023 19:16:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6288ca0-e07f-4541-8baf-21477faf98de</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Bojan,&lt;/p&gt;
&lt;p&gt;Thank you for the information. I am out of office for the rest of the week so I will answer you&amp;nbsp;latest by the end of next Tuesday, Jan 10. If you need support more urgently, please let me know and I will arrange some alternatives.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mix BLE audio and custom BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/403242?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2023 17:24:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:411eb7b6-419e-46bf-8566-d8066d924741</guid><dc:creator>bojan</dc:creator><description>&lt;p&gt;Hello, &lt;a href="https://devzone.nordicsemi.com/members/vthieu"&gt;Hieu&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the late reply.&lt;/p&gt;
&lt;p&gt;We would basically have one single BLE Central device (e.g the smartphone) that will be used to establish a connection with nRF53.&lt;/p&gt;
&lt;p&gt;We would need to:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Establish two-way audio communication (TWS topology) between nRF53 and BLE Central&lt;/li&gt;
&lt;li&gt;Collect the data from various sensors and transfer them to the BLE Central device using a custom-defined BLE Service with multiple custom BLE Characteristics.&lt;/li&gt;
&lt;/ol&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/pastedimage1672852683810v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Those two should exist in parallel (ideally) or it would be nice if we could reconfigure the BLE part during run-time to run either in TWS BLE audio mode or in data collection mode.&lt;/p&gt;
&lt;p&gt;I hope it&amp;#39;s now clear what we want to achieve.&lt;/p&gt;
&lt;p&gt;Sincerely,&lt;br /&gt;Bojan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mix BLE audio and custom BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/402590?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2022 21:43:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22562fcf-787f-4280-8295-61de828908d4</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Bojan,&lt;/p&gt;
&lt;p&gt;Yes, it is possible&amp;nbsp;to setup a custom GATT Characteristic when you are using the BLE Audio feature together with the LE Audio Controller.&lt;/p&gt;
&lt;p&gt;Could you please give a little more details on&amp;nbsp;which&amp;nbsp;devices have to connect to which for the sensor data in your example? There is a limit on the number of concurrent connections a device with the LE Audio Controller can maintain.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;em&gt;Due to Christmas &amp;amp; New Year Holidays, our team is currently understaffed and will take longer than usual for responses and follow-ups. Our apologies for the inconvenience.&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>