<?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>BLE - Try to disconnect during sending notification</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82417/ble---try-to-disconnect-during-sending-notification</link><description>Hello, 
 My config: - nRF SDK v17.1.0 - nRF SoftDevice S140 7.2.0 - FreeRTOS Kernel v10.0.0 (Amazon.com) 
 My project used BLE connection with custom service (based on NUS). I am using nitifications for sendind custom data between my peripheral (server</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Dec 2021 13:08:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82417/ble---try-to-disconnect-during-sending-notification" /><item><title>RE: BLE - Try to disconnect during sending notification</title><link>https://devzone.nordicsemi.com/thread/342070?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 13:08:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d5e3881-fc90-497a-93e4-3c2fb3a77d22</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Error 0x3401 is&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v1.0.0/group___b_l_e___e_r_r_o_r_s___g_a_t_t_s.html#ga1d0833ac31d0c319e5286623b6301d0a"&gt;&lt;span&gt;BLE_ERROR_GATTS_SYS_ATTR_MISSING&lt;/span&gt;&lt;/a&gt;&amp;nbsp;which means&amp;nbsp;&lt;span&gt;System attributes missing, use&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v1.0.0/group___b_l_e___g_a_t_t_s___f_u_n_c_t_i_o_n_s.html#ga577c788e199b1a2c0d19602b07ef2515"&gt;sd_ble_gatts_sys_attr_set&lt;/a&gt;&lt;span&gt;&amp;nbsp;to set them to a known value. See&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v7.0.1%2Fgroup___b_l_e___g_a_t_t_s___h_v_x___s_y_s___a_t_t_r_s___m_i_s_s_i_n_g___m_s_c.html"&gt;this&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/61014/getting-a-0x3401-ble_error_gatts_sys_attr_missing-from-sd_ble_gatts_hvx/248804#248804"&gt;this&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also, have a look at this &lt;a href="https://devzone.nordicsemi.com/support-private/support/280750/Is%20your%20peripheral%20using%20bonding?%20%20%20Devices%20that%20are%20bonded%20should%20store%20the%20CCCD%20state%20for%20the%20link%20between%20connections.%20This%20comes%20from%20the%20BLE%20specification.%20Is%20it%20an%20issue%20that%20it%20does?%20If%20so,%20it%20is%20the%20application%20that%20chooses%20whether%20or%20not%20to%20send%20any%20notifications.%20Perhaps%20you%20can%20stop%20the%20sending%20of%20notifications%20from%20the%20application%20if%20that%20is%20what%20you%20want?"&gt;case&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>