Page 1 of 1

IP Address of Clients in AP mode

Posted: Sat Aug 05, 2017 5:48 pm
by UweSeifert
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.

Re: IP Address of Clients in AP mode

Posted: Mon Aug 07, 2017 1:46 am
by WiFive

Re: IP Address of Clients in AP mode

Posted: Tue Aug 08, 2017 1:08 pm
by UweSeifert
Many thanks for the hint. Now I got it.

Regards Uwe

Re: IP Address of Clients in AP mode

Posted: Tue Mar 05, 2019 3:47 pm
by phatpaul
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

Re: IP Address of Clients in AP mode

Posted: Thu May 02, 2019 7:56 am
by lesept
Is there a way to know the IP address of a client connected to the ESP32 as SoftAP using Arduino IDE ?

Re: IP Address of Clients in AP mode

Posted: Thu May 02, 2019 6:04 pm
by martinayotte
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();