Page 1 of 1

MQTT_Client

Posted: Thu Apr 15, 2021 9:49 pm
by minolta
When i try to use MQTT Client, i have the bellow compiler error:

../main/esp-project.c: In function 'FCD_0a9d1_MQTT_Client1__Disconnect':
../main/esp-project.c:1110:9: error: 'FCR_RETVAL' may be used uninitialized in this function [-Werror=maybe-uninitialized]
:
^
cc1.exe: some warnings being treated as errors
[13/45] Linking CXX static library esp-idf\esp_ringbuf\libesp_ringbuf.a
ninja: build stopped: subcommand failed.
Executing action: all (aliases: build)
Running ninja in directory d:\esp32_test\mqtt\flowcode1\build
Executing "ninja all"...
ninja failed with exit code 1

Build Failed
.

C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1


Any ideas?

Tiberiu
Flowcode1.fcfx
(8.84 KiB) Downloaded 573 times
Flowcode1.msg.txt
(23.44 KiB) Downloaded 600 times

Re: MQTT_Client

Posted: Mon Apr 19, 2021 7:39 pm
by minolta
In the mean time i use "IoT Made Easy" library.
Now, from Node Red to ESP32, via MQTT i can send and receive data without any compile error.

Tiberiu

Re: MQTT_Client

Posted: Mon Apr 19, 2021 9:00 pm
by BenR
Hello,

Many thanks for letting us know. I have now fixed the error with the MQTT component on the ESP32 hardware.

Re: MQTT_Client

Posted: Mon Apr 19, 2021 9:50 pm
by minolta
Hello,

Thanks, i will check it in the following days.

Tiberiu

Re: MQTT_Client

Posted: Thu Apr 22, 2021 5:16 pm
by minolta
Hi,

Checked, functional.
Many thanks Ben.