Scan IP and MAC of all local devices connected to a wifi network or router on android 13
I’m making an app to scan the IP and MAC of all the devices connected to the network, but I can only get their IP, and when I get the IPs it doesn’t do it well, it only gets from cell phones but not from laptops or PCs that are connected by cable to the router.
I tried to do it with arp -a but this no longer works on Android 13.
I see that some applications such as
Network Scanner and Wi-FI Monitor can get the IP and MAC