Gocator API
|
kStatus GoSensor_SetDataHandler | ( | GoSensor | sensor, |
GoSensorDataSetFx | function, | ||
kPointer | context | ||
) |
Sets the data callback function to be used upon receipt of data.
sensor | GoSensor object. |
function | The function pointer to use when data has been received from the sensor. Send kNULL to revert back to the GoSystem data set storage behavior. |
context | The context to use with the function pointer. |