Search found 1 match

by Lalo_mohedano
Wed Jun 22, 2022 4:50 am
Forum: Sample Code
Topic: Problem with "example /protocols/mqtt/tcp" - ESP-WROOM-32
Replies: 3
Views: 15262

Re: Problem with "example /protocols/mqtt/tcp" - ESP-WROOM-32

how did you enter the URI?

I am having the same issue, I am trying to connect to a local mosquitto broker connected on the same wifi network. I am doing this

esp_mqtt_client_config_t mqtt_cfg = {
.uri = "mqtt://10.0.2.15:1883",
//.port = 1883
};