<?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 connection create parameters and connection parameters questions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88495/ble-connection-create-parameters-and-connection-parameters-questions</link><description>Dear support 
 I am developing a generic central application intended to connect any BLE devices which is connectable. So I need to figure out which parameters are needed and make the them configurable. In Central multilink sample, there are two sets</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Jun 2022 10:59:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88495/ble-connection-create-parameters-and-connection-parameters-questions" /><item><title>RE: BLE connection create parameters and connection parameters questions</title><link>https://devzone.nordicsemi.com/thread/372348?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 10:59:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d4307c3-4bd7-45c8-b2b9-cf6dcfbdc017</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello Ping,&lt;/p&gt;
&lt;p&gt;Please take a look into this&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a title="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/building-a-bluetooth-application-on-nrf-connect-sdk-part-3-optimizing-the-connection#mcetoc_1fsea769v0:~:text=we%20start%20with%20a%c2%a0short%c2%a0description%c2%a0of%20the%20connection%20parameters%3a%c2%a0" href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/building-a-bluetooth-application-on-nrf-connect-sdk-part-3-optimizing-the-connection#mcetoc_1fsea769v0:~:text=We%20start%20with%20a%C2%A0short%C2%A0description%C2%A0of%20the%20connection%20parameters%3A%C2%A0" rel="noopener noreferrer" target="_blank"&gt;blog&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;from Nordic which explains about the connection parameters and how to set each one accordingly. You can take a look into&lt;a title="https://infocenter.nordicsemi.com/index.jsp?topic=%2fsds_s132%2fsds%2fs1xx%2fmultilink_scheduling%2fsuggested_intervals_windows_s132.html&amp;amp;cp=4_7_3_0_14_9" href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsds_s132%2FSDS%2Fs1xx%2Fmultilink_scheduling%2Fsuggested_intervals_windows_s132.html&amp;amp;cp=4_7_3_0_14_9" rel="noopener noreferrer" target="_blank"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;this section&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;from the softdevice which explains about setting up interval and window parameters.&lt;/p&gt;
&lt;p&gt;&lt;span style="color:rgba(0, 0, 0, 1);"&gt;&lt;strong&gt;connection is terminated by&amp;nbsp;the peripherals with reason code of 0x13!&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;Indicates the remote user terminated the connection for some reason. Are you trying with nRF connect mobile/desktop app if so can you share the connection log to get more idea on the disconnection reason.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE connection create parameters and connection parameters questions</title><link>https://devzone.nordicsemi.com/thread/371305?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 08:10:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df5269ea-2e37-40a5-92a0-60de390f30ec</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;span&gt;Abhijith&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you for reply.&lt;/p&gt;
&lt;p&gt;So, about create parameters, I can ignore it and just use the default one?&lt;/p&gt;
&lt;p&gt;How about the connection parameters?&amp;nbsp;there are 4 of them, probably I can make at least 3 of&amp;nbsp;them user configurable? they are interval max, latency and timeout.&lt;/p&gt;
&lt;p&gt;I am trying to connect to different devices use an application based on central multilink sample, and found that some apple devices are able to be connected and then later&amp;nbsp;the connection is terminated by&amp;nbsp;the peripherals with reason code of 0x13,&amp;nbsp;I wonder what is the reason for that, does change connection parameter help?&lt;/p&gt;
&lt;p&gt;Thank you for your help.&lt;/p&gt;
&lt;p&gt;Ping&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE connection create parameters and connection parameters questions</title><link>https://devzone.nordicsemi.com/thread/370659?ContentTypeID=1</link><pubDate>Thu, 02 Jun 2022 11:05:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ba57d72-e658-40d2-bc5d-795bd90812b8</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;&lt;span&gt;Both conn_param and create_param are BLE connection parameters. You can find both&amp;nbsp;&lt;a title="https://docs.zephyrproject.org/apidoc/latest/structbt__conn__le__create__param.html#a59f05bfb9468779d02f8d0beeb7a35c1" href="https://docs.zephyrproject.org/apidoc/latest/structbt__conn__le__create__param.html#a59f05bfb9468779d02f8d0beeb7a35c1" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt;. create_param is just Initializing the parameters for the connection .You can establish a connection without this function&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;About the parameters in the function&amp;nbsp;&lt;em&gt;create_param,&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;interval&lt;/strong&gt;: how long to wait between each scan, i.e after a scan is over and before the next scan starts.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;window:&lt;/strong&gt;&amp;nbsp;How long the scan should be for.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;timeout&lt;/strong&gt;: This timeout determines the timeout from the last data exchange till a link is considered lost.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And both&amp;nbsp;&lt;strong&gt;&lt;em&gt;interval_coded&lt;/em&gt;&amp;nbsp;&lt;/strong&gt;and&amp;nbsp;&lt;strong&gt;&lt;em&gt;window_coded&lt;/em&gt;&amp;nbsp;&lt;/strong&gt;works the same as&amp;nbsp;&lt;em&gt;interval&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em&gt;window&lt;/em&gt;&amp;nbsp;but for long range connection. You can use the default values as shown&lt;a title="https://docs.zephyrproject.org/apidoc/latest/structbt__conn__le__create__param.html#a59f05bfb9468779d02f8d0beeb7a35c1" href="https://docs.zephyrproject.org/apidoc/latest/structbt__conn__le__create__param.html#a59f05bfb9468779d02f8d0beeb7a35c1" rel="noopener noreferrer" target="_blank"&gt;&amp;nbsp;here&lt;/a&gt;. An if you check the sample central_multilink you can see INIT_INTERVAL and INIT_WINDOW are the values set in the specific applications.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Abhijith&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>