Android Question BLE2 multiple UUID in Scanfilter

koffie

Member
Licensed User
Longtime User
I am using BLE2 for scanning Tire Pressure sensors and a "BLE button". As the system should work in the background I use scanfilter with the proper Service UUID's.

When i have one item in the list (service UUID) , _DeviceFound is triggered. When I have both the UUID's in the list, _DeviceFound is not triggered.

B4X:
Dim Scanfilter as list
ScanFilter.Add("0000fbb0-0000-1000-8000-00805f9b34fb") 'TPMS
ScanFilter.Add("0000ffe0-0000-1000-8000-00805f9b34fb") 'BLE Button
Manager.Scan2(Scanfilter,true)

I did read multiple articles, but no solutions.

Question: How can I scan for BLE sensors and their data (not connectable), also in the background with screen off, that have different service UUID's ?
 
Top