sensor_get_info()

Retrieve information for the specified sensor.

Synopsis:

#include <sensor/libsensor.h>
 
int sensor_get_info(sensor_t *sensor, sensor_info_t *info)

Arguments:

sensor

The sensor to access.

info

A pointer to a location where the function can store the sensor information.

Library:

libsensor

Description:

Returns:

EOK on success, an errno value otherwise.

Last modified: 2013-12-21

comments powered by Disqus