50 ip address, 1 bysetstaticipaddr, 2 bygetstaticipaddr – Kramer Electronics VP-790 User Manual

Page 64: 51 ip address type, 1 bysetdhcpstatus, Ip address, Ip address type

Advertising
background image

60

VP-790 Protocol - API Functions

2.50 IP Address

2.50.1 bySetStaticIPAddr

API index: 111
Sets the static IP address and saves the setting in the SPD immediately.

Input Parameters

Name

Type

Range

Description

Value

STRING

nnn.nnn.nnn.nnn

String with 15 ASCII

characters /0 terminated

Static IP address

Return Values

Name

Type

Range

Description

Status

BYTE

0x00-0xFF

0 if successful, error code otherwise

2.50.2 byGetStaticIPAddr

API index: 112
Retrieves the IP address from the SPD.

Input Parameters

Name

Type

Range

Description

None

Return Values

Name

Type

Range

Description

Status

BYTE

0x00-0xFF

0 if successful, error code otherwise

Value

STRING

nnn.nnn.nnn.nnn

String with 15 ASCII

characters /0 terminated

Static IP address

2.51 IP Address Type

2.51.1 bySetDHCPStatus

API index: 115
Choose between IP address type static or DHCP leased and saves the setting in

the SPD immediately.

Input Parameters

Name

Type

Range

Description

Value

UWORD32

0: Static

1: DHCP

IP address type

Return Values

Name

Type

Range

Description

Status

BYTE

0x00-0xFF

0 if successful, error code otherwise

Advertising