Create a new sensor of the type specified.
sensor_t* sensor_new(sensor_type_e sensor_type)
The sensor type you wish to create a handle for. Sensor types are defined in sensor/sensor.h.
Library:libsensor (For the qcc command, use the -l sensor option to link against this library)
sensor_t* A pointer to the sensor if successful, otherwise NULL. You'll need to pass this handle to many of the sensor functions.
Last modified: 2014-05-14