<?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>How to send logging via cli over UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76650/how-to-send-logging-via-cli-over-uart</link><description>Dear support team, I would like to simultaneously use logging and CLI via UART in an application running on the NRF52810 with Softdevice S112. In my application, I need to use UART (and not on RTT). In my &amp;quot; main.c &amp;quot;, I am calling 
 
 Log_Init() : Mainly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Jun 2021 16:38:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76650/how-to-send-logging-via-cli-over-uart" /><item><title>RE: How to send logging via cli over UART</title><link>https://devzone.nordicsemi.com/thread/317312?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 16:38:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58d46606-2f2e-4254-ba6f-0f6b85221bbb</guid><dc:creator>JulianMA</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;br /&gt;thank you!&lt;br /&gt;&lt;br /&gt;I was finally able to receive the complete log output by combining NRF_LOG_PROCESS() and CLI_Process().&lt;br /&gt;Is this the intended way to do it?&lt;br /&gt;&lt;br /&gt;while (m_uart_active)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!NRF_LOG_PROCESS())&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLI_Process();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; idle_state_handle();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;So I found a working solution. Thank you, feel free to close this issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send logging via cli over UART</title><link>https://devzone.nordicsemi.com/thread/316976?ContentTypeID=1</link><pubDate>Thu, 24 Jun 2021 12:09:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90abd5f6-edb7-49b1-aef2-3d272fed69ba</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Julian,&lt;/p&gt;
&lt;p&gt;Can you try to run the&amp;nbsp;&lt;span&gt;CLI example under (nRF5_SDK\examples\peripheral) and receive logs in the example? T&lt;/span&gt;hen compare the configs and code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Amanda&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>