Gocator API > Go2 > Classes > Go2System > Functions > Go2System_Connect
Gocator 2x00 API
Go2System_Connect
Description

Connects to a sensor.

C
Go2Status Go2System_Connect(Go2System system, Go2IPAddress address);
Parameters
Parameters 
Description 
Go2System system 
Go2System object. 
Go2IPAddress address 
Sensor IP address. 
Returns

Operation status.

Remarks

This function assumes that the sensor is ready to accept a connection. But if the sensor has recently been repowered or reset, then this function may timeout. In this case, the Go2System_Reconnect function can be used to wait a reasonable amount of time for a recently repowered or reset sensor to initialize.

File

Go2System.h

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