<?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>GATT evt RAM address</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26580/gatt-evt-ram-address</link><description>Recently I have been learning ble_app_uart routine, here is a question 
 When receiving the message sent by the client, nus_data_handler this function will be softdevice call, including p_evt this parameter 
 Will p_evt-&amp;gt; params.rx_data.p_data effective</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Nov 2017 17:03:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26580/gatt-evt-ram-address" /><item><title>RE: GATT evt RAM address</title><link>https://devzone.nordicsemi.com/thread/104556?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 17:03:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ede9911-f73b-4b3d-a8f3-72c9680eecbf</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Yes, if you want to keep the data in RAM, then memcpy seems like a good idea.&lt;/p&gt;
&lt;p&gt;If you want to keep the data even more permanently, you can use e.g. FDS to store the data to flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GATT evt RAM address</title><link>https://devzone.nordicsemi.com/thread/104555?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 05:03:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84c82a70-82b2-4b6d-8ec6-7225a82b4ea8</guid><dc:creator>Stayhungry</dc:creator><description>&lt;p&gt;Yes.
As you said, I want to save the data and send it with uarte at the right time. It seems that I can only memcpy these data to the appropriate ram address.&lt;/p&gt;
&lt;p&gt;Thanks,Sigurd.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GATT evt RAM address</title><link>https://devzone.nordicsemi.com/thread/104557?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2017 23:05:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48e9aea4-6ea1-4899-8e1a-daf7b43b5892</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What do you mean by &amp;quot;p_evt-&amp;gt; params.rx_data.p_data effective time&amp;quot; ?&lt;/p&gt;
&lt;p&gt;Every time &lt;code&gt;nus_data_handler&lt;/code&gt; is called, the rx data is outputted over UART(E), and then the data is discarded.&lt;/p&gt;
&lt;p&gt;Do you want to store the data you receive ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>