<?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 using &amp;quot;nrfutil&amp;quot; in python.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96946/dfu-using-nrfutil-in-python</link><description>I am writing a code to perform DFU update in python. I want to use &amp;quot;nrfutil&amp;quot; library in my python script. I don&amp;#39;t want to use &amp;quot;nrfutil.exe&amp;quot; as command line. Thank you.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Dec 2023 11:00:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96946/dfu-using-nrfutil-in-python" /><item><title>RE: DFU using "nrfutil" in python.</title><link>https://devzone.nordicsemi.com/thread/460108?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2023 11:00:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9530385c-4fd7-4f86-a0b2-6772efa1fcf7</guid><dc:creator>Mhd</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Did you find a solution for this or using &amp;quot;&lt;span&gt;nrfutil.exe&amp;quot; is the only way&lt;/span&gt;?&lt;/p&gt;
&lt;p&gt;Best Regards,&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using "nrfutil" in python.</title><link>https://devzone.nordicsemi.com/thread/413042?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2023 13:56:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d02e64b4-bdf0-42c4-9ee9-f805b3f4c716</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;I am not a python expert or I am not sure whether it&amp;#39;s possible or not.&lt;/span&gt;&lt;/span&gt; May be you can take a look at the&lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil"&gt; git repo of nrfutil, &lt;/a&gt;so you can see the python packages. But this repo is old and deprecated, there won&amp;#39;t be any fix for this package in later years.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using "nrfutil" in python.</title><link>https://devzone.nordicsemi.com/thread/412636?ContentTypeID=1</link><pubDate>Wed, 01 Mar 2023 05:38:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e44fdf6-c39d-4184-86ed-e509bfc761f8</guid><dc:creator>Shweta</dc:creator><description>&lt;p&gt;Thank you for replying.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But can we use the nordic semiconductor libraries that are used to build nrfutil. Actually my objective is to perform DFU updates on my BLE devices but that without using any dependency like nrfutil.exe or any other .exe files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using "nrfutil" in python.</title><link>https://devzone.nordicsemi.com/thread/412279?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 13:21:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae6cd7fb-4be0-4bde-a017-d86cccd8680f</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-util"&gt;nrfutil is a command line utility&lt;/a&gt; which includes nordic semi libraries. I don&amp;#39;t think it&amp;#39;s possible to import the &amp;quot;nrfutil&amp;quot; just like some python libraries.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using "nrfutil" in python.</title><link>https://devzone.nordicsemi.com/thread/411652?ContentTypeID=1</link><pubDate>Thu, 23 Feb 2023 12:28:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87ef7359-150d-4d92-bd4e-55b59f5a384d</guid><dc:creator>Shweta</dc:creator><description>&lt;p&gt;I am using nrfutil using &amp;quot;SubProcess&amp;quot; module in python. But the issue is every time I share my code, other user must have &amp;quot;nrfutil.exe&amp;quot; on his system for &amp;quot;SubProcess&amp;quot; module to work. I want to use &amp;quot;nrfutil&amp;quot; as a library, just like we use &amp;quot;SubProcess&amp;quot;. I have installed nrfutil using &amp;quot;Pip install nrfutil&amp;quot; but I am not able to import the library in my script.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using "nrfutil" in python.</title><link>https://devzone.nordicsemi.com/thread/411418?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2023 14:40:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:406bf986-22ff-47ea-88e6-b98f7964e8e5</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Take a look at this &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-util-unified-command-line-utility"&gt;blog post on nRF util&lt;/a&gt;. To the end, it shows a python script for programming the devices. There you can actually change the traits and call the subprocess(in the script). I suggest to go through the whole blog for better understanding.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>