Connects to a sensor and logs in with the specified credentials.
Go2Status Go2System_Connect(Go2System system, Go2IPAddress address, Go2User user, const Go2Char* password);
|
Parameters |
Description |
|
Go2System system |
Go2System object. |
|
Go2IPAddress address |
Sensor IP address. |
|
Go2User user |
User account. |
|
const Go2Char* password |
User password. |
Operation status.
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.
Go2System.h