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

Stationary device detection using time windows. More...

#include <stdint.h>
#include <zephyr/toolchain.h>
#include <infuse/algorithm_runner/runner.h>
#include <infuse/math/statistics.h>
#include <infuse/zbus/channels.h>

Go to the source code of this file.

Data Structures

struct  algorithm_stationary_windowed_config
 
struct  algorithm_stationary_windowed_data
 

Macros

#define ALGORITHM_STATIONARY_WINDOWED_DEFINE(name, loggers_, tdfs, window_seconds_, threshold_ug)
 Statically define an instance of the stationary windows algorithm.
 

Enumerations

enum  { ALGORITHM_STATIONARY_WINDOWED_LOG_WINDOW_STD_DEV = BIT(0) }
 

Functions

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

Detailed Description

Stationary device detection using time windows.

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

SPDX-License-Identifier: FSL-1.1-ALv2