CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
PluginSerialCommands.h File Reference

Serial console PLUGIN command bundle. Call once from main.cpp after PluginManager::init() to expose LIST/INFO/UPLOAD/DELETE/ START/STOP via USB-CDC. More...

#include <cstddef>
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  cdc
namespace  cdc::plugin_manager

Functions

void cdc::plugin_manager::registerPluginSerialCommands ()
bool cdc::plugin_manager::beginFileReceive (const char *abs_path, size_t size, uint32_t crc)
 Receive a file over USB-CDC into the plugins partition.

Detailed Description

Serial console PLUGIN command bundle. Call once from main.cpp after PluginManager::init() to expose LIST/INFO/UPLOAD/DELETE/ START/STOP via USB-CDC.

Definition in file PluginSerialCommands.h.