当前位置:网站首页>[UDS unified diagnostic service] II. Network layer protocol (2) - data transmission rules (single frame and multi frame)
[UDS unified diagnostic service] II. Network layer protocol (2) - data transmission rules (single frame and multi frame)
2022-04-23 06:39:00 【Tomorrow is like noon】
Two 、 Network layer protocol (2)— Data transmission rules ( Single frame and multi frame )
1. Single frame data transmission rules


2. Multi frame data transmission rules
(1) Achieve the goal :

(2) Detailed transmission process :





(3) Detailed meaning analysis of transmitted byte data :






3. Network layer timing and error handling ( Take multi frame transmission as an example )
notes : The picture below needs some effort , Understand and understand the meaning of each time representative in detail

4. Some instructions
(1) Consecutive frames SN(Sequence Number) Add rules
-
Consecutive frames :
Consecutive frames appear after the first frame ,PCI The upper half byte of is 0010b, The lower half byte indicates the sequence number of consecutive frames (SN) . -
SN The value of is defined according to the following provisions :
- The first frame of a continuous frame SN The value is 1; Every successive frame added ,SN Increase in value 1;
- The flow control frame does not affect SN The calculation of the value ;
- When SN Its value 15 after , Of the next consecutive frame SN The value is 0.
-
Serial number (SN) Definition :

(2) Diagnostic message format :

- SF_DL: Single frame data length (4Bit)
- FF_DL: Continuous frame data length (12Bit)
- SN: Sequence Number, Serial number of consecutive frames (4Bit)
- FS: Flow State, Flow control state
- BS: Block Size, Allow one continuous transmission CF The number of
- STmin: Two CF Minimum interval between sending , Unit is ms
- N/A: Not Applicable, Don't use
版权声明
本文为[Tomorrow is like noon]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230546376882.html
边栏推荐
猜你喜欢

Graduation project, viewing screenshots of epidemic psychological counseling system

Completely clean up MySQL win

Robocode教程7——雷达锁定

Call procedure of function

Cross domain issues - allow origin header contains multiple values but only one is allowed

【UDS统一诊断服务】一、诊断概述(4)— 基本概念和术语

Installation of GCC, G + +, GDB

C#中?的这种形式

【UDS统一诊断服务】三、应用层协议(1)
![[UDS unified diagnostic service] IV. typical diagnostic service (2) - data transmission function unit](/img/22/c501c79176a93345dc72ff150c53c3.png)
[UDS unified diagnostic service] IV. typical diagnostic service (2) - data transmission function unit
随机推荐
Matlab标定板角点检测原理
xlsxwriter.exceptions.FileCreateError: [Errno 13] Permission denied问题
P1018 maximum product solution
[ThreadX] h743zi + lan8720 + ThreadX + netx duo transplantation
C语言输入和输出(printf和scanf函数、putchar和getchar函数)
【UDS统一诊断服务】四、诊断典型服务(5)— 功能/元件测试功能单元(例行程序功能单元0x31)
产生随机数
7-21日错题涉及知识点。
copy constructor
C#中?的这种形式
类的继承与派生
爬虫之requests基本用法
猜數字遊戲
1007 go running (hdu6808) in the fourth game of 2020 Hangzhou Electric Multi school competition
修改注册表的值
客户端软件增量更新
Object转Json差异之Gson fastJson jackson 修改字段名
C语言进阶要点笔记3
友元函数,友元类,类模板
对象的动态建立和释放,赋值和复制