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