<?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 send a file over ble</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69545/how-to-send-a-file-over-ble</link><description>Hi, 
 How to send a file over ble? Is it possible?? 
 
 Best Regards 
 Pspavi</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Oct 2022 08:15:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69545/how-to-send-a-file-over-ble" /><item><title>RE: How to send a file over ble</title><link>https://devzone.nordicsemi.com/thread/392310?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2022 08:15:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9aaf241a-f572-43d5-bea0-3b51ecc68904</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Oli,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please create a new case for your request.&amp;nbsp;&lt;br /&gt;From what I know there isn&amp;#39;t an example to do exactly what you need.&amp;nbsp;&lt;br /&gt;But there is a protocol to transfer large file: SMP.&amp;nbsp; It&amp;#39;s mainly for DFU update, but you can modify it to only tranfer data. Please take a look at the smp_svr example. You would need to choose BLE as the transport.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For high throughput data transfer, please have a look at&amp;nbsp;throughput example inside bluetooth sample folder.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send a file over ble</title><link>https://devzone.nordicsemi.com/thread/392233?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 17:00:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27cba148-424c-40ff-9f32-3189cb78b839</guid><dc:creator>Oli</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/hungbui"&gt;Hung Bui&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/69545/how-to-send-a-file-over-ble/285403"]&lt;p&gt;I think it&amp;#39;s feasible. The data you receive on the phone is a stream (array) of data and you just need to store them as a file on the phone.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t have the example on the phone to do the exactly same but we have an example where we stream image data to the phone and display it on the phone. The data was converted to a file before displaying.&amp;nbsp;&lt;br /&gt;Here is the Android app:&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/Android-Image-Transfer-Demo"&gt;https://github.com/NordicPlayground/Android-Image-Transfer-Demo&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And here is the application on the NRF52:&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo"&gt;github.com/.../nrf52-ble-image-transfer-demo&lt;/a&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Do you have the same application for the ncs version? I see that the links are for the nRF5 SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using zephyr and I want to be able to do a file transfer over ble using nus (coded phy).&lt;/p&gt;
&lt;p&gt;Hoping for your response.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;oli&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send a file over ble</title><link>https://devzone.nordicsemi.com/thread/285549?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 09:29:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:019195cf-3afd-4db0-8dc5-436964a307c3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure I fully understand your issue. Have you tried the ble_app_uart ? Have you developed your application on the phone to receive BLE packet&amp;nbsp; ?&amp;nbsp;&lt;br /&gt;Why you mention a structure here ? What is it for ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send a file over ble</title><link>https://devzone.nordicsemi.com/thread/285408?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 15:40:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e48a0e0f-1815-444a-ba83-6c58aab7232c</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;Is it? Then can share the structure to store the stream data and push it to the phone over ble. I need to collect 100 packets per second . How to store in a structure. I tried alot but failed to implement please can you share me a same code&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp;Regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Pspavi&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send a file over ble</title><link>https://devzone.nordicsemi.com/thread/285403?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 15:33:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2920f4d9-cb2a-43ce-b51f-c533b6330707</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I think it&amp;#39;s feasible. The data you receive on the phone is a stream (array) of data and you just need to store them as a file on the phone.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t have the example on the phone to do the exactly same but we have an example where we stream image data to the phone and display it on the phone. The data was converted to a file before displaying.&amp;nbsp;&lt;br /&gt;Here is the Android app:&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/Android-Image-Transfer-Demo"&gt;https://github.com/NordicPlayground/Android-Image-Transfer-Demo&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And here is the application on the NRF52:&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo"&gt;github.com/.../nrf52-ble-image-transfer-demo&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send a file over ble</title><link>https://devzone.nordicsemi.com/thread/285394?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 15:16:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36779aec-be67-457d-bf84-49cf2ec2c5f1</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hung bai&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am planning to merge the ble_app_uart with flash program, so that I can store the data in flash as a file and planning to send the file over the ble to the nrf toolbox application. File size is less than 2kb&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp;Regards&lt;/p&gt;
&lt;p&gt;Pspavi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send a file over ble</title><link>https://devzone.nordicsemi.com/thread/285381?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 14:43:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17bc9988-df93-465a-b22c-1eb228fd2e68</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you describe more on your application and setup ? Do you use Nordic on both sides or you plan to send file from the phone ?&lt;br /&gt;Have you tried any of our BLE example in the SDK ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>