|
MetaWear C++ API
0.18.0
C++ implementation of the MetaWear protocol
|
Adds additional information to the payload to facilitate packet reconstruction. More...
#include "processor_common.h"Go to the source code of this file.
Functions | |
| METAWEAR_API int32_t | mbl_mw_dataprocessor_accounter_create (MblMwDataSignal *source, void *context, MblMwFnDataProcessor processor_created) |
| Create an accounter for the input signal. More... | |
| METAWEAR_API int32_t | mbl_mw_dataprocessor_accounter_create_count (MblMwDataSignal *source, void *context, MblMwFnDataProcessor processor_created) |
| Create an accounter in code mode for the input signal. More... | |
Adds additional information to the payload to facilitate packet reconstruction.
| METAWEAR_API int32_t mbl_mw_dataprocessor_accounter_create | ( | MblMwDataSignal * | source, |
| void * | context, | ||
| MblMwFnDataProcessor | processor_created | ||
| ) |
Create an accounter for the input signal.
A pointer representing the processor will be passed back to the user via a callback function.
| source | Data signal providing the input for the processor |
| context | Pointer to additional data for the callback function |
| processor_created | Callback function to be executed when the processor is created |
| METAWEAR_API int32_t mbl_mw_dataprocessor_accounter_create_count | ( | MblMwDataSignal * | source, |
| void * | context, | ||
| MblMwFnDataProcessor | processor_created | ||
| ) |
Create an accounter in code mode for the input signal.
The count value is accessed through the MblMwData struct's extra field. A pointer representing the processor will be passed back to the user via a callback function.
| source | Data signal providing the input for the processor |
| context | Pointer to additional data for the callback function |
| processor_created | Callback function to be executed when the processor is created |
1.8.14