<?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>Central reading characteristic value</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53023/central-reading-characteristic-value</link><description>I have NRF5252840-DK (evaluation board, SDK 15.3.0, S140) acting as central. It correctly scans advertising data from my peripheral - custom board with NRF52811 (same SDK, based on Beacon project, but with added capability to connect and with added custom</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Oct 2019 13:24:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53023/central-reading-characteristic-value" /><item><title>RE: Central reading characteristic value</title><link>https://devzone.nordicsemi.com/thread/214182?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 13:24:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fa33528-9a19-41ca-b1f2-bfc46136f88c</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I don&amp;#39;t think you can call&amp;nbsp;&lt;em&gt;sd_ble_gatts_value_get()&amp;nbsp;&lt;/em&gt;from a client. The function belongs to the header file&amp;nbsp;&lt;em&gt;ble_gatts.h&lt;/em&gt; (Generic Attribute Profile (GATT) &lt;strong&gt;Server&lt;/strong&gt;) and has to be called from your peripheral (which is the server and contains the attribute table). For the client (in your case the central) you have to use the functions in the header file &lt;em&gt;ble_gattc.h.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/19690/sd_ble_gatts_value-on-central"&gt;this case&lt;/a&gt;, which is related to yours.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>