Function sh2_getMetadata

Function Documentation

int sh2_getMetadata(sh2_SensorId_t sensorId, sh2_SensorMetadata_t *pData)

Get metadata related to a sensor.

Parameters:
  • sensorId – Which sensor to query.

  • pData – Pointer to structure to receive the results.

Returns:

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