The three fundamental functions of the Physical layer are:
The physical components
Data encoding
Signaling
The physical elements are the electronic hardware devices, media and connectors that transmit and carry the signals to represent the bits.
Encoding
Encoding is a method of converting a stream of data bits into a predefined code. Codes are groupings of bits used to provide a predictable pattern that can be recognized by both the sender and the received. Using predictable patterns helps to distinguish data bits from control bits and provide better media error detection.
In addition to creating codes for data, encoding methods at the Physical layer may also provide codes for control.
purposes such as identifying the beginning and end of a frame. The transmitting host will transmit the specific pattern of bits or a code to identify the beginning and end of the frame.
Signaling
The Physical layer must generate the electrical, optical, or wireless signals that represent the "1" and "0" on the media. The method of representing the bits is called the signaling method. The Physical layer standards must define what type of signal represents a "1" and a "0". This can be as simple as a change in the level of an electrical signal or optical pulse or a more complex signaling method.