<?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>sd_ble_gatts_hvx() error code 0x3401 inS130</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9073/sd_ble_gatts_hvx-error-code-0x3401-ins130</link><description>Hiii, 
 I am working on the ble_central_and_peripheral program(s130) in sdk8.1.0 .I could connect the device to the MCP and on clicking enable service we gets the notification. 
 what actually happens when we click the enable service?? what i have understood</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Sep 2015 09:21:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9073/sd_ble_gatts_hvx-error-code-0x3401-ins130" /><item><title>RE: sd_ble_gatts_hvx() error code 0x3401 inS130</title><link>https://devzone.nordicsemi.com/thread/33394?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2015 09:21:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d17adc8e-110f-4913-a8e1-1f8cfbe2bd14</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The 0x3401 error is the &lt;em&gt;BLE_ERROR_GATTS_SYS_ATTR_MISSING&lt;/em&gt; event indicating that some system attributes are missing. This means that you probably haven&amp;#39;t enebaled notification of your characteristic by writing to the &lt;a href="https://developer.bluetooth.org/gatt/descriptors/Pages/DescriptorViewer.aspx?u=org.bluetooth.descriptor.gatt.client_characteristic_configuration.xml"&gt;Client Characteristic Configuration descriptor&lt;/a&gt; (CCCD). I am not skilled in Android programming, but I believe there is a method for enabling notifications: &lt;a href="https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html#setCharacteristicNotification"&gt;setCharacteristicNotification&lt;/a&gt;.
There are a lot of &lt;a href="https://devzone.nordicsemi.com/questions/scope:all/sort:answers-desc/page:1/query:BLE_ERROR_GATTS_SYS_ATTR_MISSING/"&gt;questions about return code 0x3401&lt;/a&gt; and Ole Morten has a good explanation &lt;a href="https://devzone.nordicsemi.com/question/6085/strange-error-code-13313-0x3401-returned-by-sd_ble_gatts_hvx/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>