Reference Guide
ZCOM C I/F Library Routines
ZCONFIG (3X)
Chapter 4210
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:
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.
< 0 - Standard ZCOM error.
PT_OK (0) - No error (successful).
PT_INV_PORT (1) - Port number out of range.
PT_BAD_PARM (2) - Bad parameter.
PT_NOT_DSBL (3) - Some terminals on this port not disabled.
PT_BAD_BAUD (4) - Bad baud rate.
PT_ILL_SCLK (5) - Illegal clock source.
PT_ILL_PMODE (6) - Illegal port mode.
PT_BAD_PORT (7) - Port failed self test.
PT_NO_BREAK (8) - BREAK routine not available.
PT_BAD_XCLK (9) - Clock multiplier not compatible with
configuration mode.
PT_NO_PLL (10) - No DPLL available at this baud rate.
PT_TOO_FAST (11) - Async mode not valid for baud > 38400.