sensor_interim_data_start()
Enable publishing of interim data
Synopsis:
#include <sensor/sensor_interim_data.h>sensor_error_t sensor_interim_data_start(sensor_handle_t handle)Arguments:
- handle
- The handle that's returned from calling sensor_interim_data_open().
Library:
libsensorDescription:
For a publisher, this function makes publishing data possible by allocating the buffers to the pool. A publisher needs to call this function before calling sensor_interim_data_alloc() and sensor_interim_data_publish() to publish 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:
