HP UX 11i v1 I/O Cards manual Data.portscret.status

Models: UX 11i v1 I/O Cards

1 298
Download 298 pages 31.75 Kb
Page 202
Image 202

ZCOM C I/F Library Routines

ZCONFIG (3X)

Response Data

data.portscret.iftno, data.portscret.portno, data.portscret.subchno

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

data.portscret.status

Completion status returned from port configuration:

 

< 0 - Standard ZCOM error PT_OK

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 in 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

PT_NO_BUF

(12) - Subchannel buffer required

PT_SC_ENB

(13) - Subchannel must be disabled

PT_BAD_TS

(14) - Timeslot is not permitted

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.

202

Chapter 4

Page 202
Image 202
HP UX 11i v1 I/O Cards manual Data.portscret.status