IP Address of Clients in AP mode

UweSeifert
Posts: 2
Joined: Sat Aug 05, 2017 11:05 am

IP Address of Clients in AP mode

Postby UweSeifert » Sat Aug 05, 2017 5:48 pm

Hi,
I am looking for an API where I can get the IP address of an client which is connected in AP mode to the ESP32. I am working with the esp-idf.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: IP Address of Clients in AP mode

Postby WiFive » Mon Aug 07, 2017 1:46 am


UweSeifert
Posts: 2
Joined: Sat Aug 05, 2017 11:05 am

Re: IP Address of Clients in AP mode

Postby UweSeifert » Tue Aug 08, 2017 1:08 pm

Many thanks for the hint. Now I got it.

Regards Uwe

phatpaul
Posts: 109
Joined: Fri Aug 24, 2018 1:14 pm

Re: IP Address of Clients in AP mode

Postby phatpaul » Tue Mar 05, 2019 3:47 pm

Would this a better function to call?
esp_wifi_ap_get_sta_list(wifi_sta_list_t *sta);

https://github.com/espressif/esp-idf/bl ... ifi.h#L800

https://docs.espressif.com/projects/esp ... sta_list_t

Here's an example usage:
viewtopic.php?t=1192

lesept
Posts: 31
Joined: Wed Jun 27, 2018 10:30 pm

Re: IP Address of Clients in AP mode

Postby lesept » Thu May 02, 2019 7:56 am

Is there a way to know the IP address of a client connected to the ESP32 as SoftAP using Arduino IDE ?

User avatar
martinayotte
Posts: 141
Joined: Fri Nov 13, 2015 4:27 pm

Re: IP Address of Clients in AP mode

Postby martinayotte » Thu May 02, 2019 6:04 pm

lesept wrote:
Thu May 02, 2019 7:56 am
Is there a way to know the IP address of a client connected to the ESP32 as SoftAP using Arduino IDE ?
client.remoteIP();

Who is online

Users browsing this forum: LSitar and 86 guests