<?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>Cannot read firmware value from SMP Service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105032/cannot-read-firmware-value-from-smp-service</link><description>Hi everyone, 
 I&amp;#39;m developing a React Native Mobile app that should be able to upload the firmware of a nRF52840 via OTA. 
 In order to make this update I need to read the current firmware version on the device. 
 I see from the nRF Connect app that these</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Oct 2023 11:17:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105032/cannot-read-firmware-value-from-smp-service" /><item><title>RE: Cannot read firmware value from SMP Service</title><link>https://devzone.nordicsemi.com/thread/452515?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 11:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11dc52c3-d3a9-42f0-a5bf-4c0977c77e2e</guid><dc:creator>fran_ce</dc:creator><description>&lt;p&gt;Hi Sigurd,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thank you for fast reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By looking at your links I understood how to decode it, but unfortunately seems like it&amp;#39;s not possible to do with React Native.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve made a small&amp;nbsp;Node.js server that seems to decrypt correctly, I&amp;#39;ll host it in a AWS Lambda in order to decrypt it and use then.&lt;br /&gt;&lt;br /&gt;Thank you,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;really appreciate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot read firmware value from SMP Service</title><link>https://devzone.nordicsemi.com/thread/452189?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 09:09:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a360eeb6-591e-4c02-9e1f-bf8062c88ebe</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Can anybody help me to understand how to decode this Base64 and if there&amp;#39;s some encryption key to use?[/quote]
&lt;p&gt;No encryption used, but you need to decode it. I think it may be CBOR encoded: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/services/device_mgmt/smp_protocol.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/services/device_mgmt/smp_protocol.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Our nRF Device Manager app is also able to read the version, and its code is open source: &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Connect-Device-Manager"&gt;https://github.com/NordicSemiconductor/Android-nRF-Connect-Device-Manager&lt;/a&gt;. I suggest that you have a look at this, and see how it operates.&lt;/p&gt;
&lt;p&gt;Let me know if you have any questions&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot read firmware value from SMP Service</title><link>https://devzone.nordicsemi.com/thread/452168?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 08:08:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d982269-aea8-4db0-a080-138678243e92</guid><dc:creator>laricchia97</dc:creator><description>&lt;p&gt;I am also having a similar problem: does anyone have any idea how to solve it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>