From 52a4e571042679970ed840b6dca2f9ff5fc18ab4 Mon Sep 17 00:00:00 2001 From: salvathor79 <64558529+salvathor79@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:07:12 +0200 Subject: [PATCH] Created Installer Created installer and tag a new version 0.9 --- Installer-System/Installer-System.aip | 64 +++++++++++++++++++-------- Installer/Installer.aip | 54 ++++++++++++++++------ README.md | 10 +++-- SimplySerial/SimplySerial.cs | 2 +- 4 files changed, 94 insertions(+), 36 deletions(-) diff --git a/Installer-System/Installer-System.aip b/Installer-System/Installer-System.aip index 6f6cf75..30d852a 100644 --- a/Installer-System/Installer-System.aip +++ b/Installer-System/Installer-System.aip @@ -1,12 +1,12 @@ - + - - - + + + @@ -16,28 +16,28 @@ - - - - - + + + + + - + - - - - + + + + @@ -73,6 +73,8 @@ + + @@ -96,9 +98,15 @@ + + + + + + @@ -139,13 +147,22 @@ + + + + + + + + + @@ -171,22 +188,33 @@ - + + + + + + + + + + - + + + - - + + diff --git a/Installer/Installer.aip b/Installer/Installer.aip index 59813f5..d431880 100644 --- a/Installer/Installer.aip +++ b/Installer/Installer.aip @@ -1,12 +1,12 @@ - + - - - + + + @@ -23,22 +23,22 @@ - + - - - - + + + + @@ -74,6 +74,8 @@ + + @@ -97,9 +99,15 @@ + + + + + + @@ -140,13 +148,22 @@ + + + + + + + + + @@ -172,22 +189,33 @@ - + + + + + + + + + + - + + + - - + + diff --git a/README.md b/README.md index 63a981e..16bdf61 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ If you have multiple COM ports, multiple CircuitPython devices connected, or nee `-a, --autoconnect` sets the desired auto-(re)connect behaviour (ex. `a:NONE`, `--autoconnect:ANY`) `-l, --log` logs all output to the specified file (ex. `-l:ss.log`, `-log:"C:\Users\My Name\my log.txt"`) - + `--logmode` instructs SimplySerial to either `APPEND` to an existing log file, or `OVERWRITE` an existing log file. In either case, if the specified log file does not exist, it will be created. If neither option is specified, `OVERWRITE` is assumed. (ex. `--logmode:APPEND`) `-q, --quiet` prevents any application messages (connection banner, error messages, etc.) from printing out to the console @@ -86,6 +86,10 @@ If you have multiple COM ports, multiple CircuitPython devices connected, or nee `-nos --nostatus` block status/title updates generated by virtual terminal sequences (such as the CircuitPython status bar introduced in CP version 8.0.0) + `-ec --echo` enable or disable printing typed characters + + `-tx --tx_newline` newline char sent on carriage return + `-i, --input` ut configuration file, with newline separated configuration options. eg: `c:COM1`. Note that the prefix `-` and `--` shall be omitted. If you wanted to connect to a device on COM17 at 115200 baud, you would use the command `ss -c:17 -b:115200`, or if you really enjoy typing `ss --com:17 --baud:115200`. @@ -130,6 +134,4 @@ If you're directly editing the settings.json, the profile section will look like The code implemented in v0.6.0 to enable virtual terminal processing is based on Tamás Deme's (@tomzorz) gist about [Enabling VT100 terminal emulation in the current console window](https://gist.github.com/tomzorz/6142d69852f831fb5393654c90a1f22e). - The improved detection of CircuitPython boards in version 0.7.0 is based on Simon Mourier's answer on [this stackoverflow thread](https://stackoverflow.com/questions/69362886/get-devpkey-device-busreporteddevicedesc-from-win32-pnpentity-in-c-sharp) regarding the retrieval of a device's hardware bus description through WMI, with some pointers taken from Adafruit's [adafruit_board_toolkit](https://github.com/adafruit/Adafruit_Board_Toolkit/blob/main/adafruit_board_toolkit). - - + The improved detection of CircuitPython boards in version 0.7.0 is based on Simon Mourier's answer on [this stackoverflow thread](https://stackoverflow.com/questions/69362886/get-devpkey-device-busreporteddevicedesc-from-win32-pnpentity-in-c-sharp) regarding the retrieval of a device's hardware bus description through WMI, with some pointers taken from Adafruit's [adafruit_board_toolkit](https://github.com/adafruit/Adafruit_Board_Toolkit/blob/main/adafruit_board_toolkit). \ No newline at end of file diff --git a/SimplySerial/SimplySerial.cs b/SimplySerial/SimplySerial.cs index c6040c8..345ab0d 100644 --- a/SimplySerial/SimplySerial.cs +++ b/SimplySerial/SimplySerial.cs @@ -14,7 +14,7 @@ namespace SimplySerial { class SimplySerial { - const string version = "0.8.0"; + const string version = "0.9.0"; private const int STD_OUTPUT_HANDLE = -11; private const uint ENABLE_VIRTUAL_TERMINAL_PROCESSING = 0x0004;