<?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>Read 10kB from internal flash and send it via NUS UART BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12317/read-10kb-from-internal-flash-and-send-it-via-nus-uart-ble</link><description>Can you please provide an example on how to read 10kB from the internal flash using pstorage_load and send it to mobile phone (NRF Toolbox) via NUS UART BLE ble_nus_string_send ? 
 A modification of ble_app_uart example from the SDK to do the task would</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Mar 2016 11:35:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12317/read-10kb-from-internal-flash-and-send-it-via-nus-uart-ble" /><item><title>RE: Read 10kB from internal flash and send it via NUS UART BLE</title><link>https://devzone.nordicsemi.com/thread/46611?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2016 11:35:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:557d12a6-9c65-4234-abdf-d5a901353b80</guid><dc:creator>svecoldr</dc:creator><description>&lt;p&gt;As for the first part of the question. Here is an example on how to send large data via BLE:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/nrf51-ble-app-lbs/blob/throughput-test-5.2.0/main.c"&gt;github.com/.../main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I will add example with flash as soon as I make it work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read 10kB from internal flash and send it via NUS UART BLE</title><link>https://devzone.nordicsemi.com/thread/46610?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 15:21:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4179a7d5-5452-45f0-8ca1-77024e183116</guid><dc:creator>svecoldr</dc:creator><description>&lt;p&gt;Well, I have tried but so far I have failed. I do not know for example how to synchronize BLE and Flash read. BLE can send only a 6 * 20 bytes then have to wait. In the meantime I should read next data from flash to be ready to send them. I am also afraid that my solution will &lt;code&gt;maybe&lt;/code&gt; work but will be far from good. That is why I really hope somebody knowledgeable could spend his/her 5 minutes and provide an example that everybody could benefit from.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read 10kB from internal flash and send it via NUS UART BLE</title><link>https://devzone.nordicsemi.com/thread/46609?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 15:12:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8897fa65-36bf-451f-b815-951efc1ae484</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Why not start by modifying the example just to send a small string from pstorage,  then extend that to be able to send an arbitrarily large amount of data ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>