Bluetooth interface for Tile type trackers

I trying to design an app to detect when a blue tooth tracker like Tile or similar goes out of range, a kind of presence detection. Is there any blue tooth interfaces that could do this or maybe there is a previous project I could use and modify that could help me to start.
Peted