MQTT_Client

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
minolta
Posts: 9
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 6:04 pm
Location: Romania

MQTT_Client

Post 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 572 times
Flowcode1.msg.txt
(23.44 KiB) Downloaded 599 times

minolta
Posts: 9
Joined: Thu Dec 10, 2020 6:04 pm
Location: Romania

Re: MQTT_Client

Post 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

BenR
Matrix Staff
Posts: 1951
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 697 times

Re: MQTT_Client

Post by BenR »

Hello,

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

minolta
Posts: 9
Joined: Thu Dec 10, 2020 6:04 pm
Location: Romania

Re: MQTT_Client

Post by minolta »

Hello,

Thanks, i will check it in the following days.

Tiberiu

minolta
Posts: 9
Joined: Thu Dec 10, 2020 6:04 pm
Location: Romania

Re: MQTT_Client

Post by minolta »

Hi,

Checked, functional.
Many thanks Ben.

Post Reply