<?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 manage data protection when GATT data attributes are placed on User space ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45093/how-to-manage-data-protection-when-gatt-data-attributes-are-placed-on-user-space</link><description>Hello, 
 My device has GATT data attributes configured to have BLE_GATTS_VLOC_USER so the data are in application stack. In this way, the softdevice has direct access to the data via my supplied pointers. My question is this would lead to data access</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Mar 2019 12:31:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45093/how-to-manage-data-protection-when-gatt-data-attributes-are-placed-on-user-space" /><item><title>RE: How to manage data protection when GATT data attributes are placed on User space ?</title><link>https://devzone.nordicsemi.com/thread/177323?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2019 12:31:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:291096b9-6dd1-4880-bc5e-d3a4e52b32e7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Thin Ice,&lt;/p&gt;
&lt;p&gt;To avoid mutual access to the data at the same time, you can either:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Use authorization read instead of normal read so you can have control of what actually sending over BLE.&lt;/p&gt;
&lt;p&gt;- Only use&amp;nbsp;sd_ble_gatts_value_set() to update the data instead of accessing the data buffer directly. This way you can avoid softdevice to access the data when it&amp;#39;s updating.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>