tags:

views:

329

answers:

2

How can I get the MAC address, SSID, and signal strength of wifi routers nearby in Java? Preferably system independent, if not then Windows.

+2  A: 

To get the Mac address you need to query the ARP cache. Which is not trivial and system dependant.

More here: http://stackoverflow.com/questions/1238963/query-arp-cache-to-get-mac-id

Rafa de Castro
+2  A: 

I don't really think there's any system independent way to know that from Java.

On Windows you should be able to do that using Wireless LAN APIs, but you most probably need some JNI to have access to them.

lapo