Read mac adress of connected device

digitalsnagiro
Posts: 2
Joined: Wed Nov 15, 2017 8:18 am

Read mac adress of connected device

Postby digitalsnagiro » Fri Nov 17, 2017 11:53 am

Hello,if i have my esp32 as an wifi server and i connect to it with my android device,can i read the MAC address of the device?
i know i can use WiFi.macAddress() but it gets the esp32 mac address

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Read mac adress of connected device

Postby kolban » Sun Mar 11, 2018 5:02 am

It looks like the call "esp_wifi_get_station_list()" is what you are likely looking for.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: No registered users and 91 guests