Download MULTIPROTOCOL SOFTWARE USER'S MANUAL

Transcript
THE COMMAND INTERPRETER IN X25 MODE
VI-179
VI.2.4. RDBUF (09h): Read data in a data packet or an interrupt packet
OPCODE =
9 (09h)
DESCRIPTION
This command reads the contents of the user data in a data packet or an interrupt packet
received on a logical channel of an X25 data link. The card can store “W=2” data packets and
one interrupt packet.
This command has the following format:
OPCODE
PARAMETER 1
PARAMETER 2
PARAMETER 3
PARAMETER 4
PARAMETER 5
PARAMETER 6
PARAMETER 7
DATA ZONE
DB7
0
0
Lnl
Lnh
0
LC
0
Q
DB6
0
C#
Lnl
Lnh
0
LC
0
D
DB5
0
C#
Lnl
Lnh
0
LC
0
M
DB4
0
C#
Lnl
Lnh
0
LC
0
0
DB3
1
C#
Lnl
Lnh
0
LC
LCG
0
DB2
0
C#
Lnl
Lnh
Typ
LC
LCG
0
DB1
0
C#
Lnl
Lnh
Typ
LC
LCG
0
DB0
1
C#
Lnl
Lnh
Typ
LC
LCG
Int
DATA RECEIVED FROM THE REMOTE DTE
C#: PARAMETER #1
DB6.DB5.DB4.DB3.DB2.DB1.DB0
These bits in parameter #1 indicate the number of the X25 data link. This number must be
between 1 and the number of lines installed.
Lnl: PARAMETER #2
DB7.DB6.DB5.DB4.DB3.DB2.DB1.DB0
Lnh: PARAMETER #3
DB7.DB6.DB5.DB4.DB3.DB2.DB1.DB0
These 2 parameters are output parameters. After the RDBUF command executes, they contain
the least significant bytes and the most significant bytes of the number of characters in the
“user data field” of the data packet or interrupt packet received.
MULTIPROTOCOL SOFTWARE USER’S MANUAL (DTUS016) - REV. B.03 JAN. 5, 1998