B4R Question Connect to MQTT broker with TLS

Gerardo Tenreiro

Active Member
Licensed User
Hello,
I'm starting tests to use MQTT on the HIVEMQ server that has TLS enabled.
I use the EREL example, slightly modified, and I can't get the ESP32 to connect to the BROKER.
I attach a piece of code that I use and call after being connected to the WIFI network.
It always returns FALSE to the connection.

Any help or suggestions

As always, thank you very much and greetings to this great group

 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…