<?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>case about mqtt in ncs v2.1.2 keepalive state</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93903/case-about-mqtt-in-ncs-v2-1-2-keepalive-state</link><description>Hi, 
 sdk ncs v2.1.2 
 example :mqtt_sample 
 1. The mqtt client connects to the server 
 2. The mqtt server is faulty 
 3. The mqtt client cannot detect the server fault for a long time 
 4. How can mqtt clients quickly detect server faults? 
 
 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Dec 2022 10:19:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93903/case-about-mqtt-in-ncs-v2-1-2-keepalive-state" /><item><title>RE: case about mqtt in ncs v2.1.2 keepalive state</title><link>https://devzone.nordicsemi.com/thread/399142?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2022 10:19:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd950a56-0ba4-4b88-9a4f-32b3882351d0</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;&lt;span&gt;What is the keepalive duration set to?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How long does it take currently for the device to detect that the MQTT server is faulty? Is it tied to any event (such as sending the next data message)?&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Does the application send anything to the broker? If so, what QoS is used? How often does the application send something?&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Does the device use any power saving features?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about mqtt in ncs v2.1.2 keepalive state</title><link>https://devzone.nordicsemi.com/thread/398864?ContentTypeID=1</link><pubDate>Sat, 03 Dec 2022 06:47:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46dbae03-cd14-411b-aac5-7df909575b8c</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi Didrik Rokhaug,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;A fault refers to shutting down or disconnecting the server&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The test uses the default MQTT example&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt color_text_0 un-step-trans" data-section="0"&gt;&lt;span class="tgt color_text_0 highlight" data-section="0" data-sentence="0" data-group="0-0"&gt;1. Through my test, I found that it is related to the server. &lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt color_text_0 un-step-trans" data-section="1"&gt;&lt;span class="tgt color_text_0" data-section="1" data-sentence="0" data-group="1-0"&gt;2. Which server configurations affect line disconnection detection?&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt color_text_0 un-step-trans" data-section="1"&gt;&lt;span class="tgt color_text_0" data-section="1" data-sentence="0" data-group="1-0"&gt;Thank&amp;ensp;you&amp;ensp;for&amp;ensp;all&amp;ensp;your&amp;ensp;assistance.&lt;br /&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about mqtt in ncs v2.1.2 keepalive state</title><link>https://devzone.nordicsemi.com/thread/395790?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2022 13:09:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:356ea00a-3aa3-47cd-8de7-f4dafe999686</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What do you mean with &amp;quot;&lt;span&gt;The mqtt server is faulty&amp;quot;. How is it faulty?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What is the keepalive duration set to?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How long does it take currently for the device to detect that the MQTT server is faulty?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Does the application send anything to the broker? If so, what QoS is used?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Does the device use any power saving features?&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;Didrik&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>