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 const char * kShellPrompt = "AS> "
constexpr int kUartBufferSize = 128
constexpr int kMaxArguments = 5
constexpr int kMaxRowLength = 40

Enumeration Type Documentation

◆ AsciiKey

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

Definition at line 13 of file UARTCommandHandler.h.

Variable Documentation

◆ kMaxArguments

int kMaxArguments = 5
constexpr

Definition at line 22 of file UARTCommandHandler.h.

◆ kMaxRowLength

int kMaxRowLength = 40
constexpr

Definition at line 23 of file UARTCommandHandler.h.

◆ kShellPrompt

const char* kShellPrompt = "AS> "
constexpr

Definition at line 11 of file UARTCommandHandler.h.

◆ kUartBufferSize

int kUartBufferSize = 128
constexpr

Definition at line 21 of file UARTCommandHandler.h.