Skip to content

Releases: Vrekrer/Vrekrer_scpi_parser

v0.5.0

02 Mar 01:02
Compare
Choose a tag to compare

Changelog:

New Features

  • Add Special Commands (registered with RegisterSpecialCommand) that allow the user to write custom code for reading and processing the message parameters. This can be used for:
    • Read Strings or raw data that contain special characters.
    • Read data larger than the input buffer.
    • Real time processing of the data.
    • etc.
  • Add new RawData_Parameters.ino example that explain the use of Special Commands
  • Add new Configuration_Options.ino example that explain how to configure the library, and debug the registered command tree.
    • PrintDebugInfo now shows more meaningful information and report problems with the command tree.
  • Allow the configuration of the timeout time. See Error_Handling.ino example

Code changes

-Move all the code to the headers, so that #define directives can be used in the Arduino IDE.
-PrintDebugInfo now uses a Stream instead of Serial
-Fix several illegal memory access bugs and other logic problems.
-Refactor some code to make it cleaner.
-Delete obsolete examples CommandTree_Check.ino and Ethernet_Instrument.ino
-Doxigen documentation was deleted (no time to maintain it)

v0.4.2

27 Feb 21:14
Compare
Choose a tag to compare

Changelog:

Stop blocking the main loop
SCPI_Parser::GetMessage now returns NULL if the message is not completed, but reads the available chars at the interface.
As a consequence, SCPI_Parser::ProcessInput no longer waits until a termination char is received.

Communication errors handling, including:
-Message buffer overflow,
-Timeout before receiving the termination chars (uncompleted messages),
-and receiving an unknown command.
See Error_Handling.ino example

Lower RAM usage by storing commands as hashes.
See CommandTree_Check.ino example

Better documentation.

Release 0.4.1

09 Nov 18:58
Compare
Choose a tag to compare

First release published in the Arduino Library Manager

v0.4

10 Jun 03:09
Compare
Choose a tag to compare

Changelog:
Numeric suffixes using the # character.
Better documentation.
Some code optimization.

v0.3

15 Apr 02:46
Compare
Choose a tag to compare
V0.3

Large rewrite for better memory managment.
Use char* instead of String
TO(RE)DO : Multicomand messages, string parameters