MetaWear C++ API  0.18.0
C++ implementation of the MetaWear protocol
Functions
fuser.h File Reference

Combine data from multiple data sources into 1 data packet. More...

#include "processor_common.h"

Go to the source code of this file.

Functions

METAWEAR_API int32_t mbl_mw_dataprocessor_fuser_create (MblMwDataSignal *source, MblMwDataSignal **ops, uint32_t n_ops, void *context, MblMwFnDataProcessor processor_created)
 Create a fuser processor. More...
 

Detailed Description

Combine data from multiple data sources into 1 data packet.

Function Documentation

◆ mbl_mw_dataprocessor_fuser_create()

METAWEAR_API int32_t mbl_mw_dataprocessor_fuser_create ( MblMwDataSignal source,
MblMwDataSignal **  ops,
uint32_t  n_ops,
void *  context,
MblMwFnDataProcessor  processor_created 
)

Create a fuser processor.

A pointer representing the processor will be passed back to the user via a callback function.

Parameters
sourceData signal providing the input for the processor
opsArray of data signals to combine into 1 message
n_opsNumber of items in the array
contextPointer to additional data for the callback function
processor_createdCallback function to be executed when the processor is created