Bluetooth proximity sensing technology enables devices to detect the presence of other nearby devices. This method leverages infrared signals emitted by one device and received by another, allowing for accurate distance https://www.lansitec.com/products/macro-proximity-sensor/