I struggle with present detection (the pluging “netcheck” does not work for me).
I don’t want to install anything on the to detect Smartphones.
Pinging not always works and bluetooth is not always on.
So this is what I do now for each know device (until now it works pretty well but maybe it is an overkill of sensing:
Ping the device. If that does not give a device as present then:
Arping a device 5 times (because offen the device does not react a few times
If that does not give a device as present I do a hcitool -name (trying with bluetooth).
I think the arping is working the best for newer Smartphones.
But I also like to detect Smartphones that are not connected to my network (visitors) or where I don’t know the bluetooth mac adres off.
So has anyone a better solution?