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.

Comments<br />

Top of list<br />

Index page<br />

DI contains SCxxx hardware revision number HighByte and LowByte (if not available DI=0)<br />

The serial number is a 24 bit value.<br />

Interrupt 0xA0 service 0x01: Get IP address of the Ethernet interface<br />

Parameters<br />

AH<br />

Get the IP address as a string.<br />

Must be 1.<br />

ES:DX<br />

Pointer to a 16 byte memory area where the IP address is to be stored as a null terminated string.<br />

Related Topics<br />

Top of list<br />

Index page<br />

Ethernet IP address initial value<br />

Convert ASCII IP address to binary<br />

Interrupt 0xA0 service 0x02: Set IP address of the Ethernet interface<br />

Parameters<br />

AH<br />

Set the Ethernet interface's IP address based on the supplied string.<br />

Must be 2.<br />

ES:DX<br />

Pointer to a 16 byte memory area where the IP address is stored as a null terminated string.<br />

Comments<br />

A new IP configuration must be activated by calling the ipeth command<br />

or by calling the TCP/IP API interrupt 0xAC service 0x71 (RECONFIG_ETHERNET).<br />

Important:<br />

This API function writes to chip.ini and is not reentrant.<br />

Don't use in different tasks or in combination with <strong>@CHIP</strong>-<strong>RTOS</strong> commands,<br />

which are writing to chip.ini, e.g. DHCP. Avoid race conditions with<br />

any other API call which also writes or reads the chip.ini file.<br />

e.g. service 0x23<br />

Related Topics<br />

Top of list<br />

Index page<br />

TCP/IP API RECONFIG_ETHERNET service<br />

Ethernet IP address initial value<br />

IP command line<br />

Convert binary IP address to ASCII dotted decimal<br />

Page 81 / 400

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

Saved successfully!

Ooh no, something went wrong!