Gocator API > Go2 > Classes > Go2System > Functions > Go2System_SetAddress

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

Go2System_SetAddress
Functions
Description

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

C

    Go2Status Go2System_SetAddress(Go2UInt32 deviceId, const Go2AddressInfo* address);

Parameters

Parameters | Description
Go2UInt32 deviceId | Serial number of the sensor.
const Go2AddressInfo* address | New address configuration for the sensor.

Returns

Operation status.

Remarks

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

This command can be called for any sensor across any Gocator firmware without an explicit connection attempt.

Calling this function will result in writing operations to flash storage. Should the process be disrupted due to power loss or other factors, the sensor may enter Rescue mode.

File

Go2System.h

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