コード例 #1
0
ファイル: VAMLaunchServer.cs プロジェクト: qdot/VAMLaunch
        private void TryConnectToLaunch()
        {
            _launchDevice = null;
            if (_launchBluetooth != null)
            {
                _launchBluetooth.Stop();
            }

            _launchBluetooth                = new LaunchBluetooth();
            _launchBluetooth.DeviceFound   += LaunchBluetoothOnDeviceFound;
            _launchBluetooth.DeviceRemoved += LaunchBluetoothOnDeviceRemoved;
            _launchBluetooth.Disconnected  += LaunchBluetoothOnDisconnected;
            _launchBluetooth.Start();
        }
コード例 #2
0
 private void InitializeLaunchFinder()
 {
     _launchConnect              = new LaunchBluetooth();
     _launchConnect.DeviceFound += LaunchConnectOnDeviceFound;
 }