Page 1 of 1

Read IP ESP32

Posted: Sun Sep 26, 2021 10:43 am
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

Re: Read IP ESP32

Posted: Wed Sep 29, 2021 3:46 pm
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 2751 times
Access_point.fcfx
(21.74 KiB) Downloaded 430 times

Re: Read IP ESP32

Posted: Thu Sep 30, 2021 10:06 am
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.

Re: Read IP ESP32

Posted: Thu Sep 30, 2021 11:59 am
by medelec35
Hi Brian.
The component is now on the update system.