12#ifndef SCPI_COMMANDS_H
13#define SCPI_COMMANDS_H
24void Identify(SCPI_C commands, SCPI_P parameters, Stream& interface);
33void Reset(SCPI_C commands, SCPI_P parameters, Stream& interface);
44void OPC(SCPI_C commands, SCPI_P parameters, Stream& interface);
53void GetError(SCPI_C commands, SCPI_P parameters, Stream& interface);
62void GetHelp(SCPI_C commands, SCPI_P parameters, Stream& interface);
73void GetHelpSyntax(SCPI_C commands, SCPI_P parameters, Stream& interface);
85void GetVersion(SCPI_C commands, SCPI_P parameters, Stream& interface);
94void GetDebug(SCPI_C commands, SCPI_P parameters, Stream& interface);
103void Preset(SCPI_C commands, SCPI_P parameters, Stream& interface);
104void SetPort(SCPI_C commands, SCPI_P parameters, Stream& interface);
105void GetPort(SCPI_C commands, SCPI_P parameters, Stream& interface);
106void SetIP(SCPI_C commands, SCPI_P parameters, Stream &interface);
107void GetIP(SCPI_C commands, SCPI_P parameters, Stream &interface);
108void SetMAC(SCPI_C commands, SCPI_P parameters, Stream &interface);
109void GetMAC(SCPI_C commands, SCPI_P parameters, Stream &interface);
110void GetGW(SCPI_C commands, SCPI_P parameters, Stream &interface);
111void Step(SCPI_C commands, SCPI_P parameters, Stream &interface);
112void Perpetual(SCPI_C commands, SCPI_P parameters, Stream &interface);
113void SetRelativePosition(SCPI_C commands, SCPI_P parameters, Stream &interface);
114void GetAbsolutePosition(SCPI_C commands, SCPI_P parameters, Stream &interface);
115void SetAbsolutePosition(SCPI_C commands, SCPI_P parameters, Stream &interface);
116void SetDirection(SCPI_C commands, SCPI_P parameters, Stream &interface);
117void GetDirection(SCPI_C commands, SCPI_P parameters, Stream &interface);
118void SetRMSCurrent(SCPI_C commands, SCPI_P parameters, Stream &interface);
119void GetRMSCurrent(SCPI_C commands, SCPI_P parameters, Stream &interface);
120void SetHoldCurrent(SCPI_C commands, SCPI_P parameters, Stream &interface);
121void GetHoldCurrent(SCPI_C commands, SCPI_P parameters, Stream &interface);
122void SetMicrosteps(SCPI_C commands, SCPI_P parameters, Stream &interface);
123void GetMicrosteps(SCPI_C commands, SCPI_P parameters, Stream &interface);
124void SetSpeed(SCPI_C commands, SCPI_P parameters, Stream &interface);
125void GetSpeed(SCPI_C commands, SCPI_P parameters, Stream &interface);
126void SetAcceleration(SCPI_C commands, SCPI_P parameters, Stream &interface);
127void GetAcceleration(SCPI_C commands, SCPI_P parameters, Stream &interface);
128void SetGearRatio1(SCPI_C commands, SCPI_P parameters, Stream &interface);
129void GetGearRatio1(SCPI_C commands, SCPI_P parameters, Stream &interface);
130void SetGearRatio2(SCPI_C commands, SCPI_P parameters, Stream &interface);
131void GetGearRatio2(SCPI_C commands, SCPI_P parameters, Stream &interface);
132void SetStepsPerRev(SCPI_C commands, SCPI_P parameters, Stream &interface);
133void GetStepsPerRev(SCPI_C commands, SCPI_P parameters, Stream &interface);
134void DebugMotorPins(SCPI_C commands, SCPI_P parameters, Stream &interface);
135void GetMotorDebug(SCPI_C commands, SCPI_P parameters, Stream &interface);
136void ResetEthernet(SCPI_C commands, SCPI_P parameters, Stream &interface);
145void GetSessionList(SCPI_C commands, SCPI_P parameters, Stream &interface);
154void GetSessionLog(SCPI_C commands, SCPI_P parameters, Stream &interface);
163void GetSocketList(SCPI_C commands, SCPI_P parameters, Stream &interface);
172void GetDiagSystem(SCPI_C commands, SCPI_P parameters, Stream &interface);
This file contains the functions and classes related to SCPI communication.
void GetHelpSyntax(SCPI_C commands, SCPI_P parameters, Stream &interface)
Sends syntax help for a single command header, given as a parameter (e.g. SYSTem:HELP:SYNTax?...
void GetSocketList(SCPI_C commands, SCPI_P parameters, Stream &interface)
Sends the raw state of all W5500 hardware sockets over the given interface.
void GetSessionLog(SCPI_C commands, SCPI_P parameters, Stream &interface)
Sends the ring buffer of recent SCPI session closures (with reason) over the given interface.
void GetDebug(SCPI_C commands, SCPI_P parameters, Stream &interface)
Sends the debug information from Vrekrer-SCPI-Parser over the given interface.
void Preset(SCPI_C commands, SCPI_P parameters, Stream &interface)
Rewrites the parameters stored in flash memory with the defaults from the config.h file.
void OPC(SCPI_C commands, SCPI_P parameters, Stream &interface)
Sends a 1 over the given interface to indicate that the previous command has finished executing.
void Identify(SCPI_C commands, SCPI_P parameters, Stream &interface)
Sends an identification message over the given interface.
void GetSessionList(SCPI_C commands, SCPI_P parameters, Stream &interface)
Sends the live SCPI Ethernet session table over the given interface.
void GetVersion(SCPI_C commands, SCPI_P parameters, Stream &interface)
Sends the current firmware version of the device over the given interface.
void GetDiagSystem(SCPI_C commands, SCPI_P parameters, Stream &interface)
Sends system/reset health diagnostics (uptime, heap, reset reason, boot count) over the given interfa...
void GetHelp(SCPI_C commands, SCPI_P parameters, Stream &interface)
Sends a help message with all available SCPI commands over the given interface.
void Reset(SCPI_C commands, SCPI_P parameters, Stream &interface)
Triggers a full reset of the ESP32.
void GetError(SCPI_C commands, SCPI_P parameters, Stream &interface)
Sends the oldest error message over the given interface.