MetaWear C++ API  0.20.0
C++ implementation of the MetaWear protocol
Functions
anonymous_datasignal.h File Reference

Functions operating on the MblMwAnonymousDataSignal object. More...

#include "metawear/platform/dllmarker.h"
#include "anonymous_datasignal_fwd.h"
#include "data.h"

Go to the source code of this file.

Functions

METAWEAR_API void mbl_mw_anonymous_datasignal_subscribe (MblMwAnonymousDataSignal *signal, void *context, MblMwFnData data_handler)
 Subscribe to the data produced by the signal. More...
 
METAWEAR_API const char * mbl_mw_anonymous_datasignal_get_identifier (const MblMwAnonymousDataSignal *signal)
 Generates a string identifying the data chain the anonymous data signal is receiving data from. More...
 

Detailed Description

Functions operating on the MblMwAnonymousDataSignal object.

Function Documentation

◆ mbl_mw_anonymous_datasignal_get_identifier()

METAWEAR_API const char* mbl_mw_anonymous_datasignal_get_identifier ( const MblMwAnonymousDataSignal signal)

Generates a string identifying the data chain the anonymous data signal is receiving data from.

Returns
String identifying the data chain

◆ mbl_mw_anonymous_datasignal_subscribe()

METAWEAR_API void mbl_mw_anonymous_datasignal_subscribe ( MblMwAnonymousDataSignal signal,
void *  context,
MblMwFnData  data_handler 
)

Subscribe to the data produced by the signal.

Parameters
signalCalling object
contextPointer to additional data for the callback function
data_handlerCallback function to handle data received from the signal