Example #1
0
        public void OnNext(BeaconScanResult value)
        {
            var list = value.Signals.Where(s => s.Rssi >= RssiTreshold)
                       .Select(b => BeaconData.FromAddress(b.UUID)
                               .Add(new BeaconItem[] { new BeaconItem {
                                                           Rssi = b.Rssi, Time = value.Time
                                                       } }));

            foreach (var s in list)
            {
                telemetry.Append(s);
            }

            ranger.OnNext(telemetry);
        }