Read IP ESP32

For general Flowcode discussion that does not belong in the other sections.
Post Reply
jollybv
Posts: 136
http://meble-kuchenne.info.pl
Joined: Mon Mar 08, 2021 11:25 am
Location: Cape Town South Africa
Has thanked: 41 times
Been thanked: 12 times

Read IP ESP32

Post by jollybv »

Hi Guys

I'm trying to understand the WLAN component of the esp32, I would like to read the IP of the esp32 I have tried the IP=WLAN_ESP32::ReadIPString() component and it just gives me 0.0.0.0 so not sure what I'm doing wrong. I have tried setting it up as an access point then reading the IP ADD but alas noting.
Access_point.fcfx
(19.46 KiB) Downloaded 341 times

jollybv
Posts: 136
Joined: Mon Mar 08, 2021 11:25 am
Location: Cape Town South Africa
Has thanked: 41 times
Been thanked: 12 times

Re: Read IP ESP32

Post by jollybv »

Hi Guys

I sorted out reading the IP i was trying to create an access point instead of connecting to the SSID of my rougher now the only thing is that it reads the IP backward is this a fault of the component?

IP address.png
IP address.png (6.76 KiB) Viewed 2747 times
Access_point.fcfx
(21.74 KiB) Downloaded 430 times

medelec35
Matrix Staff
Posts: 1916
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 621 times
Been thanked: 644 times

Re: Read IP ESP32

Post by medelec35 »

Hi Brian,
Thank you for the spot.
I have hopefully fixed the issue.
I will ask Ben to add the component to the update system.
Martin

medelec35
Matrix Staff
Posts: 1916
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 621 times
Been thanked: 644 times

Re: Read IP ESP32

Post by medelec35 »

Hi Brian.
The component is now on the update system.
Martin

Post Reply