<?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 relay application and peer manager</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56724/ble-relay-application-and-peer-manager</link><description>Hello, 
 I&amp;#39;m considering writing BLE relay application, where central side should bond and encrypt connections (cause sensor device requires it and will not function without it), and peripheral side should not encrypt and should not require bonding (cause</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Jan 2020 13:35:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56724/ble-relay-application-and-peer-manager" /><item><title>RE: BLE relay application and peer manager</title><link>https://devzone.nordicsemi.com/thread/230089?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 13:35:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff9b1795-9eac-4d80-976a-9ea96a68c076</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="woytekm"]Should i call pm_sec_params_set with different parameter set when i want to connect to peripheral as central (bonding/encryption on), and different set (no bonding, no encryption) when i&amp;#39;m advertising as peripheral?[/quote]
&lt;p&gt;Yes, &lt;span&gt;or do not call&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__peer__manager.html#gac27a2cc39be9fce1bd866ba4c6b18349"&gt;pm_sec_params_set&lt;/a&gt;&amp;nbsp;for&amp;nbsp;No pairing/bonding. See PM/&lt;a title="Usage" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_pm_usage.html?cp=7_1_3_2_7_2"&gt;Usage&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&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 relay application and peer manager</title><link>https://devzone.nordicsemi.com/thread/229946?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2020 18:46:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ca2bd28-0347-4ae0-ab40-d8587aa778e8</guid><dc:creator>woytekm</dc:creator><description>&lt;p&gt;Hi Amanda, so how should i approach this? Should i call pm_sec_params_set with different parameter set when i want to connect to peripheral as central (bonding/encryption on), and different set (no bonding, no encryption) when i&amp;#39;m advertising as peripheral? I don&amp;#39;t really see anything related to such case in peer manager documentation...&amp;nbsp; Or is it somehow possible to avoid using Peer Manager for peripheral role and use it only for central part of the application?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Wojtek&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE relay application and peer manager</title><link>https://devzone.nordicsemi.com/thread/229824?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2020 12:16:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b06a642-6170-4379-bd76-5e2e2c63e986</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]Can this example&amp;nbsp;be adjusted in a way where peer manager would only work for central role (allowing for easy bonding/encryption), and peripheral role would not require bonding/encryption (not using peer manager, or using it with different parameters) ?[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;I have not tested that, but I believe it should be possible&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
[quote user=""]Second question - which softdevice should i use for such an application when using nRF52840 IC?[/quote]
&lt;p&gt;Please see the info in the&amp;nbsp;&lt;a title="SDKs and SoftDevices " href="https://infocenter.nordicsemi.com/topic/comp_matrix_nrf52840/COMP/nrf52840/nRF52840_ic_rev_sdk_sd_comp_matrix.html?cp=4_0_3_2"&gt;SDKs and SoftDevices&lt;/a&gt;&amp;nbsp;section.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>