beautypg.com

24 lau_config_getdhcpmode (0x0108), Dhcp mode, Lau_config_getdhcpmode (0x0108) – Beijer Electronics SCOM Protocol EN User Manual

Page 59

background image

Command Reference

Beijer Electronics, MAEN975

59

6.24 LAU_CONFIG_GETDHCPMODE (0x0108)

DHCP Mode

Returns the DHCP mode. The DHCP mode indicates, whether the monitor should
communicate with a DHCP server to dynamically get an IP address. If a DHCP serv-
er should be used, but there is no server or free IP addresses available, the configured
static IP address is used. This is also true, if no DHCP server should be used.

Supported since Firmware Version
MT230 Nautic Monitor: 1.0

Command Stream

Response Message (Acknowledge)

Response Message (Negative Acknowledge)
Under normal operation conditions, a device never sends a negative acknowledge in
response to this command.

Maximum Lr for this Command
9

Example
Check, whether the monitor at address 0.7 (group 0, address 7) should use a DHCP
server to get an IP-address:

According to the data returned by the monitor at address 0.7 (group 0, address 7),
the monitor uses a DHCP server, if available:

0

1

2

3

4

5

6

7...8

9

0x07

ADR

0x4C

0x41

0x55

0x02

ICHKH 0x01

0x08

ICHKD

0

1

2

3

4

5

6

7

8

0x06

ADR

0x4C

0x41

0x55

0x01

ICHKH

Ret

ICHKD

Ret

Value:

0x00: Monitor is configured not to use a DHCP server
0x01: Monitor is configured to use a DHCP server

Type:

Byte

Length:

1

Description: Indicates whether the monitor should use a DHCP server

0

1

2

3

4

5

6

7...8

9

0x07

0x07

0x4C

0x41

0x55

0x02

0x0D

0x01

0x08

0xF6

0

1

2

3

4

5

6

7

8

0x06

0x07

0x4C

0x41

0x55

0x01

0x0F

0x01

0xFE