Example #1
0
        public void Start()
        {
            bool started = watcher.TryStart(false, TimeSpan.FromMilliseconds(2000));

            if (started)
            {
                Conectado?.Invoke(this, new EventArgs());
            }
        }
Example #2
0
 private void DevicesDeviceDetected(object sender, DeviceEventArgs e)
 {
     nmeaInterpreter.Start(e.Device);
     Conectado?.Invoke(this, new EventArgs());
 }