Target is not to have the real distance. It is something simpler. Target is to check whether another device is very very close. True or false. Let\'s say 1
You can measure distance with sound.