i have a nokia device with Android 11 . this device doesn't show Connected Devices CURRENTLY connected to the Wifi Hotspot. IOT Development boards like Arduino or ESP32 etc... connected to the device's hotspot becomes useless as their respective android apps require their IP addresses to monitor them. Android 11 devices from other manufacturers readily show the list (name, ip & mac addresses) of devices connected to their hotspot right within the Settings.
i tried reading the file "/proc/net/arp". permission was denied. i tried executing "ip neigh show" returned null. i tried android.net.wifi.* methods and classes nothing leads to an instance of currently active Wifi Hotspot or SoftApInfo or DhcpInfo or TeatheredHotspot. any piece of source code on google source or android source is either deprecated or not present at all in newer android sdk.
Turns out, Android 10 & above has restricred access to the "/proc/net" file.
even the alternatives provided there don't work...
None of the above workarounds work. please help...