<?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>Retain messages when sent over MQTT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71740/retain-messages-when-sent-over-mqtt</link><description>Hi Dev zone, 
 I am working with the mqtt sample program using NCS1.3.0 and with a Nordic Thingy91. 
 I am able to publish and subscribe to the data , and I am using Mqtt.fx to view the data. 
 I wanted to enable the retain message feature that is available</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Feb 2021 12:00:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71740/retain-messages-when-sent-over-mqtt" /><item><title>RE: Retain messages when sent over MQTT</title><link>https://devzone.nordicsemi.com/thread/295069?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2021 12:00:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cf446bb-4718-413f-9e0b-4c9355fca2ab</guid><dc:creator>Adeel</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am sorry. I figured it out myself.&amp;nbsp; Its using the param.retain_flag = 1; in the data_publish library.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Adeel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>