<?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>nRF9160 LTE Link Monitor and Logging</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90750/nrf9160-lte-link-monitor-and-logging</link><description>From everything I&amp;#39;ve read, I should be able to see log output in the &amp;quot;LTE Link Monitor&amp;quot; when logging is enabled. Instead, it appears to freeze up the LTE Link Monitor and make it non-responsive. I&amp;#39;ve tried both the Segger RTT backend and the UART backend</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Aug 2022 12:02:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90750/nrf9160-lte-link-monitor-and-logging" /><item><title>RE: nRF9160 LTE Link Monitor and Logging</title><link>https://devzone.nordicsemi.com/thread/381186?ContentTypeID=1</link><pubDate>Thu, 11 Aug 2022 12:02:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:370b56f0-6e3c-47ee-b29f-05a54bcc576b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the long wait. I tried this in one of the samples, and yes, I see the same behavior.&lt;/p&gt;
&lt;p&gt;What is required is to place the UART in interrupt driven mode. Could you try adding this config to your project and see if the at_host library works now?&lt;/p&gt;
&lt;p&gt;CONFIG_UART_INTERRUPT_DRIVEN=y&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 LTE Link Monitor and Logging</title><link>https://devzone.nordicsemi.com/thread/380873?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 15:03:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:811319d8-4b94-445c-a8dc-46c7ea8d1033</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Sorry I wasn&amp;#39;t clear. I tried the at_client, which works fine, unless I also enable the same combination of:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_&lt;/span&gt;&lt;span class="s1"&gt;LTE_LINK_CONTROL=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;&lt;span&gt;CONFIG_&lt;/span&gt;&lt;span&gt;AT_HOST_LIBRARY=y&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;&lt;span&gt;CONFIG_LOG=y&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;&lt;span&gt;I&amp;#39;m pretty sure enabling the AT Host library has something to do with it. I can get serial output until I enable the AT_HOST_LIBRARY, then I start seeing the AT command timeouts in the LTE Link Monitor. This is using an nrf9160dk for the hardware.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 LTE Link Monitor and Logging</title><link>https://devzone.nordicsemi.com/thread/380850?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 13:17:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45d7c0a6-551d-4722-bedb-1e311833fda2</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The log lines in red indicate that the device did not answer the commands that were issued.&lt;/p&gt;
&lt;p&gt;There can be many reasons why, for instance that the firmware isn&amp;#39;t running properly, or that you have the wrong com port selected for this specific application.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Ben Byers"]&lt;p&gt;Spent more time working with a few examples today and my code base. I found that if the CONFIG_&lt;span&gt;LTE_LINK_CONTROL=y as well as CONFIG_&lt;/span&gt;&lt;span&gt;AT_HOST_LIBRARY=y and CONFIG_LOG=y then I get something that appears frozen on the LTE Link Monitor and on a serial monitor.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My guess is there is some issue with where things are being sent. The AT Host library is using UART0, but I had the logging using SEGGER RTT, so not sure exactly.&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Does your current application have any serial output at all?&lt;/p&gt;
&lt;p&gt;You should first verify that the AT client sample works as expected with the LTE Link Monitor application.&lt;/p&gt;
&lt;p&gt;Could you try to build and flash the ncs/nrf/samples/nrf9160/at_client sample?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 LTE Link Monitor and Logging</title><link>https://devzone.nordicsemi.com/thread/380677?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2022 20:40:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d7390ba-47d5-4e9c-9501-1297d367296a</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Spent more time working with a few examples today and my code base. I found that if the CONFIG_&lt;span class="s1"&gt;LTE_LINK_CONTROL=y as well as CONFIG_&lt;/span&gt;&lt;span class="s1"&gt;AT_HOST_LIBRARY=y and CONFIG_LOG=y then I get something that appears frozen on the LTE Link Monitor and on a serial monitor.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;My guess is there is some issue with where things are being sent. The AT Host library is using UART0, but I had the logging using SEGGER RTT, so not sure exactly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;This is what I see on the LTE Link Monitor when it&amp;#39;s appears frozen:&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2022_2D00_08_2D00_05-at-3.46.46-PM.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 LTE Link Monitor and Logging</title><link>https://devzone.nordicsemi.com/thread/380588?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2022 11:43:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a86f8682-fac8-4d63-ad47-46a86d2cf4a0</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;LTE Link Monitor is a uart terminal with logic for AT commands. This means that you need to have the at_client sample (or have enabled the AT host in kconfig) to be able to fully utilize the LTE LinkMonitor.&lt;/p&gt;
&lt;p&gt;However, it should not crash or hang with generic logging output either.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does this happen regardless of which sample/application you&amp;#39;re running? Can you share screenshots of the issue?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>