EspMQTTClient: what command starts the WiFi/MQTT connection?

Looking at the example SimpleMQTTClient.ino I see 4 sections:

  • The client is configured
  • In setup() some more client configurations
  • Then the onConnectionEstablished() subroutine
  • Then the loop() which ensures network/MQTT communication

But where is the network started and the connection to the MQTT broker established?

Hey, it all works, but I'd like to understand why.

Thanks

OSD

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.