-->
Page 1 of 2

MAC ID of connected STA

PostPosted: Thu Aug 04, 2016 3:09 pm
by AZinfidel
Would be interested in a WIFI COMMAND that would allow a site survey of other Stations in proximity of an ESP8266 AP . MAC id and if possible RSSI of the STA.

Re: MAC ID of connected STA

PostPosted: Thu Aug 04, 2016 3:51 pm
by Mmiscool
did you check out the wifi scanner demo?

Code: Select alln = wifi.scan()
html "Number of network found = "
html n

for x = 1 to n
 html "<hr>"
 html wifi.ssid(x)
 html ","
 html wifi.rssi(x)
next x


Re: MAC ID of connected STA

PostPosted: Thu Aug 04, 2016 4:04 pm
by AZinfidel
Hmmm. Yes used it for AP's. But not for STA's

Re: MAC ID of connected STA

PostPosted: Fri Aug 05, 2016 12:00 am
by forlotto
This is what I use myself however it is a windows based program. It is possible that you are trying to build something else with your code where this would not be effective but it is an excellent free too for anyone to have!

http://www.nirsoft.net/utils/wireless_n ... tcher.html

For android I use a program called FING.
http://www.nirsoft.net/utils/wireless_n ... tcher.html

As for basic currently the MACID shows as your AP connection however when in station mode you must get it from a network scanning tool ... may just be possible for basic I really am not totally familiar with the specifics of all of this.

As far as what you could do with code Hrmmm I wonder if you couldn't just create a page with an iframe of your routers device listing and grab the data from the Iframe some how? Or you could use wget to get the device listing from your router and return the page via wprint aka html ... I am sure there is likely more ways to do this and I am interested to see anyone elses ideas as well ;)