<?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>Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28557/peer-manager-and-chip-sd-sdk-select</link><description>Hello, guys, 
 We have developed our first generation product with 51822(16KB RAM, SDK10, S110V8.0) as peripheral , and we are always facing the problem that the connection time between smart phone and our device is too long(over 2s) ,after some test</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Dec 2017 13:33:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28557/peer-manager-and-chip-sd-sdk-select" /><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113127?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2017 13:33:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d099a884-48c2-4e38-91b5-0d0662e94eb5</guid><dc:creator>hunterliuyi</dc:creator><description>&lt;p&gt;ok,I will try tomorrow and go back here .Thanks a lot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113144?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2017 13:06:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d62f1e57-8263-472f-942e-12c777901cbd</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I don&amp;#39;t know why your DFU procedure goes faster. It could make sense to call it once, but not every time you get BLE_GAP_EVT_CONN_PARAM_UPDATE the event.&lt;/p&gt;
&lt;p&gt;You don&amp;#39;t have to set the connection parameters in the peripheral, if you get BLE_GAP_EVT_CONN_PARAM_UPDATE they are already set.&lt;/p&gt;
&lt;p&gt;Why would you call sd_ble_gap_ppcp_set()? That would just set Set GAP Peripheral Preferred Connection Parameters.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113143?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2017 13:01:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16471fee-1cb9-4347-ad55-6b0c92dd0ab0</guid><dc:creator>hunterliuyi</dc:creator><description>&lt;p&gt;Or maybe I should call sd_ble_gap_ppcp_set() instead of sd_ble_gap_conn_param_update() at the BLE_GAP_EVT_CONN_PARAM_UPDATE event?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113142?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2017 12:57:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07de411e-4e4e-49f1-8bd7-259e514f76e6</guid><dc:creator>hunterliuyi</dc:creator><description>&lt;p&gt;HI，Peter,  we added sd_ble_gap_conn_param_update() there Since we found that if we call it there our DFU procedure is much faster with some android phone. And in our opinion,  by BLE_GAP_EVT_CONN_PARAM_UPDATE event, we can get the connection parameter from smartphone and set them to 51822(it seems work for the DFU). If I were wrong, please correct me ,thanks a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113141?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2017 11:27:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6eb97e02-1879-4715-8820-34a717a874b2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I missed that. Why exactly are you calling it every time you get BLE_GAP_EVT_CONN_PARAM_UPDATE? That explains why you get so many BLE_GAP_EVT_CONN_PARAM_UPDATE events...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113138?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2017 00:48:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1668622c-d252-46d1-aa28-c326c7b09965</guid><dc:creator>hunterliuyi</dc:creator><description>&lt;p&gt;Hi, Peter, I have searched through my project ,and only found sd_ble_gap_conn_param_update() called in the function which I provided above, is there any other way to initialize a parameter update from the peripheral? thanks a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113137?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2017 16:13:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b5d2ddc-436d-413e-b752-e570394a899c</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I checked.&lt;/p&gt;
&lt;p&gt;Are you calling sd_ble_gap_conn_param_update() anywhere? I suspect you do and the central rejects, and you get a BLE_GAP_EVT_CONN_PARAM_UPDATE with the same connection interval. See variant #2 &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s110.api.v8.0.0/group___b_l_e___g_a_p___c_p_u___m_s_c.html?cp=3_7_0_0_0_2_1_0_2"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113140?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2017 02:01:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:848a4f54-c345-4f5e-a383-e0169927d4fa</guid><dc:creator>hunterliuyi</dc:creator><description>&lt;p&gt;HI, Peter, I have updated the question above ,please check .Thanks a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113135?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2017 12:50:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba997503-758c-4598-93e6-d8b07a56560c</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I still don&amp;#39;t understand how you got to the conclusion that it is the nRF51 that rejects?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113136?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2017 08:39:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f9fbd2c-c171-4716-b910-d676f3ad7d2a</guid><dc:creator>hunterliuyi</dc:creator><description>&lt;p&gt;HI, Peter,
I use two different android smart phone,the parameter update requesting after connecting to my 51822 is different, I added debug output  for gap_evt.params.conn_param_update.conn_params at the event &amp;quot;BLE_GAP_EVT_CONN_PARAM_UPDATE&amp;quot;, the output is like that :&lt;/p&gt;
&lt;p&gt;min int 6 max int 6 slave lat 0 timout 2000&lt;/p&gt;
&lt;p&gt;min int 6 max int 6 slave lat 0 timout 2000&lt;/p&gt;
&lt;p&gt;min int 6 max int 6 slave lat 0 timout 2000&lt;/p&gt;
&lt;p&gt;min int 6 max int 6 slave lat 0 timout 2000&lt;/p&gt;
&lt;p&gt;min int 39 max int 39 slave lat 0 timout 2000&lt;/p&gt;
&lt;p&gt;min int 39 max int 39 slave lat 0 timout 2000&lt;/p&gt;
&lt;p&gt;when another android phone connect ,the print is like that:&lt;/p&gt;
&lt;p&gt;min int 6 max int 6 slave lat 0 timout 2000&lt;/p&gt;
&lt;p&gt;min int 9 max int 9 slave lat 0 timout 2000&lt;/p&gt;
&lt;p&gt;the unit is 1.25ms.
if anything wrong, please correct me, thanks a lot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113134?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2017 08:27:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fed247ed-c9e5-4ad7-9d28-07dd922eef44</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What do you mean? How do you know the smart phone is requesting 7.5ms? And how is the nRF51 rejecting?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113133?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 03:21:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5c09414-7094-49e4-ac1b-45a6d54a5822</guid><dc:creator>hunterliuyi</dc:creator><description>&lt;p&gt;HI,Peter, I know that smartphone will limit the connection interval for the resource share problem, but in my case,it is the 51822 limit the connection interval, since my smartphone is requesting 7.5ms ,but 51822 refuse the value,so smartphone have to change the value to a quite long one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113139?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2017 10:23:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e22f411-3a87-49db-a221-27915c14e435</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I believe this is on purpose limitation introduced to save battery power. And also because most smart phones have one chip and one antenna that handles BLE, Bluetooth Classic, and Wi-Fi, so they have to share the total radio time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113132?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2017 08:25:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77e670ec-0746-4ee2-9ac4-5f0aa2423584</guid><dc:creator>hunterliuyi</dc:creator><description>&lt;p&gt;I just call sd_ble_gap_conn_param_update with the parameters the event provided to enable the new value, but it seems 7.5ms is not acceptable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113131?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2017 08:22:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4c43247-aeeb-4da3-9eec-63facfd2886a</guid><dc:creator>hunterliuyi</dc:creator><description>&lt;p&gt;Yes, I know it all depends on the central, but why 7.5ms can not be set as the final value? Do I have to do something special to enable 7.5ms connection interval?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113130?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2017 08:20:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:507b1501-dcf7-43c7-8f86-9c6d6d8c655a</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;So if you get a connection interval outside the min or max, you have three options, send a connection parameter update request, accept the values even though they are outside what you prefer, or disconnect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113129?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2017 08:18:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95925fc3-e9f2-4f2f-978d-dca97733d692</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;It is the central device that dictates the connection interval. The initial connection interval is decided by the central and is included in the connection request. Then the central can do a &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s110.api.v8.0.0/group___b_l_e___g_a_p___c_e_n_t_r_a_l___c_p_u___m_s_c.html?cp=3_7_0_0_0_2_1_0_21"&gt;connection parameter update&lt;/a&gt; to change the connection interval. The peripheral can only &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s110.api.v8.0.0/group___b_l_e___g_a_p___c_p_u___m_s_c.html?cp=3_7_0_0_0_2_1_0_2"&gt;request the central to do an connection parameter update&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113126?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2017 06:05:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6c79f6a-36fe-4cfd-bd11-a3d2497b4fcc</guid><dc:creator>hunterliuyi</dc:creator><description>&lt;p&gt;Hello, Peter,
We have checked that our original connection interval is 20ms for the min and 40ms for the max ,which are the shortest value complying to the requirement of IOS .we found a problem that some android phone will try to update the value to 7.5ms lower than the min value directly, after several times of this trying, they change the value to 48.75ms,exceeding the max range of 40. Some other android phones will change the value to  11.25ms which is also below the min value,and we found that the DFU time of later android phone is much faster then the former phones .So I have questions, why the connection interval can not be set to 7.5ms and 11.25 is valid? and it seems that the original min and max is useless, because the final value can be either larger or smaller than the range,why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer manager and chip/SD/SDK select</title><link>https://devzone.nordicsemi.com/thread/113128?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2017 12:47:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba4ea4da-7add-444b-b376-63458713157e</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You can try to reduce the connection interval. See &lt;a href="https://devzone.nordicsemi.com/question/56471/check-ble-connection-interval/"&gt;this&lt;/a&gt; on how to check what it actually is.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m assuming that you are not bonding at all now? You can try to use Device Manager, which Peer Manager replaced. This is available in SDK 10. Check out the ble_app_hrs example. Try setting IS_SRVC_CHANGED_CHARACT_PRESENT to 0 to not include the service changed characteristic.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure how easy it is to shrink the Peer Manager. If you just need simple bonding to one device you may be better of implementing your own bonding library, but this would take some work as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>