Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Built-in Modules

Optional modules that extend the kernel with additional GClasses. Each module is controlled by a CONFIG_MODULE_* option in .config (enable/disable via menuconfig). All are enabled by default.

Source: modules/c/

Each module has its own page (see the navigation sidebar):

ModuleKconfigGClassesDescription
ConsoleCONFIG_MODULE_CONSOLEC_EDITLINEInteractive terminal line editing with history (based on linenoise). Used by ycli, ycommand and mqtt_tui.
ModbusCONFIG_MODULE_MODBUSC_PROT_MODBUS_MModbus protocol master — reads/writes device registers (coils, discrete inputs, input/holding registers). For industrial IoT.
MQTTCONFIG_MODULE_MQTTC_PROT_MQTT, C_PROT_MQTT2, C_MQTT_BROKERFull MQTT protocol implementation (v3.1.1 + v5.0) with a persistent message broker backed by TreeDB.
PostgresCONFIG_MODULE_POSTGRESC_POSTGRESPostgreSQL integration — async query execution with automatic JSON-to-SQL type mapping. Requires libpq.
TestCONFIG_MODULE_TESTC_PEPON, C_TESTONPaired test server/client for functional testing and traffic generation.