Example #1
0
 public void Close()
 {
     if (_HackRFDevice != null)
     {
         _HackRFDevice.SamplesAvailable -= HackRFDevice_SamplesAvailable;
         _HackRFDevice.Dispose();
         _HackRFDevice = null;
     }
 }
Example #2
0
 public void SelectDevice(uint index)
 {
     Close();
     _HackRFDevice = new HackRFDevice();
     _HackRFDevice.SamplesAvailable += HackRFDevice_SamplesAvailable;
     _HackRFDevice.Frequency         = _frequency;
     _gui.ConfigureGUI();
     _gui.ConfigureDevice();
 }
Example #3
0
 public void Close()
 {
     if (_hackRFDevice != null)
     {
         _hackRFDevice.SamplesAvailable -= HackRFDevice_SamplesAvailable;
         _hackRFDevice.Dispose();
         _hackRFDevice = null;
     }
 }
Example #4
0
 public void SelectDevice(uint index)
 {
     Close();
     _hackRFDevice = new HackRFDevice();
     _hackRFDevice.SamplesAvailable += HackRFDevice_SamplesAvailable;
     _hackRFDevice.Frequency = _frequency;
     _gui.ConfigureGUI();
     _gui.ConfigureDevice();
 }
Example #5
0
 public void SelectDevice(uint index)
 {
     this.Close();
       this._hackRFDevice = new HackRFDevice();
       this._hackRFDevice.SamplesAvailable += new SamplesAvailableDelegate(this.HackRFDevice_SamplesAvailable);
       this._hackRFDevice.Frequency = this._frequency;
       this._gui.ConfigureGUI();
       this._gui.ConfigureDevice();
 }
Example #6
0
 public void Close()
 {
     if (this._hackRFDevice == null)
     return;
       this._hackRFDevice.SamplesAvailable -= new SamplesAvailableDelegate(this.HackRFDevice_SamplesAvailable);
       this._hackRFDevice.Dispose();
       this._hackRFDevice = (HackRFDevice) null;
 }