<?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>&amp;quot;Enable Packet Data Protocol AT command&amp;quot; issue in &amp;quot;Configure nRF Connect SDK Project&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49478/enable-packet-data-protocol-at-command-issue-in-configure-nrf-connect-sdk-project</link><description>Versions: 
 Segger Embedded Studio v418, 
 nRF SDK v1.0.0 tag 
 For the NB-IoT network I wish to connect to, I need to specify the APN, I can see through &amp;quot;Configure nRF Connect SDK Project&amp;quot; I can enable &amp;quot;Enable Packet Data Protocol AT command&amp;quot; which should</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 Oct 2019 14:12:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49478/enable-packet-data-protocol-at-command-issue-in-configure-nrf-connect-sdk-project" /><item><title>RE: "Enable Packet Data Protocol AT command" issue in "Configure nRF Connect SDK Project"</title><link>https://devzone.nordicsemi.com/thread/217795?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2019 14:12:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7b8418a-5293-4eef-b13d-486ccf7a61b1</guid><dc:creator>McRancor</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;The problem is still not fixed with NCS 1.1.1. It is caused by the context strings and applies also to PDN_AUTH_CMD.&lt;/p&gt;
&lt;p&gt;To fix that, go to &lt;em&gt;lte_link_control&lt;/em&gt; folder in &lt;em&gt;ncs/nrf/drivers&amp;nbsp;&lt;/em&gt;and edit Kconfig to add escape signs:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;if LTE_PDP_CMD
config LTE_PDP_CONTEXT
	string &amp;quot;Packet Data Protocol Context&amp;quot;
	default &amp;quot;0,\\\&amp;quot;IPv4v6\\\&amp;quot;,\\\&amp;quot;internet.apn\\\&amp;quot;&amp;quot;
	help

...

if LTE_PDN_AUTH_CMD
config LTE_PDN_AUTH
	string &amp;quot;PDN connection authentication parameters&amp;quot;
	default &amp;quot;0,1,\\\&amp;quot;username\\\&amp;quot;,\\\&amp;quot;password\\\&amp;quot;&amp;quot;
	help&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This solves the issue and allows to use those fields in configurator, but that will not work during the network setup&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;To use those fields, use directly source code:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#if defined(CONFIG_LTE_PDP_CMD)
static const char cgdcont[] = &amp;quot;AT+CGDCONT=1,\&amp;quot;IP\&amp;quot;,\&amp;quot;internet\&amp;quot;&amp;quot;;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In line 125 of lte_lc.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Enable Packet Data Protocol AT command" issue in "Configure nRF Connect SDK Project"</title><link>https://devzone.nordicsemi.com/thread/197060?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2019 09:22:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd448876-c833-47e5-affe-0e9247cba784</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Ronan,&lt;br /&gt;&lt;br /&gt;Thank you for your feedback. That looks like a bug in SES, I will report it internally so it will be fixed in the next revision.&lt;/p&gt;
&lt;p&gt;Instead, you can set the configurations directly in the prj.conf file found in the application/samples folder which you are working in.&lt;/p&gt;
&lt;p&gt;Please add the following:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LTE_PDP_CMD=y

CONFIG_LTE_PDP_CONTEXT=&amp;quot;0,\&amp;quot;IPv4v6\&amp;quot;,\&amp;quot;internet.apn\&amp;quot;&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And change the APN to&amp;nbsp;what you like.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>