<?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>Events/result codes when notifications fail</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49352/events-result-codes-when-notifications-fail</link><description>I&amp;#39;m looking for a way to reliably determine (from the applications viewpoint) if a notification was successfully transmitted. Currently, we&amp;#39;re having some issues when the link is weak and it eventually times out and disconnects. 
 Are there any mechanism</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Jul 2019 08:34:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49352/events-result-codes-when-notifications-fail" /><item><title>RE: Events/result codes when notifications fail</title><link>https://devzone.nordicsemi.com/thread/196741?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2019 08:34:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5e948e4-b2a9-403b-b1b9-d98593f8ad05</guid><dc:creator>obbe</dc:creator><description>&lt;p&gt;Just the answer I needed. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Events/result codes when notifications fail</title><link>https://devzone.nordicsemi.com/thread/196545?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2019 12:38:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38699aeb-30ea-467f-8434-69685b5718e7</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The link layer sends notifications as commands rather than requests, which means that they don&amp;#39;t have an explicit timeout, and no timeout event will be generated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The only way a notification can be lost is if you have a link loss, which is what is happening in your case, triggering the disconnected event.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;While you don&amp;#39;t get any events on a missing notification, you will get an event when one or more notifications are ACK&amp;#39;ed by the client. In this case the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___b_l_e___c_o_m_m_o_n___e_n_u_m_e_r_a_t_i_o_n_s.html?cp=3_4_1_6_2_0_2_1_0_0#ggaa55e423bfea45f03764a636f2cec7a8ba408a77f131a2d314fbf477cdb2d1e0f6"&gt;BLE_EVT_TX_COMPLETE&lt;/a&gt;&amp;nbsp;will be sent, informing you that a certain number of notifications were successfully sent.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you send a notification and see that this event never occurs then it means the notification still hasn&amp;#39;t been ACK&amp;#39;ed by the client, and is pending in the SoftDevice buffers. If this happens over several connection intervals it is typically a sign that the link is poor.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>