text
stringlengths
0
99.6k
QuickB: 0x00 -> 0x1f
B Plus: 0x00 -> 0x1f and 0x80 -> 0x9f
Response to a <NAK>:
Classic B: Retransmit the last packet
QuickB: Resynchronize with <ENQ><ENQ>, wait for
two identical ACK sequences, retransmit
as necessary.
B Plus: Same as QuickB.
29
CompuServe Host software will support all three B Protocol
versions. In order to do so, it relies on the initial response
to <ENQ> to determine what version is being used in the terminal
software. The defaults given in Section D.1 ("Enquire") are
intended to reflect "Classic" B Protocol. If the Host receives
<DLE> <+> <DLE> <digit>
it sends its Transport Parameters Packet using "Classic" B data
quoting (0x00 -> 0x1f). If two "+" chracters are received, it
will quote 0x00 -> 0x1f and 0x80 -> 0x9f. This is done to
maximize the chances of getting the packet through most modems
and networks. Once the Transport Parameters Packets have been
successuflly exchanged, the Host software uses the negotiated
quoting set, and the remote is expected to do likewise.
Negotiation of quoted characters allows implementors to provide
configuration set up to cope with a wide variety of modems,
oeprating system, network, and other situations which can
adversely affect thr transmission of 8-bit binary data.
30
M. Check Value Calculation.
1. Standard B Protocol Checksum.
The following C-language code fragment illustrates the
Standard Checksum calculation:
int
checksum;
do_checksum (ch)
unsigned int ch;
{
checksum = checksum << 1;
if checksum > 0xff
checksum = (checksum & 0xff) + 1;