Releases: Vrekrer/Vrekrer_scpi_parser
v0.5.0
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. SeeError_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
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
First release published in the Arduino Library Manager