Skip to content

Commit a22ecca

Browse files
authored
Merge pull request #1 from docbender/net6
Net6
2 parents 5c7ce69 + d6e29be commit a22ecca

File tree

13 files changed

+2091
-1982
lines changed

13 files changed

+2091
-1982
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
/SerialMonitor.suo
55
/SerialMonitor/bin/Release
66
/SerialMonitor/obj/Release
7+
.vs
8+
bin
9+
obj

README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# SerialMonitor
22
Program is simple piece of software designed for serial port data monitoring together with the possibility to automatically reply to sender.
33

4+
[![Version](https://img.shields.io/github/v/release/docbender/SerialMonitor?include_prereleases)](https://github.com/docbender/SerialMonitor/releases)
5+
[![Download](https://img.shields.io/github/downloads/docbender/SerialMonitor/total.svg)](https://github.com/docbender/SerialMonitor/releases)
6+
[![Issues](https://img.shields.io/github/issues/docbender/SerialMonitor)](https://github.com/docbender/SerialMonitor/issues)
7+
48
Time between received data messages is displayed (in miliseconds). In addition to the printing on the screen it allows write everything (or just communication) to a specified file.
59

6-
Windows and also Linux are supported. Program isn't serial port sniffer so can't monitor port that is already open by another program. Program is written in C# so .NET (version 2.0) or Mono is necessary.
10+
Program requires .NET6. Program is running under Windows and Linux. Program isn't serial port sniffer so can't monitor port that is already open by another program.
711

8-
![](https://github.com/docbender/SerialMonitor/blob/master/img/SM1.png)
12+
![](https://github.com/docbender/SerialMonitor/blob/master/img/SM3.png)
913

1014
Program has also feature that allows answer to sender for specific message. This could be used for simple simulation of some device. To use this feature it is necessary to prepare file with pairs ask/answer. In file first(odd) line represent ask and second(even) line answer. File can contain several pairs ask/answer which can be separated by empty lines (not necessary). File example:
1115

@@ -30,10 +34,13 @@ Switches:
3034
* -parity {used parity}: set used port parity. Default none. Available parameters odd, even, mark and space.
3135
* -databits {used databits}: set data bits count. Default 8 data bits.
3236
* -stopbits {used stopbits}: set stop bits count. Default 1 stop bit. Available parameters 0, 1, 1.5 and 2.
33-
* -repeatfile {file name}: enable repeat mode with protocol specified in file
34-
* -logfile {file name}: set file name for log into that file
35-
* -logincomingonly: log into file would be only incoming data
36-
* -showascii: communication would be show in ASCII format (otherwise HEX is used)
37+
* -repeatfile {file name}: enable repeat mode with protocol specified in file.
38+
* -logfile {file name}: set file name for log into that file.
39+
* -logincomingonly: log into file would be only incoming data.
40+
* -showascii: communication would be show in ASCII format (otherwise HEX is used).
41+
* -notime: time information about incoming data would not be printed.
42+
* -gaptolerance {time gap in ms}: messages received within specified time gap will be printed together.
43+
* -nogui: start program in normal console mode (scrolling list). Not with text GUI.
3744

3845
Example:
3946

@@ -43,6 +50,5 @@ Example:
4350
serialmonitor COM83 -baudrate 19200 -repeatfile protocol.txt
4451

4552
In program commands can be typed:
46-
* exit or ^C: program exit
53+
* exit: program exit
4754
* send {data to send}: send specified data (in HEX format if data start with 0x otherwise ASCII is send)
48-

SerialMonitor.sln

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11

2-
Microsoft Visual Studio Solution File, Format Version 10.00
3-
# Visual Studio 2008
4-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SerialMonitor", "SerialMonitor\SerialMonitor.csproj", "{019A06E0-C535-488C-AACF-E2A0E1A26861}"
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.32112.339
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SerialMonitor", "SerialMonitor\SerialMonitor.csproj", "{019A06E0-C535-488C-AACF-E2A0E1A26861}"
57
EndProject
68
Global
79
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -17,4 +19,7 @@ Global
1719
GlobalSection(SolutionProperties) = preSolution
1820
HideSolutionNode = FALSE
1921
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {0EB2695A-E2CB-4290-9B63-F93C61AA527E}
24+
EndGlobalSection
2025
EndGlobal

0 commit comments

Comments
 (0)