<?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 mqtt server published message is split in chunks by 120 bytes by UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92347/nrf9160-mqtt-server-published-message-is-split-in-chunks-by-120-bytes-by-uart</link><description>Hello, Guys. 
 I just wondered why max UART exchange when we receive mqtt buffer that is let&amp;#39;s say 1707 bytes is splited bu uart in chunks max of 120 bytes. 
 Is there some UART transfer limitation in serial LTE modem?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Sep 2022 09:03:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92347/nrf9160-mqtt-server-published-message-is-split-in-chunks-by-120-bytes-by-uart" /><item><title>RE: nRF9160 mqtt server published message is split in chunks by 120 bytes by UART</title><link>https://devzone.nordicsemi.com/thread/388705?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2022 09:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4efca311-3ffd-4b77-8b8c-f69d8a483e4d</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Add CONFIG_SLM_LOG_LEVEL_DBG=y to your prj.conf, rebuild the program, and re-flash the nRF9160.&lt;/p&gt;
&lt;p&gt;Then, with the debugger still connected to the nRF9160, follow this guide to get RTT logs from the nRF9160: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_testing.html#connecting-using-rtt"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_testing.html#connecting-using-rtt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 mqtt server published message is split in chunks by 120 bytes by UART</title><link>https://devzone.nordicsemi.com/thread/388614?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 15:15:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a52ad2df-9a24-4c53-a8f7-673134d3b1f8</guid><dc:creator>Spartak</dc:creator><description>&lt;p&gt;I show you that host receive only msx 120 bytes of info. Is it somewhere predefined?&lt;/p&gt;
&lt;p&gt;Question is simple - which logs you want - from RTT?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 mqtt server published message is split in chunks by 120 bytes by UART</title><link>https://devzone.nordicsemi.com/thread/388582?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 13:22:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0db90032-be45-4605-ae5b-3df60b8aeabc</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;These are the logs from the host, not the nRF9160.&lt;/p&gt;
&lt;p&gt;Can you get me the logs from the Serial LTE Modem application running on the nRF9160?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 mqtt server published message is split in chunks by 120 bytes by UART</title><link>https://devzone.nordicsemi.com/thread/388428?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 19:23:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2688b125-8b1c-4488-bc11-f5dae8f8b449</guid><dc:creator>Spartak</dc:creator><description>&lt;p&gt;Here is some logs:&lt;/p&gt;
&lt;p&gt;ESP:LTE: Bytes received 120&lt;br /&gt;ESP:LTE: Responce: 000000000000000000000000000000000000000000000000000000000000000000000&amp;quot;,&amp;quot;3C00550000000000000000000000C409C4095C1294110000&lt;br /&gt;ESP:LTE: total_length + xReceivedBytes: 827&lt;br /&gt;ESP:LTE: topic_length + message_length + restBytes 1780&lt;br /&gt;ESP:LTE: Final result not found&lt;br /&gt;ESP:LTE: ok 0&lt;br /&gt;ESP:LTE: Bytes received 120&lt;br /&gt;ESP:LTE: Responce: 00000000000000006400000000000000A00F00000000E02EA406000064000000000020003C003C001E0001006700000000000000000000000100C201&lt;br /&gt;ESP:LTE: total_length + xReceivedBytes: 947&lt;br /&gt;ESP:LTE: topic_length + message_length + restBytes 1780&lt;br /&gt;ESP:LTE: Final result not found&lt;br /&gt;ESP:LTE: ok 0&lt;br /&gt;ESP:LTE: Bytes received 120&lt;br /&gt;ESP:LTE: Responce: 000000000000000000000000000000000000000000000000000000000000000000000000&amp;quot;,&amp;quot;5F005500C800A00FA00FC8002C01D007D0075C1294115&lt;br /&gt;ESP:LTE: total_length + xReceivedBytes: 1067&lt;br /&gt;ESP:LTE: topic_length + message_length + restBytes 1780&lt;br /&gt;ESP:LTE: Final result not found&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 mqtt server published message is split in chunks by 120 bytes by UART</title><link>https://devzone.nordicsemi.com/thread/388282?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 08:45:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff16698b-44ea-4827-9b54-2822cfca98ff</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Like I said in my previous reply, the SLM sends logs over RTT by default, which goes over the debugger interface. Are you able to connect a debugger to the nRF9160, and get the RTT logs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 mqtt server published message is split in chunks by 120 bytes by UART</title><link>https://devzone.nordicsemi.com/thread/388135?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2022 12:10:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bae8fdf-410a-4841-963c-c0a07fdae2d1</guid><dc:creator>Spartak</dc:creator><description>&lt;p&gt;&lt;span&gt;SDK - 2.1.0&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It is transmitted in 120 byte chunks on the UART.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I use external MCU to control it so no logs output.&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: nRF9160 mqtt server published message is split in chunks by 120 bytes by UART</title><link>https://devzone.nordicsemi.com/thread/388113?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2022 11:27:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8da874ed-2ff7-42e3-8af5-73d1da456d26</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK version are you using?&lt;/p&gt;
&lt;p&gt;Is the problem that the device is sending 120 byte chunks over the air, or that when you receive a message, it is transmitted in 120 byte chunks on the UART?&lt;/p&gt;
&lt;p&gt;Do you have any logs?&lt;/p&gt;
&lt;p&gt;(The SLM sends logs over RTT by default. You can enable more logging by setting CONFIG_SLM_LOG_LEVEL_DBG=y in your prj.conf)&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>