<?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>Disable logging from prj.conf file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56675/disable-logging-from-prj-conf-file</link><description>Hi. I want to evaluate the current consumption of the nrf9160 module (I have a Thingy91) and I want to disable all logging functions. I started with the mqtt_simple example and added these lines to the prj.conf file: 
 CONFIG_LOG=n CONFIG_SERIAL=n CONFIG_STDOUT_CONSOLE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Jan 2020 14:50:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56675/disable-logging-from-prj-conf-file" /><item><title>RE: Disable logging from prj.conf file</title><link>https://devzone.nordicsemi.com/thread/230905?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2020 14:50:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:814bea56-4c14-49d8-a3c1-88c1b1670262</guid><dc:creator>Sigurd</dc:creator><description>[quote user="PeterL"]Does that mean that I don&amp;#39;t get the requested eDRX parameters?[/quote]
&lt;p&gt;&amp;nbsp;Looks like that. Do you see the same behavior&amp;nbsp;with the at_client sample ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable logging from prj.conf file</title><link>https://devzone.nordicsemi.com/thread/230038?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 10:42:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18465893-77cf-4fff-b869-0985a333cf01</guid><dc:creator>PeterL</dc:creator><description>&lt;p&gt;I get this:&lt;/p&gt;
&lt;pre&gt;AT+CEDRXRDP&lt;br /&gt;+CEDRXRDP: 4,&amp;quot;0110&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;&lt;br /&gt;OK&lt;/pre&gt;
&lt;p&gt;&amp;quot;0110&amp;quot; is the requested parameters and the &amp;quot;&amp;quot; after should be the provided parameters?&lt;/p&gt;
&lt;p&gt;Does that mean that I don&amp;#39;t get the requested eDRX parameters? Is that an issue with my network?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable logging from prj.conf file</title><link>https://devzone.nordicsemi.com/thread/229923?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2020 15:54:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:322c59c9-3c97-4fdf-ba6f-7d52c989ded4</guid><dc:creator>Sigurd</dc:creator><description>[quote user="PeterL"]CONFIG_LTE_EDRX_REQ_VALUE=&amp;quot;0110&amp;quot;.&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;Does the request eDRX value match the one you get from the network ? See &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/cedrxrdp_set.html?cp=2_1_6_4_0"&gt;this link&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable logging from prj.conf file</title><link>https://devzone.nordicsemi.com/thread/229810?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2020 10:32:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ad5375b-b41d-43a1-b25a-e4f31b8f9e2b</guid><dc:creator>PeterL</dc:creator><description>&lt;p&gt;That did the trick. Thank you.&lt;/p&gt;
&lt;p&gt;However the average current consumption is toggling between 1,2 and 2,4 mA. I have added lte_lc_edrx_req(true); right after modem_configure(); in the mqtt_simple example.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using CONFIG_LTE_EDRX_REQ_VALUE=&amp;quot;0110&amp;quot;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Shouldn&amp;#39;t the current consumption at least be below 100uA?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable logging from prj.conf file</title><link>https://devzone.nordicsemi.com/thread/229759?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2020 08:23:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8af719a2-cdfd-42a1-a214-85c9beecf1a1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Try setting CONFIG_AT_HOST_LIBRARY=n&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable logging from prj.conf file</title><link>https://devzone.nordicsemi.com/thread/229612?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2020 12:56:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:909e6857-e906-4c6c-9d6e-3dbaca513be0</guid><dc:creator>PeterL</dc:creator><description>&lt;p&gt;I still get the same error. I checked out a fresh copy of the mqtt_simple from the v1.1.0 tag. Then I added&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_LOG=n&lt;/span&gt;&lt;br /&gt;&lt;span&gt;CONFIG_SERIAL=n&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;to the proj.conf file in the nrf9160/mqtt_simple folder&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2019 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
#
# General config
CONFIG_TEST_RANDOM_GENERATOR=y

# Logging
CONFIG_LOG=n
CONFIG_SERIAL=n

# Networking
CONFIG_NETWORKING=y
CONFIG_NET_NATIVE=n
CONFIG_NET_SOCKETS_OFFLOAD=y
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_POSIX_NAMES=y

# LTE link control
CONFIG_LTE_LINK_CONTROL=y
CONFIG_LTE_AUTO_INIT_AND_CONNECT=n

# BSD library
CONFIG_BSD_LIBRARY=y

# AT Host
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_AT_HOST_LIBRARY=y

# MQTT
CONFIG_MQTT_LIB=y
CONFIG_MQTT_LIB_TLS=n

# Appliaction
#CONFIG_MQTT_PUB_TOPIC=&amp;quot;/my/publish/topic&amp;quot;
#CONFIG_MQTT_SUB_TOPIC=&amp;quot;/my/subscribe/topic&amp;quot;
#CONFIG_MQTT_CLIENT_ID=&amp;quot;my-client-id&amp;quot;
#CONFIG_MQTT_BROKER_HOSTNAME=&amp;quot;mqtt.eclipse.org&amp;quot;
#CONFIG_MQTT_BROKER_PORT=1883

# Main thread
CONFIG_MAIN_THREAD_PRIORITY=7
CONFIG_MAIN_STACK_SIZE=4096

CONFIG_HEAP_MEM_POOL_SIZE=2048
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable logging from prj.conf file</title><link>https://devzone.nordicsemi.com/thread/229598?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2020 12:30:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e60f16ae-0cf6-4f1a-b83c-c71dfd374e26</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It should be enough to set these:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_LOG=n&lt;/span&gt;&lt;br /&gt;&lt;span&gt;CONFIG_SERIAL=n&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>