Vrekrer SCPI parser  0.5
A simple SCPI parser for small Arduino projects.
Vrekrer_scpi_parser.h File Reference

Header file. More...

#include "Arduino.h"

Go to the source code of this file.

Data Structures

class  SCPI_String_Array
 Variable size string array class. More...
 
class  SCPI_Commands
 String array class used to store the tokens of a command. More...
 
class  SCPI_Parameters
 String array class used to store the parameters found after a command. More...
 
class  SCPI_Parser
 Main class of the Vrekrer_SCPI_Parser library. More...
 

Macros

#define SCPI_ARRAY_SYZE   6
 Max branch size of the command tree and max number of parameters.
 
#define SCPI_MAX_TOKENS   15
 Max number of valid tokens.
 
#define SCPI_MAX_COMMANDS   20
 Max number of registered commands.
 
#define SCPI_BUFFER_LENGTH   64
 Length of the message buffer.
 
#define SCPI_TIMEOUT   10
 Timeout, in miliseconds, for GetMessage and ProcessInput.
 
#define SCPI_HASH_TYPE   uint8_t
 Integer size used for hashes.
 

Typedefs

typedef SCPI_Commands SCPI_C
 Alias of SCPI_Commands.
 
typedef SCPI_Parameters SCPI_P
 Alias of SCPI_Parameters.
 
typedef void(* SCPI_caller_t) (SCPI_Commands, SCPI_Parameters, Stream &)
 Void template used with SCPI_Parser::RegisterCommand.
 

Detailed Description

Header file.