Gocator API > Go2 > Classes > Go2System > Functions > Go2System_ConnectHealth

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

Go2System_ConnectHealth
Functions
Description

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

C

    Go2Status Go2System_ConnectHealth(Go2System system, Go2HealthCallback onHealth, Go2Handle context);

Parameters

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

Returns

Operation status.

Remarks

If the onHealth callback is set to NULL, then the Go2System_ReceiveHealth function can be used to wait for health messages.

File

Go2System.h

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