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: 30
http://meble-kuchenne.info.pl
Joined: Fri Dec 30, 2022 11:44 am
Has thanked: 7 times
Been thanked: 10 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 36 times

mnfisher
Valued Contributor
Posts: 1812
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 152 times
Been thanked: 853 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