01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

AH<br />

AL<br />

0x72 (= DHCP_USE)<br />

0: DHCP not used, 1:DHCP_USE<br />

Return Value<br />

-- none --<br />

Comments<br />

Top of list<br />

Index page<br />

This entry becomes valid only after rebooting the system or after calling function 0x71.<br />

If DHCP is changed from 1 to 0 then a new IP address, subnet mask and gateway should be set with the<br />

prompt commands ip, netmask and gateway or with the <strong>@CHIP</strong>-<strong>RTOS</strong> API interrupt 0xA0 services 0x02,<br />

0x04, 0x06.<br />

Interrupt 0xAC service 0x73: DHCP_STAT, Get DHCP status of the Ethernet interface<br />

Parameters<br />

AH<br />

Gets the DHCP status of the Ethernet interface.<br />

0x73 (= DHCP_STAT)<br />

Return Value<br />

Comments<br />

Top of list<br />

Index page<br />

AX: 1 System uses DHCP, AX:0 DHCP is not used<br />

DX: 0 System is not configured (is in progress)<br />

DX: 1 System is configured by a DHCP Server<br />

DX: 2 System configure retry failed (or no retry started before)<br />

If DX == 1 ES:DI points to a UserEthDhcp_Entry data structure which contains the received DHCP<br />

configuration data.<br />

The returned DHCP configuration data must be treated by the user as read-only information. Do not write to<br />

this data structure!<br />

Interrupt 0xAC service 0x74: TCPIP_STATISTICS, Access packet counters<br />

This function returns the address of a structure which contains pointers to network packet counters.<br />

Page 136 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!