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.

Bits of AX and DX contains the requested information<br />

AX:<br />

DX:<br />

Top of list<br />

Index page<br />

Bit=0 service or device is not available.<br />

Bit=1 service or device is available.<br />

Bit 0: Ethernet device<br />

Bit 1: PPP server<br />

Bit 2: PPP client<br />

Bit 3: Web server<br />

Bit 4: Telnet server<br />

Bit 5: FTP server<br />

Bit 6: TFTP server<br />

Bit 7: DHCP client<br />

Bit 0: SNMP MIB variables support<br />

Bit 1: UDP Config server<br />

Bit 2: Ping client<br />

Interrupt 0xAC service 0x71: RECONFIG_ETHERNET, Reconfigure Ethernet interface<br />

Parameters<br />

AH<br />

Reconfigures Ethernet interface, e.g. after changing the IP configuration<br />

0x71 (= RECONFIG_ETHERNET)<br />

Return Value<br />

Comments<br />

Top of list<br />

Index page<br />

AX:0 success<br />

else restart failed (should not happen). Error code 237 indicates<br />

that an Ethernet interface configuration was already in progress.<br />

A new IP configuration set with the prompt commands ip, netmask and gateway (or the corresponding<br />

<strong>@CHIP</strong>-<strong>RTOS</strong> API calls) becomes valid after a successful call to this function.<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<br />

services 0x02, 0x04, 0x06 before using this function.<br />

Interrupt 0xAC service 0x72: DHCP_USE, Enable/Disable DHCP usage<br />

Parameters<br />

Set/Reset DHCP usage by the Ethernet interface.<br />

Page 135 / 400

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

Saved successfully!

Ooh no, something went wrong!