Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Core validation API

Macros

#define VALIDATION_REPORT_INFO(system, fmt, ...)
 Information report.
#define VALIDATION_REPORT_VALUE(system, name, fmt, ...)
 Value report.
#define VALIDATION_REPORT_ERROR(system, fmt, ...)
 Failure report.
#define VALIDATION_REPORT_PASS(system, fmt, ...)
 Pass report.

Detailed Description

Macro Definition Documentation

◆ VALIDATION_REPORT_ERROR

#define VALIDATION_REPORT_ERROR ( system,
fmt,
... )

#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/validation/core.h>

Value:
_VALIDATION_REPORT(system, "ERROR", fmt, __VA_ARGS__)

Failure report.

Parameters
systemComponent being validated
fmtReport format string
...Format string parameters

◆ VALIDATION_REPORT_INFO

#define VALIDATION_REPORT_INFO ( system,
fmt,
... )

#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/validation/core.h>

Value:
_VALIDATION_REPORT(system, "INFO", fmt, __VA_ARGS__)

Information report.

Parameters
systemComponent being validated
fmtReport format string
...Format string parameters

◆ VALIDATION_REPORT_PASS

#define VALIDATION_REPORT_PASS ( system,
fmt,
... )

#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/validation/core.h>

Value:
_VALIDATION_REPORT(system, "PASS", fmt, __VA_ARGS__)

Pass report.

Parameters
systemComponent being validated
fmtReport format string
...Format string parameters

◆ VALIDATION_REPORT_VALUE

#define VALIDATION_REPORT_VALUE ( system,
name,
fmt,
... )

#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/validation/core.h>

Value:
printk("%06d:%s:VAL:" name ":" fmt "\n", k_uptime_get_32(), system, __VA_ARGS__)
void printk(const char *fmt,...)
printk.h: See printk

Value report.

Parameters
systemComponent being validated
nameName of the value
fmtFormat specifier for value
...Value