Is there any way to get a the list of connected MAC addresses when my phone is on Wi-Fi tethering mode?
Reading /proc/net/arp
would provide the information for both static and DHCP clients that have communicated with the device during the last 60 seconds (configured in /proc/sys/net/ipv4/neigh/wl0.1/gc_stale_time
where wl0.1
is the wireless network interface on my phone).
It is available for non-root users too.