Skip to content

Commit 29801a1

Browse files
committed
MqttEndpoint QoS = 1
1 parent 7b9a704 commit 29801a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/framework/MqttEndpoint.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class MqttEndpoint : public MqttCommitHandler
162162
serializeJson(json, payload);
163163

164164
// publish the payload
165-
_mqttClient->publish(_pubTopic.c_str(), 0, _retain, payload.c_str());
165+
_mqttClient->publish(_pubTopic.c_str(), 1, _retain, payload.c_str());
166166
}
167167
_pendingCommit = false;
168168
}

0 commit comments

Comments
 (0)