diff --git a/src/commands.h b/src/commands.h new file mode 100644 index 0000000000000000000000000000000000000000..4be2337ca0f165523061120e444eb8884c4a826a --- /dev/null +++ b/src/commands.h @@ -0,0 +1,101 @@ +#pragma once +#include <string> + +namespace commands +{ + class ClassCommands + { + public: + + static std::string ClassCommands::CMD_ONACQ; + static std::string ClassCommands::CMD_OFFACQ; + static std::string ClassCommands::CMD_STREAMONACQ; + static std::string ClassCommands::CMD_STREAMOFFACQ; + static std::string ClassCommands::CMD_NORMALACQ; + + static std::string ClassCommands::CMD_ONIMPEDANCEACQ; + static std::string ClassCommands::CMD_OFFIMPEDANCEACQ; + + static std::string ClassCommands::CMD_TESTACQ; + static std::string ClassCommands::CMD_CONFIGACQ; + static std::string ClassCommands::CMD_CONFIGACQ_PARAM1; + static std::string ClassCommands::CMD_CONFIGACQ_PARAM2; + static std::string ClassCommands::CMD_CONFIGACQ_PARAM3; + + static std::string ClassCommands::CMD_VELEC_SELECTED; + static std::string ClassCommands::CMD_VELEC_NOTSELECTED; + + + static std::string ClassCommands::CMD_ONSTIM; + static std::string ClassCommands::CMD_OFFSTIM; + + + static std::string ClassCommands::CMD_CONFIGELEC; + static std::string ClassCommands::CMD_CONFIGELEC_PARAM1; + + static std::string ClassCommands::CMD_CONFIGPATTERN; + static std::string ClassCommands::CMD_CONFIGPATTERN_PARAM1; + static std::string ClassCommands::CMD_CONFIGPATTERN_PARAM2; + static std::string ClassCommands::CMD_CONFIGPATTERN_PARAM3; + + static std::string ClassCommands::CMD_CONFIGVELEC; + static std::string ClassCommands::CMD_CONFIGVELEC_PARAM1; + static std::string ClassCommands::CMD_CONFIGVELEC_PARAM2; + static std::string ClassCommands::CMD_CONFIGVELEC_PARAM3; + + static std::string ClassCommands::CMD_SETFREQ; + + static std::string ClassCommands::CMD_SETDEVICENAME; + static std::string ClassCommands::CMD_SETHV; + static std::string ClassCommands::CMD_ONHV; + static std::string ClassCommands::CMD_OFFHV; + static std::string ClassCommands::CMD_ONLOGEVENTS; + + static std::string ClassCommands::CMD_OFFLOGEVENTS; + static std::string ClassCommands::CMD_SETINTERVAL; + static std::string ClassCommands::CMD_SETBUZZER; + static std::string ClassCommands::CMD_PLAYBUZZER; + static std::string ClassCommands::CMD_SETRTCDATE; + + static std::string ClassCommands::CMD_SETRTCTIME; + static std::string ClassCommands::CMD_SWITCHOFF; + static std::string ClassCommands::CMD_SETSDFUNCTION; + static std::string ClassCommands::CMD_SETSDNAME; + //PATTERN + + //paTTERN CLEAR PONER IGUAL DELETE + //VELEC + //VELEC SELECTED + //sTIM VELEC + //ACQIMPEDANCECONFIG + //ACQIMPEDANCEPOLARITY + + static std::string ClassCommands::CMD_INIT; + + static std::string ClassCommands::CMD_GETBATTERY; + static std::string ClassCommands::CMD_GETFW; + static std::string ClassCommands::CMD_GETDEVICENAME; + static std::string ClassCommands::CMD_GETLOGEVENTS; + //velec + //pattern + static std::string ClassCommands::CMD_GETHV; + static std::string ClassCommands::CMD_GETINTERVAL; + static std::string ClassCommands::CMD_GETRTC; + static std::string ClassCommands::CMD_GETBUZZER; + static std::string ClassCommands::CMD_GETFRQUENCY; + static std::string ClassCommands::CMD_GETSDFUNCTION; + static std::string ClassCommands::CMD_GETSDNAME; + static std::string ClassCommands::CMD_GETHW; + static std::string ClassCommands::CMD_GETTIC; + + static std::string ClassCommands::CMD_BUFFERFLUSH; + + static std::string ClassCommands::CMD_AUX; + + + + + std::string ClassCommands::Log(std::string val); + + }; +} \ No newline at end of file