Detect a mobile device on the network using Python