Server API reference › API reference › API implementation and reference
CimIDSensor- Global
The CimIDSensor script include provides methods to perform identification for Common Information Model (CIM) probe results.
Use in any server-side script to perform identification of CIM probe results.
Parent Topic:Server API reference
Configures a triggered probe before it is launched.
| Name | Type | Description |
|---|
| probe | String | An already configured probe that is ready to fire. |
| Type | Description |
|---|
| Boolean | True to fire this probe, false to skip it. |
CimIDSensor - getInstanceHashToken()
Gets the instance hash token.
| Type | Description |
|---|
| String | The hash token |
CimIDSensor - prepare()
Prepares the probe results.
CimIDSensor - process(Object results, CimCIData cimData, CimIDSensor sensor)
Processes all CIM probe query results for a CIM ID sensor.
| Name | Type | Description |
|---|
| results | Object | The query results |
| cimData | CimCIData | The CI data of the device being identified. |
| sensor | CimIDSensor | The wrapping sensor, extends CimIDSensor |
CimIDSensor - runMultiProbeScript(String script, Object probeResult, String probeRecord)
Runs a multi-probe script against a probe result.
| Name | Type | Description |
|---|
| script | String | The script |
| probeResult | Object | The probe result |
| probeRecord | String | The probe ID |
CimIDSensor - updateDeviceCount()
Updates the device count.