Function sh2_getSensorConfig

Function Documentation

int sh2_getSensorConfig(sh2_SensorId_t sensorId, sh2_SensorConfig_t *config)

Get sensor configuration.

Parameters:
  • sensorId – Which sensor to query.

  • config – SensorConfig structure to store results.

Returns:

SH2_OK (0), on success. Negative value from sh2_err.h on error.