Functions in libsensor.h
Functions that are available to work with sensors.
sensor_new()
Create a new sensor of the type specified.
sensor_delete()
Delete a sensor, freeing memory and allowing the sensor to be powered down.
sensor_event_notify()
Set up the notification method for a sensor.
sensor_event_notify_rearm()
Rearm the system with the cached sigevent.
sensor_exists()
Check for sensor existence.
sensor_history_pressure()
Retrieve pressure sensor history.
sensor_pause()
Suspend the delivery of events from the sensor to the thread.
sensor_resume()
Resume the delivery of events from the sensor to the thread.
sensor_set_delay()
Set the sensor delay between events.
sensor_get_delay()
Get the sensor delay between events.
sensor_set_queue()
Enable or disable the sensor queue.
sensor_set_batching()
Enable or disable batching mode.
sensor_set_background()
Enable or disable background mode.
sensor_set_reduced_reporting()
Enable or disable reduced reporting.
sensor_get_info()
Retrieve information for the specified sensor.
sensor_get_event()
Retrieve the latest event from the sensor, if available.
sensor_wait_event()
Wait for the latest event from the sensor.
Parent topic:
Sensor control (libsensor.h)