<?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 in multirole (Central and Peripheral)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66871/nrf52840-in-multirole-central-and-peripheral</link><description>Hello guys, 
 We are developing nRF52840-based device that needs to act as both BLE Central and Peripheral. 
 Peripheral role: 
 In BLE Peripheral mode, nRF52840 should advertise with whitelisting allowing only BLE Centrals with particular short device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Oct 2020 11:23:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66871/nrf52840-in-multirole-central-and-peripheral" /><item><title>RE: nRF52840 in multirole (Central and Peripheral)</title><link>https://devzone.nordicsemi.com/thread/273707?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 11:23:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9aba4c81-ea75-4bf1-98d1-9e55066e36dd</guid><dc:creator>bojan</dc:creator><description>&lt;p&gt;Got it!&lt;/p&gt;
&lt;p&gt;Thanks &lt;a href="https://devzone.nordicsemi.com/members/kenneth"&gt;Kenneth&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I would need to include the timer and disconnect explicitly with &lt;span style="background-color:rgba(204, 255, 204, 1);"&gt;&lt;strong&gt;&lt;em&gt;sd_ble_gap_disconnect()&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;em&gt;&lt;strong&gt; &lt;/strong&gt; &lt;/em&gt; function in that case.&lt;/p&gt;
&lt;p&gt;Bojan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 in multirole (Central and Peripheral)</title><link>https://devzone.nordicsemi.com/thread/273706?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 11:21:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c348ff0a-d63d-49ed-81cd-128deabad230</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The supervisor timeout only control how long time after the two devices are out of range of each other before they should consider link is lost.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 in multirole (Central and Peripheral)</title><link>https://devzone.nordicsemi.com/thread/273694?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 10:57:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf471408-14be-43ad-a724-1db0749916c6</guid><dc:creator>bojan</dc:creator><description>&lt;p&gt;Is it possible to use &lt;span style="background-color:rgba(204, 255, 204, 1);"&gt;&lt;strong&gt;&lt;em&gt;conn_sup_timeout&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;em&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/em&gt;parameter from &lt;span style="background-color:rgba(204, 255, 204, 1);"&gt;&lt;strong&gt;&lt;em&gt;ble_gap_conn_params_t&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;em&gt;&lt;/em&gt;&lt;strong&gt; &lt;/strong&gt;structure (Connection Supervision Timeout in 10ms units) to automatically limit the duration of BLE connection from within &lt;span style="background-color:rgba(204, 255, 204, 1);"&gt;&lt;strong&gt;&lt;em&gt;gap_params_init&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; function?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 in multirole (Central and Peripheral)</title><link>https://devzone.nordicsemi.com/thread/273660?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 08:33:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2380e5f3-26b8-423b-8b84-98a46c83220a</guid><dc:creator>bojan</dc:creator><description>&lt;p&gt;That&amp;#39;s great to read!&lt;/p&gt;
&lt;p&gt;Thanks, &lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt;!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 in multirole (Central and Peripheral)</title><link>https://devzone.nordicsemi.com/thread/273659?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 08:32:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3699932-6eaf-4e9a-8685-a3a55e65d164</guid><dc:creator>awneil</dc:creator><description>[quote userid="76830" url="~/f/nordic-q-a/66871/nrf52840-in-multirole-central-and-peripheral"]Is it possible for nRF52840 as BLE Peripheral to somehow limit the duration of the BLE connection?[/quote]
&lt;p&gt;The peripheral can disconnect the link whenever it wants.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#ga4031d0e4034c6f5900ad6d35b763fb0d"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#ga4031d0e4034c6f5900ad6d35b763fb0d&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>