Search found 1 match
- Wed Mar 27, 2024 9:11 pm
- Forum: ESP-IDF
- Topic: ESP32 IDF and AWS MQTT
- Replies: 1
- Views: 1956
ESP32 IDF and AWS MQTT
Hi! I am trying to connect to the MQTT service of AWS IoT using the MQTT API of the ESP32 IDF, and I have the following code: char complete_uri[60]; sprintf(complete_uri, "mqtts://%s:%d", url, port); const esp_mqtt_client_config_t mqtt_cfg = { .broker = { .address ={ .uri = complete_uri }, .verifica...