nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches

◆ ei_wrapper_get_anomaly()

int ei_wrapper_get_anomaly ( float * anomaly)

#include <include/ei_wrapper.h>

Get anomaly value.

This function can be executed only from the wrapper's callback context. Otherwise it returns a (negative) error code.

Parameters
[out]anomalyPointer to the variable that is used to store the anomaly.
Return values
0On success.
-EACCESIf function is executed from other context that the wrapper's callback.
-ENOTSUPIf calculating anomaly value is not supported.