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

Chapter 4

217