Net - Lec. 4 - Fall 2024
Net - Lec. 4 - Fall 2024
Fall, 2024
COMPUTER NETWORKS
Lec. 4
DCE Cable
DTE Cable
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 16
Configuring a serial interface
How can you tell which end is the DTE and which end is the DCE?
Look at the label on the cable.
Look at the connecter between the two cables - The DTE cable will
always be male and the DCE cable will always be female.
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 17
Smart Serial
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 18
Smart Serial connector
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 19
EIA-232
Data Pins
Control Pins
Timing Pins
Other Pins
Synchronous Full-Duplex Transmission
Synchronous Full-Duplex Transmission
Modem
Error Detection
and Correction
• Types of Errors
• Detection
• Correction
Types of Error
An error occurs when a bit is altered between
transmission and reception.
Burst errors
Contiguous sequence of B bits in which first last and
any number of intermediate bits in error
Caused by impulse noise or by fading in wireless
Effect greater at higher data rates
Types of Error
Single-bit error
Multiple-bit error
Burst error
Error Detection
Regardless of the design of the transmission system, there will be errors, resulting in
the change of one or more bits in a transmitted frame. Error detection is performed
by calculating an error-detecting code that is a function of the bits being transmitted.
The code is appended to the transmitted bits. The receiver calculates the code based
on the incoming bits and compares it to the incoming code to check for errors. A
detected error occurs if and only if there is a mismatch. There is a probability that a
frame contains errors and that the error-detecting scheme will detect that fact. Also
have a residual error rate, being the probability that an error will be undetected
despite the use of an error-detecting scheme.
The simplest error-detecting scheme is to append a parity bit to the end of a block of
data. The value of this bit is selected so that the character has an even number of 1s
(even parity) or an odd number of 1s (odd parity). Note, however, that if two (or any
even number) of bits are inverted due to error, an undetected error occurs. Typically,
even parity is used for synchronous transmission and odd parity for asynchronous
transmission. The use of the parity bit is not foolproof, as noise impulses are often
long enough to destroy more than one bit, particularly at high data rates.
Error Detection Process
Error Detection Methods
Redundancy
Error Correction
(K)
K+