SensorsCxSensorDataReady function (sensorscx.h)

This function notifies the class extension that the driver has retrieved data.

Syntax

void SensorsCxSensorDataReady(
  [in] SENSOROBJECT            Sensor,
  [in] PSENSOR_COLLECTION_LIST pSensorData
);

Parameters

[in] Sensor

A reference to a sensor object.

[in] pSensorData

A list of sensor properties. For more information, see SENSOR_COLLECTION_LIST.

Return value

None

Remarks

This function is implemented by the class extension and the driver must call it. When batch latency expires for sensor drivers that support data batching, SensorsCxSensorDataReady is called repeatedly until all the batched data samples are delivered to the client. For more information about the callback function related to batch latency, see EvtSensorSetBatchLatency.

Requirements

Requirement Value
Target Platform Desktop
Header sensorscx.h

See also