Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
runner.h File Reference

Infuse-IoT algorithm runner. More...

#include <stdint.h>
#include <zephyr/toolchain.h>
#include <zephyr/sys/slist.h>
#include <zephyr/zbus/zbus.h>

Go to the source code of this file.

Data Structures

struct  algorithm_runner_common_config
 
struct  algorithm_runner_algorithm
 

Typedefs

typedef void(* algorithm_run_fn) (const struct zbus_channel *chan, const void *config, void *data)
 Algorithm implementation.
 

Functions

void algorithm_runner_init (void)
 Initialise the algorithm runner.
 
void algorithm_runner_register (struct algorithm_runner_algorithm *algorithm)
 Register an algorithm with the runner.
 
bool algorithm_runner_unregister (struct algorithm_runner_algorithm *algorithm)
 Unregister an algorithm from the runner.
 
void algorithm_runner_tdf_log (const struct algorithm_runner_common_config *config, uint8_t tdf_mask, uint16_t tdf_id, uint8_t tdf_len, uint64_t time, const void *data)
 Log a single TDF as requested by algorithm configuration.
 

Detailed Description

Infuse-IoT algorithm runner.

Author
Jordan Yates jorda.nosp@m.n@em.nosp@m.beint.nosp@m..com

SPDX-License-Identifier: FSL-1.1-ALv2