Ubidots Community

Need MQTT example for a QoS 1 publish so payload can be resent if publish fails

I’m looking for good MQTT QoS 1 example for publishing data from an ESP32 to Ubidots. The pubsubclient library does on not support QoS 1 on publish. So I need a recommendation for a alternate library and a good example. I want to build code that can resend the payload if the initial publish fails.

you may use the Espressif library: ESP-MQTT - ESP32 - — ESP-IDF Programming Guide latest documentation