Skip to content

Commit 614ebe6

Browse files
author
Maurizio Branca
committed
Drop explicit QoS in subscribes
This was intended as as just test, back the the default value.
1 parent 441f6b8 commit 614ebe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ArduinoIoTCloudTCP.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_SubscribeMqttTopics()
398398
}
399399

400400
DEBUG_VERBOSE("ArduinoIoTCloudTCP::%s subscribing to %s ...", __FUNCTION__, _dataTopicIn.c_str());
401-
if (!_mqttClient.subscribe(_dataTopicIn, 0))
401+
if (!_mqttClient.subscribe(_dataTopicIn))
402402
{
403403
DEBUG_ERROR("ArduinoIoTCloudTCP::%s could not subscribe to %s", __FUNCTION__, _dataTopicIn.c_str());
404404
#if !defined(__AVR__)
@@ -411,7 +411,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_SubscribeMqttTopics()
411411
if (_shadowTopicIn != "")
412412
{
413413
DEBUG_VERBOSE("ArduinoIoTCloudTCP::%s subscribing to %s ...", __FUNCTION__, _shadowTopicIn.c_str());
414-
if (!_mqttClient.subscribe(_shadowTopicIn, 0))
414+
if (!_mqttClient.subscribe(_shadowTopicIn))
415415
{
416416
DEBUG_ERROR("ArduinoIoTCloudTCP::%s could not subscribe to %s", __FUNCTION__, _shadowTopicIn.c_str());
417417
#if !defined(__AVR__)

0 commit comments

Comments
 (0)