<?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>Runtime setting of APN when using the &amp;#39;LTE Link Controller&amp;#39; library</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96289/runtime-setting-of-apn-when-using-the-lte-link-controller-library</link><description>Our system is working fine defining the default APN in the prj.conf file. We are using the LTE Link Controller. 
 What I need to do is set the APN based on the SIM that happens to be installed (without a recompile). This is pretty standard behavior on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Feb 2023 16:11:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96289/runtime-setting-of-apn-when-using-the-lte-link-controller-library" /><item><title>RE: Runtime setting of APN when using the 'LTE Link Controller' library</title><link>https://devzone.nordicsemi.com/thread/408074?ContentTypeID=1</link><pubDate>Fri, 03 Feb 2023 16:11:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b404741-6c2d-4e9f-977e-6fb77ed8e930</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi Riley,&lt;/p&gt;
&lt;p&gt;Thank you for contacting DevZone at NordicSemi.&lt;/p&gt;
[quote user=""]The LTE Link Controller documentation states that the APN can be set (as well as a number of things) but I don&amp;#39;t see any API to do so. From the documentation:&amp;nbsp;[/quote]
&lt;p&gt;Yes, you are referring to the LTE Link Controller library in the Modem Libraries.&lt;/p&gt;
&lt;p&gt;There are other libraries within the Modem Libraries page:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/modem/modem_info.html#api-documentation"&gt;Modem Information&lt;/a&gt; library can be used to obtain specific data from modem.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/modem/pdn.html"&gt;PDN Library&lt;/a&gt; can be used to manage PDP contexts and connections.&lt;/p&gt;
&lt;p&gt;Yes, the PDN library is compatible with LTE Link Controller.&lt;/p&gt;
&lt;p&gt;Have a look at this &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/pdn/README.html"&gt;PDN sample&lt;/a&gt; for nrf9160 (source code:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/samples/nrf9160/pdn"&gt;PDN Sample on GIT&lt;/a&gt;) to&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is more discussion &lt;a href="https://devzone.nordicsemi.com/support-private/support/286850"&gt;here &lt;/a&gt;if you find it relevant.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Naeem&lt;span&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>