Example #1
0
 private void _watcher_Received(BluetoothLEAdvertisementWatcher sender, BluetoothLEAdvertisementReceivedEventArgs args)
 {
     System.Diagnostics.Debug.WriteLine(args.Advertisement);
     Bluetooth.OnAdvertisementReceived(args);
 }
 public override void OnScanResult(ScanCallbackType callbackType, ScanResult result)
 {
     Debug.WriteLine($"BluetoothLEScan.OnScanResult {result.Device} {result.Rssi} {result.TxPower} {result.ScanRecord}");
     Bluetooth.OnAdvertisementReceived(result);
 }