sensor_close()
Discontinue using a logical sensor on the device
Synopsis:
#include <sensor/sensor_api.h>sensor_error_t sensor_close(sensor_handle_t handle)Arguments:
- handle
- The handle that's returned from calling sensor_open().
Library:
libsensorDescription:
Call this function to discontinue using a logical sensor unit. Any internal resources associated with this previously opened sensor unit are freed.
Returns:
SENSOR_EOK when the function successfully completes, otherwise another sensor_error_t value that provides the reason that the call failed.
Page updated:
