<?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>LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108563/lte-modem-log-configuration</link><description>Hi there, I need to collect modem logs to investigate LTE-M connectivity issues in specific countries. I have been using the command AT %X MODEMTRACE=1,2 to activate them and I am using Wireshark to visualize them. 
 I am limited in the amount of data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 May 2024 13:15:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108563/lte-modem-log-configuration" /><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/486470?ContentTypeID=1</link><pubDate>Wed, 29 May 2024 13:15:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cdd1d65-4769-4da5-bedf-45da331378d5</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Thanks for the update. Good to hear it works now.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/486331?ContentTypeID=1</link><pubDate>Wed, 29 May 2024 08:28:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a8e06b7-0a44-4d5f-ac86-ba33cc8b60c3</guid><dc:creator>Yann.P</dc:creator><description>&lt;p&gt;Thank you very much Charlie,&lt;br /&gt;I have tested the new set of command and it works really great !&lt;br /&gt;I have a reduced binary file but still have all the information I need.&lt;/p&gt;
&lt;p&gt;Thanks a lot,&lt;/p&gt;
&lt;p&gt;Yannick&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/485170?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 14:08:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d823ff01-c8f6-4eba-9d5c-94933387456d</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Yann,&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;p&gt;Our developer actually did some trials with mfw 1.3.6. Here is the reply:&lt;/p&gt;
&lt;p&gt;I run a short iperf test and collecting traces with XMODEMTRACE=1,2 and with the below mentioned AT commands&lt;/p&gt;
&lt;div&gt;&lt;span&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;AT%XMODEMTRACE=0
&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;AT%XMODEMTRACE=2,,0,&amp;quot;0000000000000000c000f000000000&amp;quot;
&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;AT%XMODEMTRACE=2,,3,&amp;quot;010400000000400000000000000000000000000000e001000000000000000000000000&amp;quot;
&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;AT%XMODEMTRACE=2,,4,&amp;quot;06&amp;quot;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;The recorded binary log file size reduced from 2.6MB → 550kB&lt;/p&gt;
&lt;p&gt;The first AT%XMODEMTRACE=0 will disable all traces, then the next three will enable a few trace groups, buffers and peer buffer traces.&lt;/p&gt;
&lt;p&gt;The pcaps created with the XMODEMTRACE=1,2 and with the above bitmaps looked the same, so I’m hoping this could be a good set.&lt;/p&gt;
&lt;p&gt;The produced binary log (we use the strc format) is still 2x bigger than the produced pcap file, because there are some unneeded traces which we unfortunately cannot deactivate.&lt;/p&gt;
&lt;p&gt;Could you give a try with MFW v1.3.6?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/485025?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 09:27:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a579c9dd-6171-4266-aa0a-25cc718c7520</guid><dc:creator>Yann.P</dc:creator><description>&lt;p&gt;Hello Charlie the modem version I am using is&amp;nbsp;nrf9160_1.3.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/483274?ContentTypeID=1</link><pubDate>Tue, 14 May 2024 12:07:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d79453f-71bf-4e93-82de-538c64544555</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Did you test with MFWv1.3.6 or something else?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/483121?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 16:46:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2fcb077-d47f-4a41-a8ca-293ed7eb16a9</guid><dc:creator>Yann.P</dc:creator><description>&lt;p&gt;Hello Charlie,&lt;br /&gt;Sorry my message was not clear.&lt;br /&gt;I could not see any IP traffic at all.&lt;br /&gt;I could see the AT events in the logs the first time I issued the commands, but it only worked once. AT events are not present in the logs any more, even after I reboot the modem and issues the&amp;nbsp;&lt;span&gt;AT%XMODEMTRACE again.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/482213?ContentTypeID=1</link><pubDate>Tue, 07 May 2024 08:49:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d07d612b-fb31-4313-a42d-66f721004965</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Yannick,&lt;/p&gt;
&lt;p&gt;It is a bit confusing. Could you try to clarify a bit more on my below questions?&lt;/p&gt;
&lt;p&gt;Do you mean you can see IP traffic when running the&amp;nbsp;&lt;span&gt;AT%XMODEMTRACE commands only after the power is on, but the configuration will not survive power reset? If this is true,&amp;nbsp;could you run&amp;nbsp;AT+CFUN=0&amp;nbsp;before power reset?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Or do you never see IP traffic at all?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Charlie&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&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><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/482117?ContentTypeID=1</link><pubDate>Mon, 06 May 2024 17:01:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9fe097d-fcbe-41d5-b608-da14041c48cf</guid><dc:creator>Yann.P</dc:creator><description>&lt;p&gt;Thanks a lot Charlie,&lt;br /&gt;I tried the new commands you gave me but I am sorry that it did not enabled&amp;nbsp;the IP traffic.&lt;br /&gt;The AT commands have been added after the first time I issued the&amp;nbsp;&lt;span&gt;AT%XMODEMTRACE but not on the following attempts.&lt;br /&gt;(I do the&amp;nbsp;&lt;/span&gt;configuration commands at start up, it worked one for the AT but not after the consecutive reboots).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Yannick&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/481697?ContentTypeID=1</link><pubDate>Fri, 03 May 2024 07:53:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9d73cb4-13c4-4e2d-894e-fc0631a2a14d</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Yannick,&lt;/p&gt;
&lt;p&gt;Thanks for the feedback. Please try the following commands, which&amp;nbsp;&lt;span&gt;will add AT and at least some IP traces.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;peer buffers: AT%XMODEMTRACE=2,,4,&amp;quot;06&amp;quot;&lt;/p&gt;
&lt;p&gt;buffers: AT%XMODEMTRACE=2,,0,&amp;quot;00000000000000000000f00000000000&amp;quot;&lt;/p&gt;
&lt;p&gt;trace groups:AT%XMODEMTRACE=2,,3,&amp;quot;000000000000000000000000002004100300000000a001e00100000000000000000000000000&amp;quot;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/481597?ContentTypeID=1</link><pubDate>Thu, 02 May 2024 14:39:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17435655-05d3-4836-a402-01bd2dd875df</guid><dc:creator>Yann.P</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/charlie-shao"&gt;Charlie&lt;/a&gt;&amp;nbsp; !&lt;br /&gt;I have been able to successfully test the commands you gave me.&lt;br /&gt;It works really great to reduce the size of the modem logs, so thank you very much.&lt;br /&gt;The configuration is almost perfect but I would also like to have the IP traffic and the AT commands in the modem logs.&lt;br /&gt;Would it be possible to have a new set of command&amp;nbsp;to have almost the same configuration but that would add IP traffic and AT command to the modem logs ?&lt;/p&gt;
&lt;p&gt;Thank you very much,&lt;/p&gt;
&lt;p&gt;Yannick&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/476278?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2024 09:57:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f3064ab-e95e-4e5c-8e4d-229675c3e1cf</guid><dc:creator>Yann.P</dc:creator><description>&lt;p&gt;Thank you very much Charlie.&lt;br /&gt;I will test that and will keep you updated.&lt;br /&gt;&lt;br /&gt;And to answer your first question : yes, we redirect modem trace to an external flash to be able to analyse them at the end of our roaming tests.&lt;/p&gt;
&lt;p&gt;Thanks again&lt;br /&gt;Yannick&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/476164?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 13:32:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ee39c48-2095-4dec-bfe3-2f62828c0a0f</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Yann.P,&lt;/p&gt;
&lt;p&gt;Could you try the following configurations? It figures out this bit_map configuration is&amp;nbsp;heavily related to our modem source codes. We are not able to provide more details to explain the configuration.&amp;nbsp;Our modem team provides&amp;nbsp;the bit_maps configuration according to your request now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;AT%XMODEMTRACE=2,,4,&amp;quot;&lt;strong&gt;06&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;AT%XMODEMTRACE=2,,0,&amp;quot;&lt;strong&gt;00000000000000000000f00000000000&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;AT%XMODEMTRACE=2,,3,&amp;quot;&lt;strong&gt;000000000000000000000000002004000000000000a001000000000000000000000000000000000000&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;Please let me know if it works as expected on your setup. Feel free to contact if you need more help.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/475657?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2024 13:20:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf28e6b1-2075-4624-b0be-b2b7070fd048</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Yannick,&lt;/p&gt;
&lt;p&gt;Håkon is out for Easter vacation and&amp;nbsp;I am&amp;nbsp;handling your case now.&lt;/p&gt;
&lt;p&gt;I have just forwarded your questions to our modem team and will provide you an update later.&amp;nbsp;There might be some delay due to Easter holiday.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you further explain why you&amp;nbsp;are&lt;span&gt;&amp;nbsp;limited in the amount of data you can collect?&amp;nbsp;&lt;/span&gt;&lt;span&gt;Do you use flash as modem trace backend?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Charlie&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><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/475551?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2024 08:12:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84d0ad7e-1309-43bd-8f2a-8f75dd65ea0b</guid><dc:creator>Yann.P</dc:creator><description>&lt;p&gt;Hello Helsing,&lt;br /&gt;Did you get the opportunity to have a feedback from the modem team on how the use of the&amp;nbsp;&lt;span&gt;&amp;lt;bitmap_id&amp;gt; and&amp;nbsp;&amp;lt;bitmap&amp;gt; fields ?&lt;br /&gt;Thanks a lot,&lt;br /&gt;Yannick&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/472142?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2024 20:54:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b64a253-f59a-4219-a89a-897c55a193da</guid><dc:creator>Yann.P</dc:creator><description>&lt;p&gt;Thank you very much for your answer.&lt;/p&gt;
&lt;p&gt;As I have no coredump and as I am not using GNSS,&amp;nbsp;&lt;span&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;%XMODEMTRACE=1,5&lt;/span&gt; and&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;%XMODEMTRACE=1,2&lt;/span&gt; give me the same amount of data which is very large (1.5MB for 5 minutes of operation) but when I export the collected trace to&amp;nbsp;&lt;/span&gt;pcapng format using&amp;nbsp;&lt;span&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;nrfutil trace lte&lt;/span&gt; the results is only a few kB.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you forward my question to the modem team that can advise on the use of &amp;lt;bitmap_id&amp;gt; and&amp;nbsp;&amp;lt;bitmap&amp;gt; fields to configure which data is collected ? If would be very helpful for me to be able to reduce the amont of collected traces.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your help&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yannick&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/471647?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 21:13:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b0907aa-3eb3-4710-82da-a13660f89888</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hello Yann, sorry for the delay.&lt;/p&gt;
[quote user=""]&lt;span&gt;&lt;/span&gt;&amp;lt;bitmap_id&amp;gt; and&amp;nbsp;&amp;lt;bitmap&amp;gt; fields[/quote]
&lt;p&gt;Sorry, there is no documentation available on these. &lt;span&gt;&lt;span dir="ltr"&gt;Sometimes, the modem team might ask customers to use a specific bitmap to get some extra traces.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Have you tried set 5, as in&amp;nbsp; &lt;span&gt;&lt;span dir="ltr"&gt;&lt;code&gt;%XMODEMTRACE=1,5&lt;/code&gt; ? This might be closer to what you are looking for. Does it provide you the information you are seeking?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/471070?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 14:39:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5feda656-cbc5-45a2-b1bd-da7dd99cb422</guid><dc:creator>Yann.P</dc:creator><description>&lt;p&gt;Thanks a lot, I am look forward to your response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Modem log configuration</title><link>https://devzone.nordicsemi.com/thread/470492?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2024 14:49:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72f8bf14-00ce-4cdf-8141-b67adb87b2c3</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hello Yann,&lt;/p&gt;
&lt;p&gt;I am looking into this and will get back to you next week.&lt;/p&gt;
&lt;p&gt;Best 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>