Hi,
I have got a problem with the code of the example mqtt/tcp --- espressif /
esp-idf
"https://github.com/espressif/esp-idf/t ... /mqtt/tcp",
the message is:
E (941400) TRANS_TCP: [sock=54] select() timeout
E (941400) MQTT_CLIENT: Error transport connect
I upload the same code....what's the problem?... I know that I'm doing bad. My ESP is ESP-WROOM-32...
Could anyone help me?
Thanks a lot
Problem with "example /protocols/mqtt/tcp" - ESP-WROOM-32
-
- Posts: 2
- Joined: Sat Sep 18, 2021 9:30 am
-
- Posts: 2
- Joined: Sat Sep 18, 2021 9:30 am
Re: Problem with "example /protocols/mqtt/tcp" - ESP-WROOM-32
Hi,
I solved it, I was entering the broker address wrong
I solved it, I was entering the broker address wrong
-
- Posts: 1
- Joined: Wed Jun 22, 2022 4:46 am
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
};
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
};
Re: Problem with "example /protocols/mqtt/tcp" - ESP-WROOM-32
What is the error msg you recieve.
If you have any type of security you need to pass that to the broker i.e. username and password
If you have any type of security you need to pass that to the broker i.e. username and password
Who is online
Users browsing this forum: No registered users and 31 guests