Exemplo n.º 1
0
		public void OnLeScan (BluetoothDevice device, int rssi, byte[] scanRecord)
		{						
			if (scanRecord[8] == 141 && scanRecord[9] == 2) {

				var broodDevice = new BroodtoothDevice () {
					AdvertisementData = scanRecord,
					UUID = device.Address
				};

				BroodSubject.OnNext (broodDevice);
			}
		}			
        public void OnLeScan(BluetoothDevice device, int rssi, byte[] scanRecord)
        {
            if (scanRecord[8] == 141 && scanRecord[9] == 2)
            {
                var broodDevice = new BroodtoothDevice()
                {
                    AdvertisementData = scanRecord,
                    UUID = device.Address
                };

                BroodSubject.OnNext(broodDevice);
            }
        }