Gocator API > Go2 > Classes > Go2System > Functions > Go2System_ConnectData

Gocator 3x00 API | Contents | Reference | Previous | Up | Next

Go2System_ConnectData
Functions
Description

Connects to the sensor's data channel, to receive data messages.

C

    Go2Status Go2System_ConnectData(Go2System system, Go2DataCallback onData, Go2Handle context);

Parameters

Parameters | Description
Go2System system | Go2System object.
Go2DataCallback onData | Callback function to receive data data, or GO2_NULL (see remarks).
Go2Handle context | User context handle that will be passed to the data callback.

Returns

Operation status.

Remarks

If the onData callback is set to NULL, then the Go2System_ReceiveData function can be used to wait for data messages.

File

Go2System.h

Copyright (c) 2013 by LMI Technologies Inc. All rights reserved.
Contents | Reference