<?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>How to trasnfer a text file over BLE from nrf52840 to smartphone?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37310/how-to-trasnfer-a-text-file-over-ble-from-nrf52840-to-smartphone</link><description>Hi Everyone 
 Here is what i am trying to achieve with nrf52840 PDK , SDK15.0 And Segger Embedded Stuido 
 1. I want to create a text file with &amp;quot;HELLO WORLD!&amp;quot; in it. 
 2. I want to send this file over BLE using NUS to Smartphone and view the file on my</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Aug 2018 10:39:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37310/how-to-trasnfer-a-text-file-over-ble-from-nrf52840-to-smartphone" /><item><title>RE: How to trasnfer a text file over BLE from nrf52840 to smartphone?</title><link>https://devzone.nordicsemi.com/thread/143532?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 10:39:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f44a5424-a30f-4151-8a0d-cdfef907c694</guid><dc:creator>cbd</dc:creator><description>&lt;p&gt;You might be able to, although if it does work it will only be with a singular SPI and not QSPI.&lt;/p&gt;
&lt;p&gt;I would think that someone has tried this before, so best to search for QSPI on here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to trasnfer a text file over BLE from nrf52840 to smartphone?</title><link>https://devzone.nordicsemi.com/thread/143524?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 09:45:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b54deab-c9bb-4465-afeb-30593d8348d4</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;HI&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the answer.&lt;/p&gt;
&lt;p&gt;Can i use the FATFS library for writing text file to the external QSPI memory on board nrf52840 PDK?&lt;/p&gt;
&lt;p&gt;If yes , how can i do that?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to trasnfer a text file over BLE from nrf52840 to smartphone?</title><link>https://devzone.nordicsemi.com/thread/143512?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 08:51:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0eba7b29-1540-45c5-a72a-41d168927641</guid><dc:creator>cbd</dc:creator><description>&lt;p&gt;This is far too general a question for a complete answer, but here&amp;#39;s the gist of it.&lt;/p&gt;
&lt;p&gt;You will need to receive this data on your smartphone, converting it to the format that you require for your file and write the file.&lt;/p&gt;
&lt;p&gt;I would suggest that you treat all data for the file as binary for the transfer process and then handle it accordingly. Text can be encoded in many ways e.g. UTF-8, UTF-16, UNICODE. You will need to implement your own &amp;quot;protocol&amp;quot; to handle files of different types, unless they are all the same.&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re adapting the NUS example then you will need to take the data received, in binary form, and write it to a file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The simplest test is to send a file through the PC link to the DK board in a form that will be recognised by your smartphone, you will need to implement a process of naming the file to be stored, you can do this by asking the user to enter a name and location for the file before transfer starts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>