Avionics
Core avionics package for CURE flight computers
Loading...
Searching...
No Matches
UARTCommandHandler.h File Reference
#include <functional>
#include <queue>
#include <string>
#include <vector>
#include "ArduinoHAL.h"
Include dependency graph for UARTCommandHandler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CommandLine
 Lightweight UART command-line interface with history and parsing. More...

Enumerations

enum class  AsciiKey : uint8_t {
  Escape = 27 , UpArrow = 65 , DownArrow = 66 , Backspace = 8 ,
  Delete = 127
}

Variables

constexpr int UART_BUFFER_SIZE = 128
constexpr int MAX_HISTORY = 20
constexpr int MAX_ARGUMENTS = 5
constexpr int MAX_ROW_LENGTH = 40

Enumeration Type Documentation

◆ AsciiKey

enum class AsciiKey : uint8_t
strong
Enumerator
Escape 
UpArrow 
DownArrow 
Backspace 
Delete 

Definition at line 11 of file UARTCommandHandler.h.

Variable Documentation

◆ MAX_ARGUMENTS

int MAX_ARGUMENTS = 5
constexpr

Definition at line 21 of file UARTCommandHandler.h.

◆ MAX_HISTORY

int MAX_HISTORY = 20
constexpr

Definition at line 20 of file UARTCommandHandler.h.

◆ MAX_ROW_LENGTH

int MAX_ROW_LENGTH = 40
constexpr

Definition at line 22 of file UARTCommandHandler.h.

◆ UART_BUFFER_SIZE

int UART_BUFFER_SIZE = 128
constexpr

Definition at line 19 of file UARTCommandHandler.h.