This commit is contained in:
		@@ -1,3 +1,13 @@
 | 
			
		||||
/**
 | 
			
		||||
 * @file CommandHandler.cpp
 | 
			
		||||
 * @author Jens True (jens.chr.true@gmail.com)
 | 
			
		||||
 * @brief CommandHandler implementation
 | 
			
		||||
 * @version 0.1
 | 
			
		||||
 * @date 2021-11-10
 | 
			
		||||
 * 
 | 
			
		||||
 * @copyright Copyright (c) 2021
 | 
			
		||||
 * 
 | 
			
		||||
 */
 | 
			
		||||
#include "CommandHandler.h"
 | 
			
		||||
 | 
			
		||||
#include "Arduino.h"
 | 
			
		||||
 
 | 
			
		||||
@@ -1,11 +1,20 @@
 | 
			
		||||
/**
 | 
			
		||||
 * @file CommandHandler.h
 | 
			
		||||
 * @author Jens True (jens.chr.true@gmail.com)
 | 
			
		||||
 * @brief CommandHandler Header
 | 
			
		||||
 * @version 0.1
 | 
			
		||||
 * @date 2021-11-10
 | 
			
		||||
 * 
 | 
			
		||||
 * @copyright Copyright (c) 2021
 | 
			
		||||
 * 
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef COMMANDHANDLER_H
 | 
			
		||||
#define COMMANDHANDLER_H
 | 
			
		||||
#include "DisplayProxy.h"
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Parse a JSON command and convert it into display command(s).
 | 
			
		||||
 * 
 | 
			
		||||
 * 
 | 
			
		||||
 */
 | 
			
		||||
class CommandHandler
 | 
			
		||||
{
 | 
			
		||||
@@ -32,6 +41,8 @@ public:
 | 
			
		||||
     * @return True if the input was parsed correctly.
 | 
			
		||||
     */
 | 
			
		||||
    bool parseJSON(const char *cmd);
 | 
			
		||||
 | 
			
		||||
    bool parse
 | 
			
		||||
private:
 | 
			
		||||
    /**
 | 
			
		||||
     * Internal helpers for printing debug strings
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user