|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
#include <PluginManifest.h>
Public Attributes | |
| bool | wifi = false |
| bool | ble = false |
| bool | http = false |
| bool | socket = false |
| bool | ui_exclusive = false |
| bool | display_lowlevel = false |
| bool | sao = false |
| bool | grove = false |
| bool | pixel_strip = false |
| bool | background = false |
| Keep running and ticking in the background after the user leaves the plugin's view, instead of being unloaded. Not a boot flag: the user still starts the plugin manually. See autoload for boot loading. | |
| bool | usb_cdc = false |
| bool | prevent_sleep = false |
| bool | vfat = false |
| Allow sandboxed file access on the plugins FAT partition via the host_fs_* API. The plugin can only touch files in its own private folder (/plugins/data/<id>/); paths are confined host-side. | |
| bool | autoload = false |
| Start this plugin as a resident background instance at badge boot. Plugins without this flag stay unloaded until started manually. Orthogonal to background, which only governs survival after the user leaves the view. | |
| std::vector< std::string > | rmem |
| std::vector< std::string > | ecc |
| std::vector< std::string > | ble_service_uuids |
| std::vector< std::string > | message_types |
| std::vector< uint8_t > | gpio_pins |
| std::vector< uint8_t > | pwm_pins |
| std::vector< uint8_t > | adc_pins |
| std::vector< uint8_t > | i2c_bus |
| std::string | nvs_namespace |
Definition at line 21 of file PluginManifest.h.
| std::vector<uint8_t> cdc::plugin_manager::PluginCapabilities::adc_pins |
Definition at line 61 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities(), and cdc::plugin_manager::CapabilityChecker::validate().
| bool cdc::plugin_manager::PluginCapabilities::autoload = false |
Start this plugin as a resident background instance at badge boot. Plugins without this flag stay unloaded until started manually. Orthogonal to background, which only governs survival after the user leaves the view.
Definition at line 51 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities().
| bool cdc::plugin_manager::PluginCapabilities::background = false |
Keep running and ticking in the background after the user leaves the plugin's view, instead of being unloaded. Not a boot flag: the user still starts the plugin manually. See autoload for boot loading.
Definition at line 36 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities().
| bool cdc::plugin_manager::PluginCapabilities::ble = false |
Definition at line 23 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities().
| std::vector<std::string> cdc::plugin_manager::PluginCapabilities::ble_service_uuids |
Definition at line 55 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities(), and cdc::plugin_manager::CapabilityChecker::validate().
| bool cdc::plugin_manager::PluginCapabilities::display_lowlevel = false |
Definition at line 27 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities().
| std::vector<std::string> cdc::plugin_manager::PluginCapabilities::ecc |
Definition at line 54 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities(), and cdc::plugin_manager::CapabilityChecker::validate().
| std::vector<uint8_t> cdc::plugin_manager::PluginCapabilities::gpio_pins |
Definition at line 59 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities(), and cdc::plugin_manager::CapabilityChecker::validate().
| bool cdc::plugin_manager::PluginCapabilities::grove = false |
Definition at line 29 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities().
| bool cdc::plugin_manager::PluginCapabilities::http = false |
Definition at line 24 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities().
| std::vector<uint8_t> cdc::plugin_manager::PluginCapabilities::i2c_bus |
Definition at line 62 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities(), and cdc::plugin_manager::CapabilityChecker::validate().
| std::vector<std::string> cdc::plugin_manager::PluginCapabilities::message_types |
MIME types this plugin handles for badge-to-badge message transfer. A non-empty list implies messaging; sending also requires ble.
Definition at line 58 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities().
| std::string cdc::plugin_manager::PluginCapabilities::nvs_namespace |
Definition at line 63 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities(), and cdc::plugin_manager::CapabilityChecker::validate().
| bool cdc::plugin_manager::PluginCapabilities::pixel_strip = false |
Definition at line 30 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities().
| bool cdc::plugin_manager::PluginCapabilities::prevent_sleep = false |
Definition at line 38 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities().
| std::vector<uint8_t> cdc::plugin_manager::PluginCapabilities::pwm_pins |
Definition at line 60 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities(), and cdc::plugin_manager::CapabilityChecker::validate().
| std::vector<std::string> cdc::plugin_manager::PluginCapabilities::rmem |
Definition at line 53 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities(), and cdc::plugin_manager::CapabilityChecker::validate().
| bool cdc::plugin_manager::PluginCapabilities::sao = false |
Definition at line 28 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities().
| bool cdc::plugin_manager::PluginCapabilities::socket = false |
Definition at line 25 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities().
| bool cdc::plugin_manager::PluginCapabilities::ui_exclusive = false |
Definition at line 26 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities().
| bool cdc::plugin_manager::PluginCapabilities::usb_cdc = false |
Definition at line 37 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities().
| bool cdc::plugin_manager::PluginCapabilities::vfat = false |
Allow sandboxed file access on the plugins FAT partition via the host_fs_* API. The plugin can only touch files in its own private folder (/plugins/data/<id>/); paths are confined host-side.
Definition at line 44 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities().
| bool cdc::plugin_manager::PluginCapabilities::wifi = false |
Definition at line 22 of file PluginManifest.h.
Referenced by cdc::plugin_manager::parse_capabilities().