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, represented as a sensor_interim_data_unit_t value.
- handle
- A pointer to memory for storing the data unit handle if access is granted.
Library:
libsensorDescription:
This function provides a handle so you can either publish or subscribe to interim data.
Returns:
SENSOR_EOK when the function successfully completes, otherwise another sensor_error_t value that provides the reason that the call failed.
Page updated:
