PICO W or ESP32S3 & MQTT ? how use TLS ( to HIVEMQ )

just restart with
Arduino IDE 2.3.4
RPI PICO W (RP2040)
and have old MQTT software connecting to local RPI4 Mosquitto NO TLS
using:

// MQTT PubsubClient by Nick O'Leary 2.8.0
#include <PubSubClient.h>
// old most easy mqtt lib, works NO TLS, local RPI broker .. NO send feedback provided?

when i checked last year not find about how to use TLS
is there any news? what lib can i use for that?

Nothing to work with here. What did you expect to happen, what actually hapened.
Postcode and any error logs in code tags.
Post a picture of hand-drawn wiring.

@sonofcy
sorry but your answer is OFF

have you used PICO W and MQTT with a TLS connection?

possibly you need to reread the title?
PICO W & MQTT how use TLS ( to HIVEMQ )

full project info:

ok, i needed some time,
-1- broker RPI Mosquitto no TLS
-2- broker HIVEMQ TLS ( free account )

got a ESP32S3 using internal lib <MQTT.h>
and a PICO W using loaded old <PubSubClient.h>
working see:

https://engineering-news.org/kllfusion01/downloads/ESP32S3_MQTT_TLS_ino.txt

https://engineering-news.org/kllfusion01/downloads/PICO_W__MQTT_TLS_ino.txt

i have no idea if that is state of the art,
esp the ESP32 lib search easy leads you to old stuff,
hope it helps someone

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