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.

DS:SI<br />

CX<br />

6 Get pointer to AtEntry data structure (only of the internal Ethernet device interface)<br />

7 Get array of far pointers to IfMib entries of all current open TCP/IP device interfaces.<br />

(Local Loopback, Ethernet, PPP server, PPP client)<br />

8 Get far pointer to unsigned long sysuptime variable (10 Hz counter).<br />

If parameter AL==7, ES:DI must contain the address of a buffer into which up to CX far pointers to IpMib data<br />

structures can be reported by this API.<br />

If parameter AL==7, CX specifies the number of far pointers (capacity) which the user buffer at [DS:SI] can<br />

hold.<br />

Return Value<br />

Comments<br />

Top of list<br />

Index page<br />

DX != 0 AX != 0 : <strong>@CHIP</strong>-<strong>RTOS</strong> without internal SNMP MIB variables<br />

DX = AX = 0 ES:DI contains a pointer to the structure unless input parameter AH was 7,<br />

in which case the user provided array (still addressed by DS:SI) contains the far pointers to the<br />

IfMibentries of the currently installed device interfaces. CX is set to indicate the total number of<br />

currently installed devices. If CX is less than it was on entry, then the reported list of pointers is not<br />

complete due to lack of user buffer space.<br />

If this API call is used with AL==1-6, or 8, the pointers are granting direct access to the internal TCP/IP stack<br />

counters. It's recommended to execute these calls only one time at the start of your application.<br />

For AL=7, the API call returns the pointers to the interface variables for the currently installed device<br />

interfaces. To maintain an up to date array of pointers for all currently opened device interfaces, it is<br />

necessary to periodically request (e.g. every 10 seconds) the array of pointers.<br />

Note: These structures are only available in <strong>@CHIP</strong>-<strong>RTOS</strong> versions which contain the SNMP option.<br />

A SNMP agent is not part of the <strong>@CHIP</strong>-<strong>RTOS</strong>. But if a user is able to implement an agent based on<br />

the TCP/IP API, they need access to the internal TCP/IP SNMP variables. The SNMP MIB variables are<br />

not a part of our current official 6 <strong>@CHIP</strong>-<strong>RTOS</strong> versions. It is necessary to order directly a <strong>@CHIP</strong>-<br />

<strong>RTOS</strong> version which includes this feature.<br />

Interrupt 0xAC service 0x65: API_FTP_GET_LOGIN, Get FTP server login counters<br />

Parameters<br />

AH<br />

Accesses the FTP server login counters.<br />

0x65 (= API_FTP_GET_LOGIN)<br />

Return Value<br />

DX != 0 AX != 0 : <strong>@CHIP</strong>-<strong>RTOS</strong> doesn't support FTP server<br />

DX = AX = 0<br />

ES:DI contains the address of the 32 Bit (unsigned long) login counter<br />

DS:SI contains the address of the 32 Bit (unsigned long) login fail counter<br />

Page 133 / 400

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

Saved successfully!

Ooh no, something went wrong!