ZCOM C I/F Library Routines

ZCONFIG (3X)

data.portret.iftno

data.portret.portno

These are the interface and port numbers as supplied in the original configuration data (request). They indicate the interface and port whose configuration has been modified.

data.portret.status

Completion status returned from port configuration:

PT_OK

PT_INV_PORT PT_BAD_PARM PT_NOT_DSBL PT_BAD_BAUD PT_ILL_SCLK PT_ILL_PMODE PT_BAD_PORT PT_NO_BREAK PT_BAD_XCLK

PT_NO_PLL PT_TOO_FAST

<0 - Standard ZCOM error.

(0)- No error (successful).

(1)- Port number out of range.

(2)- Bad parameter.

(3)- Some terminals on this port not disabled.

(4)- Bad baud rate.

(5)- Illegal clock source.

(6)- Illegal port mode.

(7)- Port failed self test.

(8)- BREAK routine not available.

(9)- Clock multiplier not compatible with configuration mode.

(10)- No DPLL available at this baud rate.

(11)- Async mode not valid for baud > 38400.

The error or status message text may be fetched using zcomstatus (3X) with req = ZCOM_MRQCODE_PORT (or 14) and the return status. Note that status codes PT_BAD_BAUD, PT_ILL_SCLK, PT_ILL_PMODE, and PT_BAD_PORT imply the associated port is now inoperative. Another port configuration request must be performed to recover it.

210

Chapter 4

Page 210
Image 210
HP Advanced Communications Controllers (ACC) manual Data.portret.iftno Data.portret.portno, Data.portret.status