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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Interrupt 0xA0 service 0x03: Get IP subnet mask of the Ethernet interface<br />

Parameters<br />

AH<br />

Get the IP subnet mask as a string.<br />

Must be 3.<br />

ES:DX<br />

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

Related Topics<br />

Top of list<br />

Index page<br />

Ethernet IP subnet mask initial value<br />

Interrupt 0xA0 service 0x04: Set IP subnet mask<br />

Parameters<br />

AH<br />

Set the IP subnet mask to the string supplied<br />

Must be 4.<br />

ES:DX<br />

Pointer to a 16 byte memory area where the IP subnet mask 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 />

Ethernet IP subnet mask initial value<br />

NETMASK command line<br />

TCP/IP API documentation<br />

Interrupt 0xA0 service 0x05: Get IP gateway<br />

Parameters<br />

AH<br />

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

Must be 5.<br />

Page 82 / 400

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

Saved successfully!

Ooh no, something went wrong!