beautypg.com

Nortel Networks 1000M User Manual

Page 469

background image

CRC protocol specifications

469

crc += (((c<<=1) & 0400)!= 0);
crc ^= 0x1021;
}
else {
crc <<= 1;
crc += (((c<<=1) & 0400)!= 0);
}
}
return crc;

A receiving program that wishes to receive in CRC mode implements the
mode setting handshake by sending a . After the receiver has sent
the it waits up to 3 seconds for the that starts the first block. If
no is received within 3 seconds, the receiver will re-send a .
After the mode has been sent by the initial the protocol follows the
flow shown in the following example.

Example

This flow example shows a case where the receiver requests transmission
in the CRC mode and the sender supports the CRC option. The example
includes various transmission errors. represents 2 CRC bytes.

SENDERRECEIVER

<---

times out after 3.4 seconds,

<---

times out after 3.4 seconds,

<---

times out after 3.4 seconds,

<---

times out after 3.4 seconds,

<---

01 FE -data- --->

<--- 02 FD -data- --->(data gets line hit)

<---

02 FD -data- --->

<---

03 FC -data- --->
(ack gets garbage)<---

times out after 6.8 seconds

<---

03 FC -data- --->

<---

--->

<---

Nortel Communication Server 1000

Communication Server 1000M and Meridian 1 Small System Installation and Commissioning

NN43011-310

01.04

Standard

Release 5.0

13 May 2008

Copyright © 2008, Nortel Networks

.