<?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>nRF5340 - Communicating with Android app at 2 mbps</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76395/nrf5340---communicating-with-android-app-at-2-mbps</link><description>I need to transfer large amount of data from Android app at 2 mbps (it seems that bitrates about something like 1300 kbps are achievable) to nRF5340 device. 
 Data is audio, it will be capture using Sound Capture API, encoded with something like LC3plus</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Jun 2021 00:28:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76395/nrf5340---communicating-with-android-app-at-2-mbps" /><item><title>RE: nRF5340 - Communicating with Android app at 2 mbps</title><link>https://devzone.nordicsemi.com/thread/315984?ContentTypeID=1</link><pubDate>Fri, 18 Jun 2021 00:28:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90bae07e-3d11-4fa9-91fc-75a8354f9376</guid><dc:creator>O11111</dc:creator><description>&lt;p&gt;It looks like all received packets go to &amp;#39;bt_receive_cb&amp;#39; and I should process them there, right? And if I&amp;#39;ll send 247 bytes from nRF Toolbox UART then all of them will be in &amp;#39;const uint8_t *const data&amp;#39;, right?&lt;/p&gt;
&lt;p&gt;What is the maximum throughput I could expect from this setup (assuming I&amp;#39;ll modify Toolbox to send data that was read from file)?&lt;/p&gt;
&lt;p&gt;Is 2M PHY enabled by default or I will have to do it manually (in both Toolbox and UART example)? How if so?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do I2S examples (for PCM5102A) exist?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 - Communicating with Android app at 2 mbps</title><link>https://devzone.nordicsemi.com/thread/315783?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 08:21:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dec78d06-f56f-4418-8d3e-1c4059e58c79</guid><dc:creator>Kenneth</dc:creator><description>[quote user="O11111"]Is it possible to modify UART example such that it will pass everything that it got to decoding procedure (to lines 339-391 in codec_exe.c from LC3plus implementation)?[/quote]
&lt;p&gt;The data transfer is agnostic, so feel free to handle and use the data as you best see fit.&amp;nbsp;&lt;/p&gt;
[quote user="O11111"]How much bytes can I get in one BLE packet?[/quote]
&lt;p&gt;You can find some useful information here:&lt;br /&gt;&lt;a href="https://www.novelbits.io/bluetooth-5-speed-maximum-throughput/"&gt;https://www.novelbits.io/bluetooth-5-speed-maximum-throughput/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Short answer: 247bytes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 - Communicating with Android app at 2 mbps</title><link>https://devzone.nordicsemi.com/thread/315725?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 00:49:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce41abf0-0521-47ea-9370-7a4c34ad4646</guid><dc:creator>O11111</dc:creator><description>&lt;p&gt;There exists small problem: there is no support for LE Audio on any OS (Android 12 Beta has it, but it&amp;#39;s not clear if it will be possible to use this feature with BT5.0-only capable device, probably not).&lt;/p&gt;
&lt;p&gt;I want something that will be available since Bluetooth 5.0 (as this is hardware I have) and with patched Android or app that will capture all system sounds and transfers it over BLE. It won&amp;#39;t be actual LE Audio, but rather audio-over-BLE. There exists similar thing (but not same) from STMicroelectronics:&amp;nbsp;&lt;a href="https://www.st.com/en/embedded-software/fp-aud-bvlinkwb1.html"&gt;https://www.st.com/en/embedded-software/fp-aud-bvlinkwb1.html&lt;/a&gt;, but there are &amp;gt;6000 code lines which are pretty much impossible to read.&lt;/p&gt;
&lt;p&gt;Is it possible to modify UART example such that it will pass everything that it got to decoding procedure (to lines 339-391 in codec_exe.c from LC3plus implementation)?&lt;/p&gt;
&lt;p&gt;How much bytes can I get in one BLE packet?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 - Communicating with Android app at 2 mbps</title><link>https://devzone.nordicsemi.com/thread/315598?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 12:23:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19451034-b2c7-4b02-9645-189ef5e34dd9</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;There is a throughput example in NCS:&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/throughput/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/throughput/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However I am not aware of any mobile app that can be used as peer.&lt;/p&gt;
&lt;p&gt;I think in terms of audio over BLE the most available solution at the moment is:&lt;br /&gt;&lt;a href="https://www.packetcraft.com/post/packetcraft-s-bluetooth-le-audio-solution-supports-the-nordic-semiconductor-nrf5340-wireless-soc"&gt;https://www.packetcraft.com/post/packetcraft-s-bluetooth-le-audio-solution-supports-the-nordic-semiconductor-nrf5340-wireless-soc&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>