private void TryConnectToLaunch() { _launchDevice = null; if (_launchBluetooth != null) { _launchBluetooth.Stop(); } _launchBluetooth = new LaunchBluetooth(); _launchBluetooth.DeviceFound += LaunchBluetoothOnDeviceFound; _launchBluetooth.DeviceRemoved += LaunchBluetoothOnDeviceRemoved; _launchBluetooth.Disconnected += LaunchBluetoothOnDisconnected; _launchBluetooth.Start(); }
private void InitializeLaunchFinder() { _launchConnect = new LaunchBluetooth(); _launchConnect.DeviceFound += LaunchConnectOnDeviceFound; }