public void UnPairAsync(BTDeviceInfo info)
 {
     this.BT_UnPairStatus?.Invoke(this, new BTUnPairOperationStatus()
     {
         IsSuccessful = false,
         UnpairStatus = BT_UnpairingStatus.AccessDenied,
         Name         = "NOT IMPLEMENTED"
     });
 }
 public void PairgAsync(BTDeviceInfo info)
 {
     this.BT_PairStatus?.Invoke(this, new BTPairOperationStatus()
     {
         IsSuccessful = false,
         PairStatus   = BT_PairingStatus.NoParingObject,
         Name         = "NOT IMPLEMENTED"
     });
 }
 public void GetDeviceInfoAsync(BTDeviceInfo deviceDataModel)
 {
     this.BT_DeviceInfoGathered?.Invoke(this, new BTDeviceInfo()
     {
         Name              = "NOT IMPLEMENTED",
         RemoteHostName    = "NOT IMPLEMENTED",
         RemoteServiceName = "0",
     });
 }
Example #4
0
 private void BT_DeviceDiscoveredHandler(object sender, BluetoothCommon.Net.BTDeviceInfo e)
 {
     Device.BeginInvokeOnMainThread(() => {
         this.btnPair.IsVisible      = true;
         this.activity.IsRunning     = false;
         this.lstDevices.ItemsSource = null;
         this.devices.Add(e);
         this.lstDevices.ItemsSource = this.devices;
     });
 }
 public void ConnectAsync(BTDeviceInfo device)
 {
     this.ConnectionCompleted?.Invoke(this, false);
 }