private void DevTtyCreated(object sender, System.IO.FileSystemEventArgs e) { if (e.ChangeType.HasFlag(System.IO.WatcherChangeTypes.Created)) { DebugOutput("DeviceMonitor.FileSystemNotifcationPort: DevTtyCreated: " + e.FullPath); DeviceChange.SystemReportsDeviceAdded(this, e.FullPath, INTV.Core.Model.Device.ConnectionType.Serial); } }
private static void HandleSystemDidWake(object sender, EventArgs e) { DebugOutput("DeviceMonitor.HandleSystemDidWake"); foreach (var port in INTV.Shared.Model.Device.SerialPortConnection.AvailablePorts) { DeviceChange.SystemReportsDeviceAdded(null, port, INTV.Core.Model.Device.ConnectionType.Serial); } }
private static void ReportPortArrival(string portName) { DebugOutput("IOService: Arrival: port: " + portName); DeviceChange.SystemReportsDeviceAdded(null, portName, INTV.Core.Model.Device.ConnectionType.Serial); }