From 55d11c1cabbb34e2000a03a57efe773ad1e2f187 Mon Sep 17 00:00:00 2001 From: Wiebe Cazemier Date: Sat, 9 Nov 2024 13:33:01 +0100 Subject: [PATCH] Announce subscription identifiers are available --- mqttpacket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqttpacket.cpp b/mqttpacket.cpp index 69ef83c..1ebebc8 100644 --- a/mqttpacket.cpp +++ b/mqttpacket.cpp @@ -1127,7 +1127,7 @@ void MqttPacket::handleConnect() connAck->propertyBuilder->writeAssignedClientId(connectData.client_id); connAck->propertyBuilder->writeMaxTopicAliases(sender->getMaxIncomingTopicAliasValue()); connAck->propertyBuilder->writeWildcardSubscriptionAvailable(1); - connAck->propertyBuilder->writeSubscriptionIdentifiersAvailable(0); + connAck->propertyBuilder->writeSubscriptionIdentifiersAvailable(1); connAck->propertyBuilder->writeSharedSubscriptionAvailable(1); connAck->propertyBuilder->writeServerKeepAlive(connectData.keep_alive);