<?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>FOTA Service Abstraction</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85046/fota-service-abstraction</link><description>SDK: NCS 1.8.0 
 Based on: Peripheral LBS example 
 Central: Mobile (iPhone) 
 Peripheral: nRF52832 
 Hello, 
 We are attempting to abstract the FOTA service within our custom application. We have successfully performed a FOTA using the nRF Connect Mobile</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Feb 2022 11:21:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85046/fota-service-abstraction" /><item><title>RE: FOTA Service Abstraction</title><link>https://devzone.nordicsemi.com/thread/354781?ContentTypeID=1</link><pubDate>Thu, 24 Feb 2022 11:21:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:262560ed-8a3a-4a94-a2cc-f94dad7903b8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Tom,&lt;/p&gt;
&lt;p&gt;You can get some callbacks by registering them using&amp;nbsp;img_mgmt_register_callbacks(). See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84115/dfu-via-ota/350555"&gt;this thread&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA Service Abstraction</title><link>https://devzone.nordicsemi.com/thread/354689?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 20:33:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06671759-6d4e-449e-a994-f5f08161451c</guid><dc:creator>Tom Jimenez</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Is there a way for our application to be notified if there is a write to the FOTA service? After looking at &amp;quot;smp_bt.c&amp;quot; it seems as the code is self-contained.&lt;/p&gt;
&lt;p&gt;We would like to control when an OTA process can occur within our application code and terminate the active connection if certain states haven&amp;#39;t been met.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I see that there is a define &amp;quot;CONFIG_MCUMGR_SMP_BT_AUTHEN&amp;quot; to restrict when the FOTA service is written to but we are not authenticating the connection.&lt;/p&gt;
&lt;p&gt;We would also like to avoid modifying any zephyr code.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Tom&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA Service Abstraction</title><link>https://devzone.nordicsemi.com/thread/354578?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 13:01:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:292bb09c-6125-40d3-baf6-2d10efd3b15a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Tom,&lt;/p&gt;
&lt;p&gt;There is no Bluetooth transport in the MCUboot bootloader, so with the nRF Connect SDK the application is responsible for transport. Therefor, it must implement the FOTA service as demonstrated by the&amp;nbsp;SMP Server Sample. With the nRF5 SDK this was different, as the whole DFU process, including transport, was&amp;nbsp;handled by the bootloader. This is not supported with the nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>