Gocator API > Go2 > Classes > Go2System > Functions > Go2System_Discover
Gocator 1x00 API
Go2System_Discover
Description

Locates sensors and reports their network address settings.

C
Go2Status Go2System_Discover(Go2UInt32** deviceIds, Go2AddressInfo** addresses, Go2UInt32* count);
Parameters
Parameters 
Description 
Go2UInt32** deviceIds 
Receives device identifiers of discovered sensors. 
Go2AddressInfo** addresses 
Receives network address configurations of discovered sensors. 
Go2UInt32* count 
Receives count of detected sensors. 
Returns

Operation status.

Remarks

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

Use the Go2Free function to free the arrays created by this function.

File

Go2System.h

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