Shannon-Hartley Thm.
Upper bound to capacity of a link in terms of bits per second as a function of signal to noise ratio
C = B * log2(1 + S/N)
* S = Signal power
* N = Average noise
* B = Bandwidth of channel
Medium - Characterise
Frequency - Characterise
Hz
Wavelength
Distance min and max of wave in metres
Encoding
Binary data on a signal
* Bits travel between adaptors
* Signal travel between signalling components
Problems of Non Return to Zero
Non Return to Zero Inverted
Manchester encoding
Problems with Manchester
Doubles the rate at which signal transitions are made
* The receiver has 1/2 the time to detect each pulse
Baud rate
The rate of change in signal
4B/5B encoding
Idle line 4B/5B
11111
Dead Line 4B/5B
00000
Halt Line
00100
Frames
Blocks of data
Byte Oriented Protocol
View each frame as a collection of bytes rather than bits
Binary Synchronous Communication (BISYNC)
Point-to-Point Protocol (PPP)
Commonly used over internet links which use sentinel approach
* Special start character: 01111110 : Flag - 8
* Address - 8
* Control - 8
* Protocol for demux: IP/IPX - 16
* Payload
* Checksum - 16
* Flag - 8
Digital Data Communication Message Protocol (DDCMP)
Byte counting approach
If count is corrputed - framing error
* SYN - 8
* SYN - 8
* Class - 8
* Count - 14
* Header - 42
* Body
* CRC - 16
High Level Data Link Control (HDLC)
Two dimensional Parity
Internet Checksum Algorithm
Cyclical Redundancy Check (CRC)
Error handling with CRC