<?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>Extend the default img_mgr handlers with custom implementation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104917/extend-the-default-img_mgr-handlers-with-custom-implementation</link><description>Hi, 
 the img_mgr module registers image group handlers for state, upload and erase commands: 
 github.com/.../img_mgmt.c 
 Seems like these handlers can be overwritten in the user application with the MCUMGR_HANDLER_DEFINE macro. Is there any way to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Oct 2023 13:55:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104917/extend-the-default-img_mgr-handlers-with-custom-implementation" /><item><title>RE: Extend the default img_mgr handlers with custom implementation</title><link>https://devzone.nordicsemi.com/thread/452807?ContentTypeID=1</link><pubDate>Fri, 27 Oct 2023 13:55:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ebafc66-6555-44f1-bacd-40d6f5a4ed4e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see your point, but unfortunately I don&amp;#39;t see another way with the current nRF Connect SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extend the default img_mgr handlers with custom implementation</title><link>https://devzone.nordicsemi.com/thread/452668?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 17:51:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e799eebc-356b-4f83-9b1a-b14af07854f8</guid><dc:creator>george232</dc:creator><description>&lt;p&gt;Hi Einar, yes, we can remove static, but any modification of the nRF Connect SDK in NCS manifest based projects (like &lt;a id="" href="https://github.com/nrfconnect/ncs-example-application)"&gt;https://github.com/nrfconnect/ncs-example-application)&lt;/a&gt; is problematic. This would require either action from Nordic to remove statics of aforementioned functions or to create sdk-nrf fork that requires maintenance and synchronization with upstream repository. I thought that there was yet another solution which I didn&amp;#39;t see (like some Kconfig options to make the img_mgmt more flexible).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extend the default img_mgr handlers with custom implementation</title><link>https://devzone.nordicsemi.com/thread/451735?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2023 13:16:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f88f20f-5138-4524-ba1b-a04064621dc2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;These functions are static, so you will need to remove static in order to be able to call from your code. I am not able to see any reason why that should cause problems or how&amp;nbsp;these differs from img_mgmt_state_write() img_mgmt_state_read(), but I have not tested myself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>