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
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,13 @@
 | 
			
		||||
/**
 | 
			
		||||
 * @file DisplayProxy.h
 | 
			
		||||
 * @author Jens True (jens.chr.true@gmail.com)
 | 
			
		||||
 * @brief DisplayProxy header
 | 
			
		||||
 * @version 0.1
 | 
			
		||||
 * @date 2021-11-10
 | 
			
		||||
 * 
 | 
			
		||||
 * @copyright Copyright (c) 2021
 | 
			
		||||
 * 
 | 
			
		||||
 */
 | 
			
		||||
#ifndef DISPLAYPROXY_H
 | 
			
		||||
#define DISPLAYPROXY_H
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,13 @@
 | 
			
		||||
/**
 | 
			
		||||
 * @file DisplayProxyMAX7456.cpp
 | 
			
		||||
 * @author Jens True (jens.chr.true@gmail.com)
 | 
			
		||||
 * @brief DisplayProxyMAX7456 Implementation
 | 
			
		||||
 * @version 0.1
 | 
			
		||||
 * @date 2021-11-10
 | 
			
		||||
 * 
 | 
			
		||||
 * @copyright Copyright (c) 2021
 | 
			
		||||
 * 
 | 
			
		||||
 */
 | 
			
		||||
#include "DisplayProxyMAX7456.h"
 | 
			
		||||
 | 
			
		||||
DisplayProxyMAX7456::DisplayProxyMAX7456()
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,13 @@
 | 
			
		||||
/**
 | 
			
		||||
 * @file DisplayProxyMAX7456.h
 | 
			
		||||
 * @author Jens True (jens.chr.true@gmail.com)
 | 
			
		||||
 * @brief DisplayProxyMAX7456 header
 | 
			
		||||
 * @version 0.1
 | 
			
		||||
 * @date 2021-11-10
 | 
			
		||||
 * 
 | 
			
		||||
 * @copyright Copyright (c) 2021
 | 
			
		||||
 * 
 | 
			
		||||
 */
 | 
			
		||||
#ifndef DISPLAYPROXYMAX7456_H
 | 
			
		||||
#define DISPLAYPROXYMAX7456_H
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										13
									
								
								src/main.cpp
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								src/main.cpp
									
									
									
									
									
								
							@@ -1,9 +1,20 @@
 | 
			
		||||
/**
 | 
			
		||||
 * \file
 | 
			
		||||
 * @file main.cpp
 | 
			
		||||
 * @author Jens True (jens.chr.true@gmail.com)
 | 
			
		||||
 * @brief 
 | 
			
		||||
 * @version 0.1
 | 
			
		||||
 * @date 2021-11-10
 | 
			
		||||
 * @copyright Copyright (c) 2021
 | 
			
		||||
 * 
 | 
			
		||||
 * Main application entry point.
 | 
			
		||||
 * Arduino Style but still a .cpp file
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * \file
 | 
			
		||||
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include "Arduino.h"
 | 
			
		||||
 | 
			
		||||
#include "config.h"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user