<?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>Handling BLE_ERROR_GATTS_SYS_ATTR_MISSING</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16280/handling-ble_error_gatts_sys_attr_missing</link><description>I am doing some test with the Battery Service on SDK v10, and found out that if I have not enabled Notification on my phone, calling ble_bas_battery_level_update() returns BLE_ERROR_GATTS_SYS_ATTR_MISSING , which originated from a call to sd_ble_gatts_hvx</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Sep 2016 12:23:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16280/handling-ble_error_gatts_sys_attr_missing" /><item><title>RE: Handling BLE_ERROR_GATTS_SYS_ATTR_MISSING</title><link>https://devzone.nordicsemi.com/thread/62226?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 12:23:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9708e621-35c4-4026-b4bf-dc51085e648e</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;ol&gt;
&lt;li&gt;_&lt;/li&gt;
&lt;li&gt;If the CCCD is actually set to 0x0000, you will not receive BLE_ERROR_GATTS_SYS_ATTR_MISSING, you will receive NRF_ERROR_INVALID_STATE.&lt;/li&gt;
&lt;li&gt;As far as I know, you will only receive BLE_GATTS_EVT_SYS_ATTR_MISSING if the peer tries to read a CCCD that hasn&amp;#39;t been set.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>