Overview#Media Access Control (MAC) is a sub-layer defined by IEEE 802 within the OSI-Model Data-link Layer
Media Access Control, generally, has two forms of media access control:
- distributed which is often called "Broadcast"
- centralized -
- time based - simply puts a specified amount of time between frames.
- character counting - simply notes the count of remaining characters in the frame's header.
- byte stuffing - precedes the frame with a special byte sequence such as DLE STX and succeeds it with DLE ETX. Appearances of DLE (byte value 0x10) have to be escaped with another DLE. The start and stop marks are detected at the receiver and removed as well as the inserted DLE characters.
- bit stuffing - replaces these start and end marks with flag consisting of a special bit pattern (e.g. a 0, six 1 bits and a 0).