text
stringlengths
0
99.6k
27
K. Initiation of a B Plus Session.
The following state machine describes the process of a host
entity initiating a B Plus Session. Its starting state is
Send_ENQ.
State Received Action Next State
------ -------- ---------------------- ----------
Send_ENQ ... Transmit <ENQ>
Set Standard Checksum
Set 512 byte Data Block
Set default quote set
Clear Plus_Seen and
Plus_Plus flags Get_DLE
-----------------------------------------------------------
Get_DLE <DLE> ... Get_Digit
<+> If Plus_Seen true,
then set Plus_Plus
... Get_DLE
timeout Send_ENQ
------------------------------------------------------------
Get_Digit <digit> Initialize Send and
Receive Sequence
Numbers Send_Parameters
<+> Set Plus_Seen Get_DLE
timeout ... Send_ENQ
------------------------------------------------------------
Send_Parameters ... If Plus_Seen true,
then
if Plus_Plus true,
then set to quote
0x00-0x1f and
0x80-0x9f
Send Parameters Packet
Receive Parameters Packet
Establish session's parameters
Exit
-------------------------------------------------------------
28
L. Supporting the Various B Protocol Versions
There are three versions of B Protocl which an implementor must
be aware of. Any new implementation should follow the B Plus
Protocol as described in this document to ensure full
compatibility with all existing CompuServe Host software. The
three versions are:
o "Classic" B Protocol
o An interim version of B Plus (called Quick B)
o B Plus as described in this document
The differences are:
Initial <ENQ> response:
Classic B: <DLE> digit
QuickB: <DLE> + <DLE> digit
B Plus: <DLE> + + <DLE> digit
Default Quoting Sets:
Classic B: 0x00 -> 0x1f
QuickB: 0x00 0x03 0x05 0x10 0x11 0x13 0x15
B Plus: 0x03 0x05 0x10 0x11 0x13 0x15
Extended Quoting:
Classic B: none
QuickB: Specified by the DQ Parameter:
0x00 : 0x00 0x03 0x05 0x10 0x11 0x13 0x15
0x01 : 0x03 0x05 0x10 0x11 0x13 0x15
0x02 : 0s03 0x05 0x10 0x11 0x13 0x15 0x91 0x93
0x03 : 0x00-0x1f and 0x80-0x9f
B Plus: Established by the Q1 thru Q8 parameters.
(Ignore R0)
Quoting of the Paramters Packet:
Classic B: No paramaters packet