<?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>SoftDevice version number and error notifications</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94545/softdevice-version-number-and-error-notifications</link><description>We are using SDK v1.9.1 with VS Code to develop software for a custom BLE board using the nrf5340 SoC. We also have/use a nrf5340-DK development board. 
 We generally update our custom boards using OTA updates (MCUMANAGER with UI in our own custom iOS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Dec 2022 22:42:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94545/softdevice-version-number-and-error-notifications" /><item><title>RE: SoftDevice version number and error notifications</title><link>https://devzone.nordicsemi.com/thread/399293?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2022 22:42:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58d3cc4b-c350-422f-9334-ca20feeb4973</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I doubt this is related to the softdevice controller, but typically you should find the information you are looking for when booting the board with logging enabled, something like:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1670365737195v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;You can also check hci_core.c where this information is printed from.&lt;/p&gt;
&lt;p&gt;There is no&amp;nbsp;logging in the softdevice controller, but&amp;nbsp;it will throw a fault&amp;nbsp;or error if you make a call with the wrong/invalid parameters, such as for instance here I try with the wrong advertising parameter:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1670366139987v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;From errno.h I can find -22 is defined as EINVAL 22 /**&amp;lt; Invalid argument */&lt;/p&gt;
&lt;p&gt;My first suggestion in this case would be to connect a PPK II to measure the current consumption to find if it&amp;#39;s static +1.5ms or if it&amp;#39;s duty cycled in some way. Also make sure any inputs have a defined level and not floating, if you are not able to find anything in particular you just have to try to remove functionality to see if you can pin point it in specific.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>