CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
CommandRegistry.cpp File Reference
#include "serial_cmd/ICommandRegistry.h"
#include "serial_cmd/Console.h"
#include "cdc_core/feature_flags.h"
#include "cdc_core/PinManager.h"
#include "cdc_log.h"
#include <cstdio>
#include <cstring>
#include <cctype>

Go to the source code of this file.

Classes

class  cdc::serial::CommandRegistry

Namespaces

namespace  cdc
namespace  cdc::serial

Functions

ICommandRegistrycdc::serial::getCommandRegistry ()
 Returns singleton command-registry interface.

Variables

static const char * TAG = "CMDREGS"
static constexpr size_t cdc::serial::MAX_COMMANDS = 64
 Maximum number of commands that can be registered.

Variable Documentation

◆ TAG

const char* TAG = "CMDREGS"
static

Command Registry Implementation Manages registered commands and dispatches to handlers

Definition at line 15 of file CommandRegistry.cpp.