sensor_interim_data_open()

Request a handle to access a logical interim data unit

Synopsis:

#include <sensor/sensor_interim_data.h>
sensor_error_t sensor_interim_data_open(sensor_interim_data_unit_t unit,
                                        sensor_handle_t *handle)

Arguments:

unit
The logical interim data unit to open.
handle
A pointer to the returned sensor handle if access is granted.

Library:

libsensor

Description:

You get a handle to either publish or subscribe to interim data by calling sensor_interim_data_open().

Returns:

SENSOR_EOK when the function successfully completes, otherwise another sensor_error_t value that provides the reason that the call failed.