Enable or disable reduced reporting.
int sensor_set_reduced_reporting(sensor_t *sensor, bool enable)
The sensor to modify.
1 to enable reduced reporting, or 0 to disable it.
When reduced reporting is enabled, only a significant change between the last read event and the current unread event will cause an event to be delivered to the thread (e.g., duplicates are skipped, as are sensor changes that are insignificant). This is useful for clients who are only interested in significant changes. As the sensor will not be streaming data, enabling this feature will save power.
EOK on success, an errno value otherwise.
Last modified: 2013-12-21