<?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>Mesh app to log on SERIAL instead of RTT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43808/mesh-app-to-log-on-serial-instead-of-rtt</link><description>Hi, 
 is there a simple way to enable serial logging instead of rtt in a mesh application for nrf52840DK, as example in the light switch server or client mesh applications? 
 My objective is to enable logging over serial instead of rtt for mesh applications</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Feb 2019 15:44:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43808/mesh-app-to-log-on-serial-instead-of-rtt" /><item><title>RE: Mesh app to log on SERIAL instead of RTT</title><link>https://devzone.nordicsemi.com/thread/171946?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 15:44:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:046807ba-98d8-4eab-8e82-b9368074b0f6</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1. Have you modified anything? What do you mean by &amp;quot;failed when initializing the mesh&amp;quot;? Does it fail when you try to provision it or when you compile the example?&lt;/p&gt;
&lt;p&gt;2. You should have a look at the proximity example and see how logging is initialized there. Then try to port&amp;nbsp;&lt;span&gt;the logging functionality from the proximity example to the light switch example.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/25142/mesh-example-debug-print" rel="noopener noreferrer" target="_blank"&gt;post&lt;/a&gt;&amp;nbsp;might be helpful also.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh app to log on SERIAL instead of RTT</title><link>https://devzone.nordicsemi.com/thread/171594?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 10:36:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6e68478-d2c5-4e70-9c88-98620bc69ec5</guid><dc:creator>giova</dc:creator><description>&lt;p&gt;&lt;span&gt;Just to clarify:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &amp;quot;log over Serial with NRF_LOG_INFO doesn&amp;#39;t work&amp;quot;&amp;nbsp; means: &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;the code compiles correctly, &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;the app runs withouth errors, &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but nothing is printed on serial port, only on RTT&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>