|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Infuse-IoT Algorithm implementation API. More...
Data Structures | |
| struct | infuse_algorithm |
| Algorithm definition. More... | |
Macros | |
| #define | ALGORITHM_EXPORT(symbol) |
| Export algorithm implementation. | |
Typedefs | |
| typedef void(* | algorithm_run_fn) (const struct zbus_channel *chan, const struct infuse_algorithm *algorithm, const void *args) |
| Algorithm implementation. | |
Infuse-IoT Algorithm implementation API.
| #define ALGORITHM_EXPORT | ( | symbol | ) |
#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/algorithms/implementation.h>
Export algorithm implementation.
| symbol | Instance of infuse_algorithm to export |
| typedef void(* algorithm_run_fn) (const struct zbus_channel *chan, const struct infuse_algorithm *algorithm, const void *args) |
#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/algorithms/implementation.h>
Algorithm implementation.
| chan | Channel pointer corresponding to zbus_channel in infuse_algorithm. Value is NULL on the very first call to initialise data structures. |
| algorithm | Pointer to algorithm config |
| args | Pointer to algorithm specific arguments |