Notable Changes/Additions:
-
Unicode (UTF-8) Support. UTF-8 character sequences are now handled correctly, so bring on your symbols μ° , emojis 😍😎 and fancy borders ╔═╗! Unicode support is enabled by default, but can be disabled using the new
--encoding
command-line option:-encoding:UTF8
= Display UTF-8 encoded character sequences. (This is the new default.)
-encoding:ASCII
= Display all incoming data as 7-bit ASCII. (This is how incoming data was always displayed in previous versions.)
-encoding:RAW
= Display incoming printable 7-bit ASCII characters as-is, and display non-printable characters as[xx]
wherexx
is the hexadecimal byte value of the character.Thanks to GitHub user @aderusha for suggesting this improvement, testing changes and providing feedback!
-
Scoop Installer Support. SimplySerial can now be installed on the command-line using the Scoop Installer! If you're familiar with Scoop, just install
simplyserial
from theextras
bucket. (The specific commands required have been added to SimplySerial'sREADME
.) The-version
command-line options has been updated to recognize when SimplySerial has been installed through Scoop.Thanks to GitHub user @breakersun for the suggestion to add SimplySerial to a Scoop bucket, and @YDX-2147483647 for creating and testing the Scoop installer manifest, adding Scoop install instructions to the SimplySerial documentation and supplying the associated pull requests! Seriously - thanks to both of you for bringing Scoop to my attention. I had never heard of it before, but am a fan now, and am very happy to have SimplySerial included in the extras bucket!
-
Dynamic Console Window Title. The title bar text in a Console windows with a running instance of SimplySerial is now updated to indicate the connection state, connected device, etc. Received escape sequences that contain title information (such as the status bar introduced in CircuitPython 8) will also be processed and displayed correctly. (Processing of received title escape sequences can also be disabled using the
-nostatus
command-line option.) -
Option to replace incoming CR with LF. Start SimplySerial with the
-forcenewline
option to ensure that incoming data delimited with only a carriage return (no line feed) will be displayed legibly on a new line. -
Special handling for Function (F1-F12) keys. Function keys now send out their corresponding ANSI escape sequences when pressed.
-
Option to disable screen clearing. Use the
-noclear
option to prevent the console screen from clearing when a connection is established. -
Updated
boards.json
. The list of fully identifiable CircuitPython boards has been updated. -
Build Environment Update. SimplySerial is now being developed in Visual Studio 2022 Community Edition (as opposed to VS2019), and targets .NET Framework 4.8 (previously targeted 4.5).