<?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>[DFU] Is the peripheral doing direct advertisement at bootloader?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12262/dfu-is-the-peripheral-doing-direct-advertisement-at-bootloader</link><description>Hi, I&amp;#39;m using SDK 7.2 and S110 7.1. 
 I haven&amp;#39;t mirgrated to SDK 10 yet. 
 I&amp;#39;m using the HRS and bootloader (which uses dual bank and BLE OTA) example. 
 
 After I select a peripheral device, I noticed that it disconnects and the peripheral resets</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Mar 2016 08:28:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12262/dfu-is-the-peripheral-doing-direct-advertisement-at-bootloader" /><item><title>RE: [DFU] Is the peripheral doing direct advertisement at bootloader?</title><link>https://devzone.nordicsemi.com/thread/46378?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2016 08:28:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43108579-ef90-40a6-9fec-5576711eb92a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;In dfu_app_handler.c you can see that the address is being set with the dfu_ble_svc_peer_data_set function (SV instruction - SV call is located in bootloader).  The restriction in CoreBluetooth is that the  IRK is only distributed during bonding. This means you can do directed advertisement when not bonded, and whitelist or normal advertisement when bonded (privacy enabled).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [DFU] Is the peripheral doing direct advertisement at bootloader?</title><link>https://devzone.nordicsemi.com/thread/46377?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2016 07:22:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac2a591d-c7a2-42e7-995a-4eb41ef5295f</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;Do you mean after disconnecting at the main program (like NUS example) and&lt;/p&gt;
&lt;p&gt;jumping to the bootloader, the board also knows the address of the central&lt;/p&gt;
&lt;p&gt;(in this case, my iPhone&amp;#39;s resolvable address or static address) ?&lt;/p&gt;
&lt;p&gt;This is a part about &lt;code&gt;share a static address&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;As far as I know, I thought iOS CoreBluetooth has many restrictions about giving the phone&amp;#39;s address.&lt;/p&gt;
&lt;p&gt;If so, can you tell which function / method / delegate makes it share the address?&lt;/p&gt;
&lt;p&gt;(From the DFU functions and the &lt;a href="https://github.com/NordicSemiconductor/IOS-DFU-Library"&gt;DFU library&lt;/a&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [DFU] Is the peripheral doing direct advertisement at bootloader?</title><link>https://devzone.nordicsemi.com/thread/46375?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2016 10:28:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55294dbc-32b9-4f91-9ad4-79e411a59679</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;correct, it won&amp;#39;t do bond sharing if only paired, but it the application can still share a static address so the bootloader can do directed advertising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [DFU] Is the peripheral doing direct advertisement at bootloader?</title><link>https://devzone.nordicsemi.com/thread/46376?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2016 05:20:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:089811eb-3283-4988-872c-266dac941697</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;Thanks, what about if the peripheral uses a service that uses pairing, not bonding (like NUS)?&lt;/p&gt;
&lt;p&gt;In this case, I think the bootloader won&amp;#39;t use the &lt;code&gt;bond sharing&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [DFU] Is the peripheral doing direct advertisement at bootloader?</title><link>https://devzone.nordicsemi.com/thread/46374?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 12:46:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e1eae52-fec1-4f88-bc73-6ee1212e47d7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi, the bootloader uses the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v10.0.0/structdfu__ble__peer__data__t.html"&gt;dfu_ble_peer_data_t &lt;/a&gt; (&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v10.0.0/bledfu_appbonding.html?cp=4_0_1_4_3_1_2_3"&gt;bond sharing&lt;/a&gt;) received from the application to either start direct or whitelist advertising, and whitelist advertising will be used when the address type is private resovable (resolved with IRK). Note that it is the iphone app that attempts to re-connect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>