Current location - Quotes Website - Team slogan - What is the difference between data frame format and communication protocol in serial communication?
What is the difference between data frame format and communication protocol in serial communication?
The difference between data frame format and communication protocol in serial communication is that the action layer is different, the purpose is different and the content is different.

First of all, the action layer is different.

1. data frame format: the functional layer of data frame format is the data link layer.

2. Communication protocol: The functional layer of communication protocol is the application layer.

Second, the use is different.

1. Data frame format: The data frame format specifies the format of the frame for transmitting data.

2. Communication protocol: Communication protocol provides communication support for connecting the Internet with different operating systems and different hardware architectures, and defines how to transmit and manage information (file transfer, email, remote login, etc.). ) and formulate rules that must be followed when an error occurs.

Third, the content is different.

1. Data frame format: Data frame format includes three parts: frame header, data part and frame trailer. The header and trailer contain some necessary control information, such as synchronization information, address information and error control information. The data part contains data passed down from the network layer, such as IP packets.

2. Communication protocol: Communication protocol includes unified provisions on data format, synchronization mode, transmission speed, transmission steps, error detection and correction mode, and definition of control characters.