STFLIB_ISP_SENSOR_GetSensorId

The API is described in the following sections.

Description

Get sensor ID from sensor name.

Syntax

The following code block shows the syntax of the API.
STFLIB_ISP_SENSOR_GetSensorId(
    const STF_CHAR *pszSensorName
    );

Parameter

The API has the following parameters.
Table 1. STFLIB_ISP_SENSOR_GetSensorId Parameter Description
Parameter Description Input/Output
pszSensorName Sensor name Input

Return

The API has the following return values.
Table 2. STFLIB_ISP_SENSOR_GetSensorId Return Description
Return Description
STF_S8 Return positive identifier or negative number if sensor cannot be found

Requirement

The files libSensorapi.a and libISPC.a are required for using this API.