<?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>Notify arrives late (timing problem)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21047/notify-arrives-late-timing-problem</link><description>Hey guys. We are using the NRF52 with SDK 13.0.0.1-alpha.
If we connect the NRF52 to our own android or iOS APP we have some timing problems with notifications. When the smartphone is connected to the NRF, the user writes from smartphone into a characteristic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Apr 2017 12:55:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21047/notify-arrives-late-timing-problem" /><item><title>RE: Notify arrives late (timing problem)</title><link>https://devzone.nordicsemi.com/thread/82231?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 12:55:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ddd8da9-f6b4-497e-8124-b136c1276699</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Could you use the LOG module to log when the notification is put in the TX buffer, when sd_ble_gatts_hvx() is called? And also log when the notification has been transmitted (BLE_GATTS_EVT_HVN_TX_COMPLETE)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notify arrives late (timing problem)</title><link>https://devzone.nordicsemi.com/thread/82230?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 08:09:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69ffd1e3-61f0-488a-acab-da4d72665044</guid><dc:creator>Chris G.</dc:creator><description>&lt;p&gt;Hello Kristin, the notification is working. Our problem is more the delay between the notifications.
ie:
when A(Smartphone) send a message to B(nRF52) on characteristic 1, B receive it successfully and send an ACK on charackteristic 2 back to B. So A can send the next message to B and so on..
Now our problem is, that the next message from A is received 300ms after the first message and i think this needs to much time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notify arrives late (timing problem)</title><link>https://devzone.nordicsemi.com/thread/82229?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 13:03:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ac29986-cbc1-488d-a895-12bef6af4f70</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Setting &lt;code&gt;char_md.char_props.notify = 1&lt;/code&gt; will only set the notify property. However, the notification will not be enabled that way. To enable notifications for a characteristic, the client (often central/master) has to enable notifications by writing to the CCCD of the given characteristic.&lt;/p&gt;
&lt;p&gt;In nRF Connect, there should be a button for enabling notifications for each characteristics that have the notify property.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notify arrives late (timing problem)</title><link>https://devzone.nordicsemi.com/thread/82228?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 06:41:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:701bbe9a-e0c2-417b-bf95-9a69a010bea9</guid><dc:creator>Chris G.</dc:creator><description>&lt;p&gt;thank you for your response!
The problem with nRF Connect APP is that i cannot test under the same conditions because i cannot influence the APP to send alot of write commands in a short time.
Do you have an idea how i can test this?&lt;/p&gt;
&lt;p&gt;i enable my notifications like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  if (p_char_settings-&amp;gt;update == CHAR_UPDATE_NOTIFY)
    {
    char_md.char_props.notify = 1;
    }
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notify arrives late (timing problem)</title><link>https://devzone.nordicsemi.com/thread/82227?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 12:23:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4eaf0cf-5e03-4598-b9cf-305d023c1ac7</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Do you see the same problem if you use nRF Connect (iOS)?&lt;/p&gt;
&lt;p&gt;How do you enable the notifications?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>