<?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>LESC-MITM without bonding</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64735/lesc-mitm-without-bonding</link><description>Hello, 
 In my current project designed around nRF52840 incorporating many peripherals (limited power budget) and many central devices. Each peripheral can connect to any central device, one at a time, while each central device can have up to 5 concurrent</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Aug 2020 12:18:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64735/lesc-mitm-without-bonding" /><item><title>RE: LESC-MITM without bonding</title><link>https://devzone.nordicsemi.com/thread/264857?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 12:18:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73bb0963-9c3b-4d0d-9020-4ca4572046b6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The maximum number of bonds is limited by the available flash space for storing bonding information. In practice, this will be a very high number. See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/25703/how-large-is-the-size-peer-manager-uses/101258#101258"&gt;this post&lt;/a&gt; for details.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LESC-MITM without bonding</title><link>https://devzone.nordicsemi.com/thread/264682?ContentTypeID=1</link><pubDate>Sat, 15 Aug 2020 01:04:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84de642d-a873-4e69-8fdb-23418416f411</guid><dc:creator>habibfarahani</dc:creator><description>&lt;p&gt;Thank you!&amp;nbsp; That worked for me.&amp;nbsp; Another question that came up as I was trying bonding is what is the maximum number of peers that I can support to store bonding information in peer_manager?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LESC-MITM without bonding</title><link>https://devzone.nordicsemi.com/thread/264195?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2020 09:10:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:825a752b-2f74-4c6d-9c6c-a0ad49268816</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hello Habib,&lt;/p&gt;
[quote user=""]is there any way to not rely on peer_manager and disable bonding?&amp;nbsp;[/quote]
&lt;p&gt;There is no problem pairing with LESC and MITM without bonding. You can refer to the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.0/ble_sdk_app_gls.html"&gt;Glucose Application&lt;/a&gt;&amp;nbsp;for an example using LESC and MITM, and make these small changes to remove support for bonding:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-ee29e26a07b14def9b9e7e3d3943c5fa/main.c.diff"&gt;devzone.nordicsemi.com/.../main.c.diff&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This still uses the peer manager for handling the pairing, but&amp;nbsp;bonding is not performed (meaning that no bonding information is stored in flash, and so the pairing is only used for the current connection).&lt;/p&gt;
&lt;p&gt;It is of course possible to handle the pairing yourself using only SoftDevice APIs, but that would mean that you would have to implement much of the peer manager functionality yourself, and I do not see any benefits of this approach if you want to support pairing (encrypting the link).&lt;/p&gt;
[quote user=""]I really do not care which central is connected to which peripheral so long as the data is transferred as short a time as possible.[/quote]
&lt;p&gt;It is a bit odd to not care about which central you are connected to but still wanting LESC and MITM (a securely encrypted and authenticated link). Do you need that at all? If not, then you could skip it altogether.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>