My use case is, i need to constantly scan for nearby beacons and whenever a particular device (e.g. Beacon1 ) gets detected, i have to perform a task (e.g. print User 1 is nearby) and when the user exits the area or when the beacon is turned off/inactive i have to log a message (e.g. User lost).
This is kind of urgent so i would really appreciate some help.
My use case is, i need to constantly scan for nearby beacons and whenever a particular device (e.g. Beacon1 ) gets detected, i have to perform a task (e.g. print User 1 is nearby) and when the user exits the area or when the beacon is turned off/inactive i have to log a message (e.g. User lost).
This is kind of urgent so i would really appreciate some help.