Skip to content

Commit

Permalink
Update src/ArduinoIoTCloudTCP.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Mattia Pennasilico <m.pennasilico@arduino.cc>
  • Loading branch information
andreagilardoni and pennam authored Jul 22, 2024
1 parent 9549851 commit 46f4794
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ArduinoIoTCloudTCP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_Connected()
return State::Disconnect;
}

/* Check for new data from the MQTT client. */
_mqttClient.poll();
/* Retransmit data in case there was a lost transaction due
* to phy layer or MQTT connectivity loss.
Expand Down

0 comments on commit 46f4794

Please sign in to comment.