<?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>nRF52840 start sending data after bonding</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68322/nrf52840-start-sending-data-after-bonding</link><description>Good morning, 
 We have developed a prototype based on the nRF52840. We have also developed an Android application. 
 When smartphone has device already bonded the application is perfectly working. 
 Nevertheless, we have found a problem at the beginning</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Nov 2020 11:16:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68322/nrf52840-start-sending-data-after-bonding" /><item><title>RE: nRF52840 start sending data after bonding</title><link>https://devzone.nordicsemi.com/thread/280569?ContentTypeID=1</link><pubDate>Wed, 18 Nov 2020 11:16:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d64b9d8-ab20-4b53-86de-8997c3eafb1c</guid><dc:creator>Dani</dc:creator><description>&lt;p&gt;Finally, I have set both MIN_CONN_INTERVAL and MAX_CONN_INTERVAL to 10ms, and now it&amp;#39;s working fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 start sending data after bonding</title><link>https://devzone.nordicsemi.com/thread/280401?ContentTypeID=1</link><pubDate>Tue, 17 Nov 2020 14:41:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca41551e-41eb-44c1-9f2e-4b70465c1868</guid><dc:creator>Dani</dc:creator><description>&lt;p&gt;I have also tried to set MIN_CONN_INTERVAL to 10ms, but result is the same: problems to receive all data just after bonding process.&lt;/p&gt;
&lt;p&gt;When disconnecting and connecting back again (device already bonded), all data is always correctly received.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 start sending data after bonding</title><link>https://devzone.nordicsemi.com/thread/280311?ContentTypeID=1</link><pubDate>Tue, 17 Nov 2020 10:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:561ce0d1-183c-4781-be1f-9a656c678007</guid><dc:creator>Dani</dc:creator><description>&lt;p&gt;Hi Amanda:&lt;/p&gt;
&lt;p&gt;NRF_SDH_BLE_GAP_EVENT_LENGTH 251&lt;/p&gt;
&lt;p&gt;gap_conn_params.min_conn_interval = MIN_CONN_INTERVAL;&lt;br /&gt; gap_conn_params.max_conn_interval = MAX_CONN_INTERVAL;&lt;br /&gt; gap_conn_params.slave_latency = SLAVE_LATENCY;&lt;br /&gt; gap_conn_params.conn_sup_timeout = CONN_SUP_TIMEOUT;&lt;/p&gt;
&lt;p&gt;, where:&lt;/p&gt;
&lt;p&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS(500, UNIT_1_25_MS) /**&amp;lt; Minimum acceptable connection interval (0.5 seconds). */&lt;br /&gt;#define MAX_CONN_INTERVAL MSEC_TO_UNITS(1000, UNIT_1_25_MS) /**&amp;lt; Maximum acceptable connection interval (1 second). */&lt;br /&gt;#define SLAVE_LATENCY 0 /**&amp;lt; Slave latency. */&lt;br /&gt;#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(4000, UNIT_10_MS) /**&amp;lt; Connection supervisory timeout (4 seconds). */&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will try to also have a sniffer trace.&lt;/p&gt;
&lt;p&gt;Dani&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 start sending data after bonding</title><link>https://devzone.nordicsemi.com/thread/280273?ContentTypeID=1</link><pubDate>Tue, 17 Nov 2020 09:23:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7a9b028-239f-4aeb-a168-842ca4687734</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Dani,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is&amp;nbsp;the value of the&amp;nbsp;&lt;span&gt;min/max connection interval and&amp;nbsp;the GAP event length?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you provide the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE"&gt;sniffer trace&lt;/a&gt;&amp;nbsp;log?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 start sending data after bonding</title><link>https://devzone.nordicsemi.com/thread/280059?ContentTypeID=1</link><pubDate>Mon, 16 Nov 2020 09:26:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e559747a-cb24-4309-98f9-8a6a80b16a7f</guid><dc:creator>Dani</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Using the nRF Connect I&amp;#39;m observing the same behaviour:&lt;/p&gt;
&lt;p&gt;Once my device is bonded, I send some values through one service. When these data is received in my device, it starts sending all its parameters to the smartphone (one sending every 62.5ms). Through nRF-Connect I have observed that not all data is received first time after device bonding.&lt;/p&gt;
&lt;p&gt;Nevertheless, if device is already bonded, when a smartphone connects to device, all these parameters are correctly received and there are not data losses.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Which can be the reason of this?&lt;/p&gt;
&lt;p&gt;Dani.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 start sending data after bonding</title><link>https://devzone.nordicsemi.com/thread/279899?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 12:26:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14539cc5-eda5-43e8-92fb-daa9edcc8c00</guid><dc:creator>Dani</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I will test what you have suggested.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I&amp;#39;m using s140 v6.1.0&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Dani.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 start sending data after bonding</title><link>https://devzone.nordicsemi.com/thread/279897?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 12:25:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:353ed5e5-3f3f-4313-b011-2e2c2c145127</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Dani,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which version of the SDK you are using?&lt;/p&gt;
&lt;p&gt;Do you test the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-mobile"&gt;nRF-Connect-for-mobile&lt;/a&gt;&amp;nbsp;with the device?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please provide the log from&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-mobile"&gt;nRF-Connect-for-mobile&lt;/a&gt;, debug log on the&amp;nbsp;device, and the&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE"&gt;sniffer trace&lt;/a&gt;&amp;nbsp;log&lt;span&gt;&amp;nbsp;recording the behavior.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>