Global constant is not accessible inside the F11 WLAN_ESP32 ConnectToSSID component macro.

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Bijumon
Posts: 31
http://meble-kuchenne.info.pl
Joined: Fri Dec 30, 2022 11:44 am
Has thanked: 10 times
Been thanked: 14 times

Global constant is not accessible inside the F11 WLAN_ESP32 ConnectToSSID component macro.

Post by Bijumon »

Global constant is not accessible inside the F11 WLAN_ESP32 ConnectToSSID component macro.
Attachments
Untitled.jpg
Untitled.jpg (67.93 KiB) Viewed 158 times

mnfisher
Valued Contributor
Posts: 1824
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 153 times
Been thanked: 861 times

Re: Global constant is not accessible inside the F11 WLAN_ESP32 ConnectToSSID component macro.

Post by mnfisher »

I've also reported this - don't use global string constants here - connection will fail with the password as the two strings concatenated.

Using a string constant (Connect("SSID", "Password") or string variables is okay though..

The string length FCsz_VAR doesn't include the termination character (\0)

Martin

Post Reply