<?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>What is Connection bonding ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15100/what-is-connection-bonding</link><description>Hi, 
 Can you please explain to me what bonding consists of ? 
 Because i want to use it in DFU from an app. I see an app where we can from the it do DFU . in Fact, the DFU button is activated, then when you click on it and select the hex , all is done</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Jul 2016 09:28:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15100/what-is-connection-bonding" /><item><title>RE: What is Connection bonding ?</title><link>https://devzone.nordicsemi.com/thread/57677?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 09:28:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9530a1e9-d1e5-4fb0-82fd-039ef746b93a</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;If you want the MCP app to reconnect automatically, then you have to modify the MAC address in the bootloader as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is Connection bonding ?</title><link>https://devzone.nordicsemi.com/thread/57676?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 08:47:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abfde058-9834-44ab-8ee4-f482c256f87f</guid><dc:creator>ToTo</dc:creator><description>&lt;p&gt;No. In the app use a MAC @ totally different. I take the one given by Nordic and i change the 2 first bytes to FF. And on the bootloader , i keep the one given by Nordic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is Connection bonding ?</title><link>https://devzone.nordicsemi.com/thread/57675?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 07:52:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8b54385-076a-4468-b600-75d3ef3a31ea</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Is it the bootloader MAC adress equal to the application MAC address + 1?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is Connection bonding ?</title><link>https://devzone.nordicsemi.com/thread/57674?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 07:18:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43d324c8-42ab-4703-8e9a-39060a93588b</guid><dc:creator>ToTo</dc:creator><description>&lt;p&gt;Ok thnaks .  the other question you didn&amp;#39;t reply :   I changed the bluetooth MAC address in the app where i&amp;#39;ll add the DFU service, so when after jumping to the bootloader, there is another MAC address. Dose it bother ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is Connection bonding ?</title><link>https://devzone.nordicsemi.com/thread/57673?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 11:39:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15aa22b0-3336-4e70-9e50-e092bd6c96f5</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;This is already implemented in the SDK, please take a look at the ble_app_hrs example with DFU support, you&amp;#39;ll find it in /examples/ble_peripheral/PCA100xx/s13x_with_dfu.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is Connection bonding ?</title><link>https://devzone.nordicsemi.com/thread/57671?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 10:43:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63d99a8b-6831-4723-b236-db4fea8ccddd</guid><dc:creator>ToTo</dc:creator><description>&lt;p&gt;I want an app that perform DFU service ( i choose DFU service on the app when connecting to it with MCP then automatically the app  jump to bootloader and MCP reconnect automatically to continue DFU)  , can you help me ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is Connection bonding ?</title><link>https://devzone.nordicsemi.com/thread/57672?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 09:54:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8728d41e-d289-442a-8ae9-6143a112b8ac</guid><dc:creator>ToTo</dc:creator><description>&lt;p&gt;Ok, just one other question to be sure :
I&amp;#39;m using an mac address different in the app than the one of the bootloader, it doesn&amp;#39;t bother no ? I understand that the mac address will be shared is the one of the dongle linked to the MCP . Am i right ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is Connection bonding ?</title><link>https://devzone.nordicsemi.com/thread/57670?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 08:24:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f7acee1-3793-417f-9818-da976d79c2e6</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Toto,&lt;/p&gt;
&lt;p&gt;After you&amp;#39;ve connected to a device you may pair with it in order to encrypt the connection. Pairing is essentially the exchange of temporary encryption keys, referred to as Short Term Keys(STKs).&lt;/p&gt;
&lt;p&gt;After you have paired, you have the optional choice of bonding with the device,
which is the exchange of Long Term Keys (LTKs) which can be used to re-encrypt the connection. The bonding information( the LTK and the device address) is stored in flash, so if you disconnect from the device and reconnect after some time, the device will use the LTK to re-encrypt the link so that you do not have to go through the paring and bonding process again.&lt;/p&gt;
&lt;p&gt;The application will share the bonding information with the bootloader (saves in RAM), resets into bootloader and then the bootloader uses this to automatically reconnect using whitelist advertising.  However, the device will reconnect even though you do not bond, then only the device address will be shared and it will reconnect using directed advertisment.
This is described on &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_appbonding.html?cp=6_0_0_4_3_1_2_3"&gt;this&lt;/a&gt; Infocenter page.&lt;/p&gt;
&lt;p&gt;I recommend taking a look at our &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/ble_sdk_app_gls.html"&gt;Glucose Application&lt;/a&gt; example if you want to see how bonding is done.&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>