<?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>OTA NRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75123/ota-nrf52832</link><description>Hello, I want to ask a question. We have a project that needs OTA function. There are two Bluetooth devices A and B. 
 1. Both A and B are central_and_peripheral 
 2. A&amp;#39;s peripheral role and mobile phone connection 
 3. The centeral role of A is connected</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 May 2021 07:33:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75123/ota-nrf52832" /><item><title>RE: OTA NRF52832</title><link>https://devzone.nordicsemi.com/thread/310926?ContentTypeID=1</link><pubDate>Fri, 21 May 2021 07:33:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fb4ac32-d2fa-4187-844a-f11ba104b477</guid><dc:creator>Ben_iot</dc:creator><description>&lt;p&gt;Thank you, Vidar&amp;nbsp; ,i will try&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA NRF52832</title><link>https://devzone.nordicsemi.com/thread/310352?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 09:05:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da25b368-1adb-4213-978d-4512cce8a48e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The DFU service implementation assumes that the device is operating as a GAP peripheral only, so there are no checks on what the connection type is when m_dfu.conn_handle gets assigned in ble_dfu.c:on_connect()&lt;/p&gt;
&lt;p&gt;You may try something like this:&lt;/p&gt;
&lt;p&gt;ble_dfu.c&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**@brief Connect event handler.
 *
 * @param[in]   p_ble_evt   Event received from the BLE stack.
 */
static void on_connect(ble_evt_t const * p_ble_evt)
{
    if (p_ble_evt-&amp;gt;evt.gap_evt.params.connected.role == BLE_GAP_ROLE_PERIPH)
    {
        m_dfu.conn_handle = p_ble_evt-&amp;gt;evt.gap_evt.conn_handle;
    }
}
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA NRF52832</title><link>https://devzone.nordicsemi.com/thread/309837?ContentTypeID=1</link><pubDate>Fri, 14 May 2021 14:35:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43621fde-6e74-4c3e-b1c6-eb3338d9cd1c</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Some of our experts are out of office until Tuesday because of public holidays in Norway. We will come back to you next week.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>