Using HDLC.FRAME Protocol

Status and Error Messages

Receive Completion Status Codes1

If the BADFR bit is not set in the configuration, all messages received by the application from HDLC.FRAME will have a status code of zero. Received messages that have errors will not be returned by the protocol. See Chapter 4 , “Protocol Specific Configuration.”

If the BADFR bit is set, all messages, regardless of whether or not they have errors, are received by the application from HDLC.FRAME. In this case the following status codes are used.

Receive

Description

Status Code

 

 

 

IO_OK

No error detected.

 

Normal communications have been established or

 

resumed.

 

 

IO_LONG_MSG

Message too long

(not Z7340A)

A received frame was too large to be buffered.

 

 

 

IO_RX_BUF

No receive buffers.

(not Z7340A)

The protocol has run out of free receive buffers.

 

 

 

IO_BCC_ERR

BCC or CRC error.

 

A received frame contained an incorrect CRC.

 

 

IO_RX_ORUN

Receive overrun.

(not Z7340A)

The processing of a received frame could not be

 

 

completed in time.

 

 

IO_PARITY

Parity or framing error.

 

A framing error had been detected by the frame receiver.

 

 

1. non-E1/T1 interface only

Chapter 3

31

Page 31
Image 31
HP UX 11.x Operating Systems manual Receive Completion Status Codes1, Receive Description Status Code, Iobccerr, Iorxorun