<?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>Transferring data received over ble to sd card</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25952/transferring-data-received-over-ble-to-sd-card</link><description>Hi All, 
 I am working on pca10040, nrf52832 and s132. I am using ble_app_uart and sd card, where i want to transmit data received over ble to the sd card. 
 Can you help me with how can i do so? 
 I have the project ready where both sd card and ble</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Oct 2017 11:38:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25952/transferring-data-received-over-ble-to-sd-card" /><item><title>RE: Transferring data received over ble to sd card</title><link>https://devzone.nordicsemi.com/thread/102244?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2017 11:38:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1161661e-ae98-41ab-ac0b-58f67752d7ff</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Happy to help! I would appreciate if you could mark the answer as accepted by clicking the checkmark next to it, if you found it helpful! Have a nice day.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transferring data received over ble to sd card</title><link>https://devzone.nordicsemi.com/thread/102243?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2017 11:07:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c45471a9-c9ab-40f5-bb78-71df0ca9caba</guid><dc:creator>YASH</dc:creator><description>&lt;p&gt;The help that you did to me, i have no words at all. I see Nordic developer zone as one of the best discussion forums across.&lt;/p&gt;
&lt;p&gt;Thanks Jorgen again. Have a nice day.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transferring data received over ble to sd card</title><link>https://devzone.nordicsemi.com/thread/102245?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2017 08:30:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb2f179f-3c96-4738-b06f-4dfe5b0ba509</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Added project for SDK v14.1.0 with support for SES.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transferring data received over ble to sd card</title><link>https://devzone.nordicsemi.com/thread/102242?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2017 15:36:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d91ca89-ef01-4f32-8826-3b9791e5e5c8</guid><dc:creator>YASH</dc:creator><description>&lt;p&gt;Hello Jorgen,&lt;/p&gt;
&lt;p&gt;I am very much happy with your help. Although i am using a free version of Keil5 due to which the code limit is 32k and the one you sent to me is exceeding it.&lt;/p&gt;
&lt;p&gt;I probably cannot fund to get a licensed version. Can u help me with the same problem in sdk14.1.0? with me using Segger Embedded Studio?&lt;/p&gt;
&lt;p&gt;Or maybe if it can be done on sdk 12.2.0 where code size remains lesser than 32k? I have been doing it on sdk12.2.0. I am attaching my zip file.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/yashverma28/Project"&gt;ble_app_uart&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I appreciate your help.&lt;/p&gt;
&lt;p&gt;Thank You.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transferring data received over ble to sd card</title><link>https://devzone.nordicsemi.com/thread/102240?ContentTypeID=1</link><pubDate>Sat, 21 Oct 2017 07:24:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdde161d-2a90-45c3-bd92-6dee7ab17a72</guid><dc:creator>YASH</dc:creator><description>&lt;p&gt;Thank you so much Jorgen for helping me out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transferring data received over ble to sd card</title><link>https://devzone.nordicsemi.com/thread/102239?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2017 07:44:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49d30796-6be5-4f13-825d-52e76f8f06bb</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I uploaded an example in my above answer. Note that only PCA10040 board and Keil5/GCC projects are updated with correct files. Let me know if you are using other compiler, or want projects for PCA10056 board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transferring data received over ble to sd card</title><link>https://devzone.nordicsemi.com/thread/102238?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 07:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:628bbf48-fe53-418f-ac68-45f8d962f7b9</guid><dc:creator>YASH</dc:creator><description>&lt;p&gt;If you could share some code snippet for it then it would be very helpful. If you could. Thanks in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transferring data received over ble to sd card</title><link>https://devzone.nordicsemi.com/thread/102241?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2017 10:29:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebf628d8-d0a4-403d-a831-a46ac223bb59</guid><dc:creator>YASH</dc:creator><description>&lt;p&gt;Thanks Jorgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transferring data received over ble to sd card</title><link>https://devzone.nordicsemi.com/thread/102237?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2017 09:27:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:172801aa-f240-4f1b-af9c-0f1eb65076cc</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When using the ble_app_uart example, the data received over BLE can be handled in &lt;code&gt;nus_data_handler&lt;/code&gt;. Here you should be able to write to the sd card in the same way done in the fatfs example, by replacing the parameter &lt;code&gt;TEST_STRING&lt;/code&gt; and &lt;code&gt;sizeof(TEST_STRING)&lt;/code&gt; in call to &lt;code&gt;f_write&lt;/code&gt; with the received data from &lt;code&gt;p_evt-&amp;gt;params.rx_data.p_data&lt;/code&gt; and length from &lt;code&gt;p_evt-&amp;gt;params.rx_data.length&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;[EDIT]:&lt;/strong&gt; Attached an example that combines ble_app_uart and the fatfs example, to write all strings received over NUS/BLE to SD Card. The example is written for SDK 14.0.0. Extract the zip in &lt;code&gt;\examples\ble_peripheral\&lt;/code&gt; directory.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_uart_5F00_fatfs.zip"&gt;ble_app_uart_fatfs.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_uart_5F00_fatfs_5F00_sdk141_5F00_keil_5F00_gcc_5F00_ses.zip"&gt;ble_app_uart_fatfs_sdk141_keil_gcc_ses.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>