CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
src Directory Reference

Files

 
CapabilityChecker.cpp
 
GpioSerialCommands.cpp
 Native serial mini-module for direct GPIO / ADC / I2C poking.
 
HexUtil.h
 Hex-digit decoding shared by the plugin_manager source files.
 
host_api_ble.cpp
 BLE host API for plugins: read-only state, a single reserved GATT server service (peripheral), and the central (GATT client) role.
 
host_api_canvas.cpp
 extern-C adapter for the plugin canvas view.
 
host_api_cmd.cpp
 Plugin command channel - the plugin pulls a host-pushed command string buffered by PluginManager during a plugin_on_cmd dispatch.
 
host_api_crypto.cpp
 Crypto + encoding host APIs - mbedTLS wrappers + TROPIC01 TRNG.
 
host_api_display.cpp
 Low-level framebuffer drawing for plugins.
 
host_api_event.cpp
 EventBus subscribe/unsubscribe/publish for plugins.
 
host_api_fs.cpp
 Sandboxed file storage for plugins on the plugins FAT partition.
 
host_api_gpio.cpp
 GPIO / PWM / ADC / I2C / SAO host API with capability + pin-lock.
 
host_api_http.cpp
 HTTP client wrapper over esp_http_client.
 
host_api_i18n.cpp
 Manifest-driven i18n lookups for the currently active plugin.
 
host_api_keypad.cpp
 Direct keypad polling for plugins (thin wrapper over IKeypad).
 
host_api_lockscreen.cpp
 Lockscreen quick-action registry exposed to plugins.
 
host_api_log.cpp
 Real implementation of host_log / host_log_hex.
 
host_api_msg.cpp
 Message-transfer host API for plugins: register MIME handlers, pull a received payload, and push a typed payload to a nearby badge.
 
host_api_nvs.cpp
 Plugin-namespaced NVS key/value storage.
 
host_api_pixel_strip.cpp
 Addressable pixel strip host API (WS2811/WS2812/WS2813/SK6812).
 
host_api_power.cpp
 Real implementations of the power-state host API.
 
host_api_se.cpp
 TROPIC01 SecureElement host API with per-call slot capability checks.
 
host_api_socket.cpp
 Outbound TCP / UDP client sockets for plugin network protocols.
 
host_api_strings.cpp
 WAMR-facing wrappers around the plugin-boundary string codecs.
 
host_api_sysinfo.cpp
 Firmware identity / feature flags. Plugins use these to gate on the runtime they are loaded into - e.g. show a different UI for debug builds, or refuse to run on incompatible firmware revisions.
 
host_api_time.cpp
 Real implementations of the time-related host API functions.
 
host_api_ui.cpp
 Real implementations for the UI subset that plugins use most.
 
host_api_ui_views.cpp
 extern-C adapter that forwards plugin UI calls to PluginUiState.
 
host_api_usb.cpp
 Raw USB-CDC TX for plugins (thin wrapper over usb_badge usb_cdc).
 
host_api_wifi.cpp
 WiFi host API - hold-counted acquire/release.
 
host_str_conv.cpp
 Implementation of the plugin-boundary UTF-8 <-> CP437 helpers.
 
host_str_conv.h
 Internal UTF-8 <-> CP437 helpers for the plugin host API boundary.
 
Plugin.cpp
 
plugin_log_bridge.cpp
 cdc_log bridge for the plugin manager translation units that need to coexist with wasm_export.h.
 
PluginInfoView.cpp
 
PluginListView.cpp
 
PluginManager.cpp
 
PluginManifest.cpp
 
PluginSerialCommands.cpp
 Serial console commands for managing installed plugins: LIST, INFO, START, STOP, ENABLE, DISABLE, DELETE, UPLOAD.
 
PluginStorage.cpp
 
PluginUiState.cpp
 
Prerequisites.cpp
 
WamrImports.cpp
 NativeSymbol table bound under WAMR module "cdc".