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

Locates a Gocator sensor by id (serial number) and reports its network address settings.

C
Go2Status Go2System_GetAddress(Go2UInt32 deviceId, Go2AddressInfo* address);
Parameters
Parameters 
Description 
Go2UInt32 deviceId 
Serial number of the sensor. 
Go2AddressInfo* address 
Receives current address configuration if the sensor was found. 
Returns

Operation status.

Remarks

This function uses UDP broadcast messages to locate Gocator sensors. The sensors and client may be on different subnets.

File

Go2System.h

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