I write some code to scan BLE peripheral on background (using android alarm manager) but I had multiple scanned device with same UUID. I want to just get one result per UUID, any solution?
Code:
When code below changed, it will fire a code fireAlarm()
I write some code to scan BLE peripheral on background (using android alarm manager) but I had multiple scanned device with same UUID. I want to just get one result per UUID, any solution?
Code: When code below changed, it will fire a code fireAlarm()
fireAlarm()
and i got duplicated 6 times same uuid "08957263-1010-0000-0000-00010064c570" here