SManualTimeSetting manual;
SNTPTimeSetting ntp;
} STimeSetting;
/* SSyslogSetting */
// Note, these values are taken from manpage for syslog (3).
enum LogPriority {
SLOG_EMERG=0,
SLOG_ALERT,
SLOG_CRIT,
SLOG_ERR,
SLOG_WARNING,
SLOG_NOTICE,
SLOG_INFO,
SLOG_DEBUG,
};
enum AddressFormatType {
IP_TYPE,
HOSTNAME_TYPE,
};
Typedef struct _SyslogSetting {
int localLogLevel;
file.
Int useRemoteLog;
int addressingFormatType;
char remoteServerAddress[128];
int remoteServerPort;
} SSyslogSetting;
Typedef struct _systemStatus
{
// TBD
} SSystemStatus;
// system is unusable
// action must be taken immediately
// critical conditions
// error conditions
// warning conditions
// normal, but significant, condition
// informational message
// debug-level message
// Log with LogPriority value smaller than this is logged to local
// 0: disabled, 1: enabled
// IP address or FQDN of the syslog server
// Port number of the syslog server
102
Need help?
Do you have a question about the WFB-100A and is the answer not in the manual?
Questions and answers