<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — MQTT QoS 1 Message Duplication After Reconnect]]></title>
		<link>https://www.wolfssl.com/forums/topic2532-mqtt-qos-1-message-duplication-after-reconnect.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic2532.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in MQTT QoS 1 Message Duplication After Reconnect.]]></description>
		<lastBuildDate>Thu, 25 Jun 2026 13:23:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: MQTT QoS 1 Message Duplication After Reconnect]]></title>
			<link>https://www.wolfssl.com/forums/post8839.html#p8839</link>
			<description><![CDATA[<p>Hi Logan,</p><p>Welcome to the wolfSSL Forums.</p><p>QoS1 messages may be duplicated, this is just part of the standard. If your application needs &quot;once-and-only-once&quot;, QoS2 is what you&#039;re looking for.</p><p>It wasn&#039;t clear from your post which side your application is; are you using wolfMQTT as the client, broker. or both?</p><p>You should be able to discern if the message is a duplicate by checking the `msg-&gt;duplicate` field in the callback when a message is received.</p><p>Let us know if that helps.</p><p>Thanks,<br />Eric -wolfSSL Support</p>]]></description>
			<author><![CDATA[null@example.com (embhorn)]]></author>
			<pubDate>Thu, 25 Jun 2026 13:23:11 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post8839.html#p8839</guid>
		</item>
		<item>
			<title><![CDATA[MQTT QoS 1 Message Duplication After Reconnect]]></title>
			<link>https://www.wolfssl.com/forums/post8838.html#p8838</link>
			<description><![CDATA[<p>Hi everyone,</p><p>I&#039;m testing wolfMQTT on an embedded device that uses a cellular connection. When the network drops briefly and the client reconnects, I occasionally receive duplicate MQTT messages that were originally published with QoS 1.</p><p>My application stores packet IDs and acknowledges messages correctly, but duplicates still appear after reconnection in some cases.</p><p>Does wolfMQTT provide any built-in mechanism or recommended approach for tracking and filtering duplicate QoS 1 messages across reconnect events, especially when using persistent sessions (clean session disabled)?</p><p>If anyone has implemented this successfully on resource-constrained devices, I&#039;d appreciate hearing about your experience.</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (LoganParkerp)]]></author>
			<pubDate>Thu, 25 Jun 2026 06:39:27 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post8838.html#p8838</guid>
		</item>
	</channel>
</rss>
