19#ifndef PROTOCORE_CONFIG_IO_H
20#define PROTOCORE_CONFIG_IO_H
24#if PROTOCORE_ENABLE_CONFIG_IO
34 PROTOCORE_CFG_STR = 0,
35 PROTOCORE_CFG_U32 = 1,
42 protocore_cfg_type type;
49 const protocore_cfg_field *fields;
59 const protocore_cfg_field *fields;
92 ConfigIoExportArgs export_args;
93 ConfigIoImportArgs import_args;
99extern ConfigIoVars ConfigIoV;
104 void (*
const export_lines)(
const uint8_t *work);
105 void (*
const import_lines)(
const uint8_t *work);
110void protocore_config_io_export(
const uint8_t *work);
111void protocore_config_io_import(
const uint8_t *work);
117static const ConfigIoNs ConfigIo __attribute__((unused)) = {
118 .export_lines = protocore_config_io_export,
119 .import_lines = protocore_config_io_import,
EMBED_ENUM_BYTE(ProtoConn, PROTO_NONE=0, PROTO_HTTP=1, PROTO_TELNET=2, PROTO_SSH=3, PROTO_MODBUS=4, PROTO_OPCUA=5, PROTO_SSH_RFWD=6, PROTO_RELAY=7, PROTO_BRIDGE=8, PROTO_NTRIP_CASTER=9, PROTO_MESH=10, PROTO_UDP=11,)
Application protocol spoken on a listener port or connection slot.