daniels20000

Results 4 comments of daniels20000

I guess Jeff loves us all and he'll go through that manually and say something nice for trying 😉

I'm not saving results in a map. My intend is to scan all the time without need to refresh. User is suppose to walk through the building and depending upon...

I think I'm gonna put that stream of scan results `Observable(FlutterBlue.instance.scan( withServices: [Guid(myUUID)], scanMode: ScanMode(2))) .bufferTime(Duration(milliseconds: 500)).distinct((p,n)=> p.isEmpty&&n.isEmpty) .asyncMap((value) => value.toSet().toList() ..sort((a, b) => a.device.id.id.compareTo(b.device.id.id)))` which every 500ms yields me...

How about a method which sets a timeout for every device after which it would be removed unless it would be still in range. I try to avoid clearing list...