<?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>nRF9160 v2.4.0 changes to modem_info_string_get() function?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102610/nrf9160-v2-4-0-changes-to-modem_info_string_get-function</link><description>Device being used is an nRF9160 (Circuit Dojo nRF9160 Feather to be exact). 
 Development platform is MacOS (2015 MacBook Pro 15&amp;quot;, Intel) with macOS Ventura v13.5 installed. 
 The toolchains were installed with nRFconnect through the toolchain installer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 06 Aug 2023 01:02:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102610/nrf9160-v2-4-0-changes-to-modem_info_string_get-function" /><item><title>RE: nRF9160 v2.4.0 changes to modem_info_string_get() function?</title><link>https://devzone.nordicsemi.com/thread/440003?ContentTypeID=1</link><pubDate>Sun, 06 Aug 2023 01:02:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e937170f-1abc-4a11-a8e3-c3a4c5912026</guid><dc:creator>aldras</dc:creator><description>&lt;p&gt;Adding the following code before the call to modem_info_string_get() resolves the error.&lt;/p&gt;
&lt;p&gt;Looking at the sample project below revealed the required change.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;/opt/nordic/ncs/v2.4.1/nrf/samples/nrf9160/http_update/application_update/src/main.c:191&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    err = nrf_modem_lib_init();
    if (err) {
        printk(&amp;quot;Failed to initialize modem lib, err: %d\n&amp;quot;, err);
    }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I will mark this as resolved, and hope this information helps someone else who has the same issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>