The application is able to discover devices over Wi-Fi Direct, connect to them and exchange the temporal distance metrics. It also has the database to store the timers and the estimation algorithm to predict the devices moving toward this device.