H hanyelmehy Well-Known Member Licensed User Longtime User Dec 31, 2022 #1 i use Manager_DeviceFound to detect Bluetooth device in range how to detect if detected device not anymore in range note :i just detect devices in range and not make and connection or pairing
i use Manager_DeviceFound to detect Bluetooth device in range how to detect if detected device not anymore in range note :i just detect devices in range and not make and connection or pairing
Erel B4X founder Staff member Licensed User Longtime User Jan 1, 2023 #2 1. Use Scan2 and set AllowDuplicates to True. 2. Maintain a list or map of devices found and the last time they were found (use a custom type for this). 3. Use a timer to remove devices that were the last "found time" is more than X seconds ago. Upvote 0
1. Use Scan2 and set AllowDuplicates to True. 2. Maintain a list or map of devices found and the last time they were found (use a custom type for this). 3. Use a timer to remove devices that were the last "found time" is more than X seconds ago.