<?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>DATA FILE TRANSFER FROM SD CARD TO MOBILE USING USB PROTOCOL. HOW TO DO IT IN NRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55451/data-file-transfer-from-sd-card-to-mobile-using-usb-protocol-how-to-do-it-in-nrf52840</link><description>we are using NRF52840 , with a SD card. Data is stored in SD card in Text file or .csv file every 10 mins. We want to push the data to Mobile App either using the BLE or using the USB protocol. Kindly advice .</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Sep 2022 10:54:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55451/data-file-transfer-from-sd-card-to-mobile-using-usb-protocol-how-to-do-it-in-nrf52840" /><item><title>RE: DATA FILE TRANSFER FROM SD CARD TO MOBILE USING USB PROTOCOL. HOW TO DO IT IN NRF52840</title><link>https://devzone.nordicsemi.com/thread/388323?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 10:54:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5faaa304-0b83-44d4-8696-c42cf00d6400</guid><dc:creator>Samiulhaq</dc:creator><description>&lt;p&gt;Thank you for the reply,&lt;/p&gt;
&lt;p&gt;I have created the thread but I can&amp;#39;t get helped properly. I have applied all the suggestions but can&amp;#39;t reduce my data transfer time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Sami&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DATA FILE TRANSFER FROM SD CARD TO MOBILE USING USB PROTOCOL. HOW TO DO IT IN NRF52840</title><link>https://devzone.nordicsemi.com/thread/388319?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 10:52:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74c26ae9-6aff-448c-b5ec-7b38fec51f73</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I see you have already created a new ticket here:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/92228/sending-a-complete-file-at-once-from-sd-card-to-mobile-app-using-nrf52840"&gt;Sending a complete file at once from SD card to Mobile App using NRF52840.&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please continue the discussion in that thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DATA FILE TRANSFER FROM SD CARD TO MOBILE USING USB PROTOCOL. HOW TO DO IT IN NRF52840</title><link>https://devzone.nordicsemi.com/thread/388307?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 09:32:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:630898cd-4ac9-42bf-99d4-d3b251573a7a</guid><dc:creator>Samiulhaq</dc:creator><description>&lt;p&gt;Thank you for the replay,&lt;/p&gt;
&lt;p&gt;My question is exactly the same( reading file from SD card and sending to Mobile App) the only difference is file size which is &lt;strong&gt;240MB&lt;/strong&gt; in my case and nothing else. I have read almost all related threads but no one help me.&lt;/p&gt;
&lt;p&gt;Till now I am able to read&amp;nbsp;&lt;strong&gt;220kb&lt;/strong&gt; of data from the file in the SD card (the actual size of the file is &lt;strong&gt;240MB&lt;/strong&gt;) and send it to the mobile app(using the above example you have provided, with some modifications&lt;strong&gt;)&lt;/strong&gt;&amp;nbsp;and it is taking about &lt;strong&gt;4 seconds&lt;/strong&gt;&amp;nbsp;&lt;strong&gt;&lt;/strong&gt;to send &lt;strong&gt;220kb&lt;/strong&gt; of data. I want to reduce the time taken for the data to send to the Mobile app, I have applied all the suggestions in multiple threads but can&amp;#39;t reduce the time to send the data to the mobile app.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any help will be highly appreciated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sami&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DATA FILE TRANSFER FROM SD CARD TO MOBILE USING USB PROTOCOL. HOW TO DO IT IN NRF52840</title><link>https://devzone.nordicsemi.com/thread/388295?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 09:06:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b47e1379-1aff-4b3f-9831-29a32b63222b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Please post your questions in a new ticket, as this is not related to the topic of this thread. Your questions relates to general BLE throughput and BLE services, which are already discussed in multiple threads. Please search other threads before posting your questions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DATA FILE TRANSFER FROM SD CARD TO MOBILE USING USB PROTOCOL. HOW TO DO IT IN NRF52840</title><link>https://devzone.nordicsemi.com/thread/388242?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 04:55:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19ca77e5-1121-4b59-935d-ea166155d404</guid><dc:creator>Samiulhaq</dc:creator><description>&lt;p&gt;Hi Jorgen, thank you for the reply.&lt;/p&gt;
&lt;p&gt;Yes, I understand that. You can&amp;#39;t send more than a specific amount of bytes in one go using ble_uart. I have two questions:&lt;/p&gt;
&lt;p&gt;1) Is there another possible way to send a file to the mobile app other than the ble_Uart?&lt;/p&gt;
&lt;p&gt;2) What is the minimum time through which I can send a 234MB file to the mobile App?&lt;/p&gt;
&lt;p&gt;I have read&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/throughput-and-long-range-demo" rel="noopener noreferrer" target="_blank"&gt;this&lt;/a&gt;&amp;nbsp;blog in which they claim &amp;quot;&lt;strong&gt;The throughput measured may vary depending on the environment, but the maximum throughput should be around&amp;nbsp;1365 Kbps&amp;nbsp;for BLE 5 High Speed,&amp;nbsp;775 Kbps&amp;nbsp;for BLE 4.2,&amp;nbsp;128 Kbps&amp;nbsp;for BLE 4.1 and&amp;nbsp;21.3&amp;nbsp;Kbps for BLE 5 Long Range. Be aware that there may be some inaccuracies in the measurements&amp;quot;.&amp;nbsp;&lt;/strong&gt;How can I achieve this much throughput?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DATA FILE TRANSFER FROM SD CARD TO MOBILE USING USB PROTOCOL. HOW TO DO IT IN NRF52840</title><link>https://devzone.nordicsemi.com/thread/388201?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2022 15:31:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d39feea2-a43e-4f8d-9591-9c37a2221785</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It is not possible to send 240 MB over BLE in one go, you will have to divide the file into smaller chunks that can fit inside the BLE packets.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DATA FILE TRANSFER FROM SD CARD TO MOBILE USING USB PROTOCOL. HOW TO DO IT IN NRF52840</title><link>https://devzone.nordicsemi.com/thread/387672?ContentTypeID=1</link><pubDate>Fri, 23 Sep 2022 11:26:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2b6c5ff-6479-4673-badd-d97c82c73c33</guid><dc:creator>Samiulhaq</dc:creator><description>&lt;p&gt;Hey Jorgen, thanks for the example. I have a large file of 240MB on an SD card and I want to transfer this file to the mobile app at once not byte by byte just like you have done in the above example. The byte by byte transfer will take a lot of time as the file size is large and also controlling it on the app side will be difficult. So, I want to transfer my file to the App at once. Can you please recommend to me the fastest possible to do it,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; best regards,&lt;/p&gt;
&lt;p&gt;Sami&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DATA FILE TRANSFER FROM SD CARD TO MOBILE USING USB PROTOCOL. HOW TO DO IT IN NRF52840</title><link>https://devzone.nordicsemi.com/thread/225489?ContentTypeID=1</link><pubDate>Sat, 14 Dec 2019 13:46:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4787d52d-65a4-42a1-9b9d-5a5185459bf6</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Does the STM32 support USB host mode (or OTG)? You need this in order to be able to connect to an NRF chip, as these can only be in USB device role.&lt;/p&gt;
&lt;p&gt;If the STM32 cannot be USB Host, you are probably better off connecting these chips via SPI.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DATA FILE TRANSFER FROM SD CARD TO MOBILE USING USB PROTOCOL. HOW TO DO IT IN NRF52840</title><link>https://devzone.nordicsemi.com/thread/225484?ContentTypeID=1</link><pubDate>Sat, 14 Dec 2019 10:11:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b42769d-cdc1-4b8e-99e7-184cf7efea10</guid><dc:creator>jagannathan GOPALAKRISHNAN</dc:creator><description>&lt;p&gt;Thanks Mr. Jorgen.&amp;nbsp; It worked. I need one more help. I want to connect the USB to a device other than Computer.&amp;nbsp; We are using the STM32bit controller. can u suggest.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DATA FILE TRANSFER FROM SD CARD TO MOBILE USING USB PROTOCOL. HOW TO DO IT IN NRF52840</title><link>https://devzone.nordicsemi.com/thread/224972?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2019 15:24:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b030839e-0388-4f1f-8d77-04c71606186d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I created an example with ble_app_uart that read a specified file on boot and when a central is connected and notifications for NUS are enabled, the file is transferred to the central.&lt;/p&gt;
&lt;p&gt;This example is created using SDK v16.0.0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-11bb208d1a834c31a43833c4874f5416/ble_5F00_app_5F00_uart_5F00_fatfs_5F00_send_5F00_sdk_5F00_16.0.0.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_uart_5F00_fatfs_5F00_send_5F00_sdk_5F00_16.0.0.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>