Skip to content

Commit 5ba2c50

Browse files
Add ComPort property to SerialLink.
Co-authored-by: alexander.mushinskiy <amushinskiy@gmail.com>
1 parent 6905a74 commit 5ba2c50

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ThreeByte.LinkLib/ThreeByte.LinkLib.SerialLink/SerialLink.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public class SerialLink : IDisposable
1616
public bool IsEnabled => _isEnabled;
1717
public bool IsOpen => _serialPort?.IsOpen ?? false;
1818
public bool HasData => _incomingData.Count > 0;
19+
public string ComPort => _settings.ComPort;
1920

2021
private const int MaxDataSize = 100;
2122

0 commit comments

Comments
 (0)