Get Address

The Get Address command is used to discover sensors across subnets.

Command

Field

Type

Offset

Description

length 64s 0 Command length.
type 64s 8 Command type (0x1).
signature 64s 16 Message signature (0x0000504455494D4C)
deviceId 64s 24 Serial number of the device whose address information is queried. 0 selects all devices.
Reply

Field

Type

Offset

Description

length 64s 0 Reply length.
type 64s 8 Reply type (0x1001).
status 64s 16 Operation status.
signature 64s 24 Message signature (0x0000504455494D4C)
deviceId 64s 32 Serial number.
dhcpEnabled 64s 40 0 – Disabled 1 – Enabled
reserved[4] byte 48 Reserved.
address[4] byte 52 The IP address in left to right order.
reserved[4] byte 56 Reserved.
subnetMask[4] byte 60 The subnet mask in left to right order.
reserved[4] byte 64 Reserved.
gateway[4] byte 68 The gateway address in left to right order.
reserved[4] byte 72 Reserved.
reserved[4] byte 76 Reserved.