没有合适的资源?快使用搜索试试~ 我知道了~
D-PDU API 2017版
需积分: 0 2 下载量 180 浏览量
2024-02-19
14:10:54
上传
评论 1
收藏 18.46MB PDF 举报
温馨提示
试读
374页
Road vehicles — Modular vehicle communication interface (MVCI) —Part 2: Diagnostic protocol data unit (D-PDU API)
资源推荐
资源详情
资源评论
©
ISO 2017
Road vehicles — Modular vehicle
communication interface (MVCI) —
Part 2:
Diagnostic protocol data unit (D-PDU
API)
Véhicules routiers — Interface de communication modulaire du
véhicule (MVCI) —
Partie 2: Interface de programmation d’application d’unité de
données du protocole de diagnostic (D-PDU API)
INTERNATIONAL
STANDARD
ISO
22900-2
Second edition
2017-06
Reference number
ISO 22900-2:2017(E)
ISO 22900-2:2017(E)
ii © ISO 2017 – All rights reserved
COPYRIGHT PROTECTED DOCUMENT
© ISO 2017, Published in Switzerland
the requester.
Ch. de Blandonnet 8 • CP 401
CH-1214 Vernier, Geneva, Switzerland
Tel. +41 22 749 01 11
Fax +41 22 749 09 47
www.iso.org
ISO 22900-2:2017(E)
ii-1
©ISO2017–Allrightsreserved
Contents
1 Scope .................................................................................................................................................................................. 1
2 Normative references ................................................................................................................................................... 1
3 Terms, definitions and abbreviated terms ............................................................................................................ 1
3.1 Terms and definitions .................................................................................................................................................. 1
3.2 Abbreviated terms......................................................................................................................................................... 2
4 Specification release version information ............................................................................................................ 4
4.1 Specification release version location .................................................................................................................... 4
4.2 Specification release version ..................................................................................................................................... 5
5 Modular VCI use cases .................................................................................................................................................. 5
5.1 OEM merger ..................................................................................................................................................................... 5
5.2 OEM cross vehicle platform ECU(s) .......................................................................................................................... 5
5.3 Central source diagnostic data and exchange during ECU development ..................................................... 5
5.4 OEM franchised dealer and aftermarket service outlet diagnostic tool support ...................................... 6
6 Modular VCI software architecture .......................................................................................................................... 6
6.1 Overview ........................................................................................................................................................................... 6
6.2 Modular VCI D-Server software ................................................................................................................................ 7
6.3 Runtime format based on ODX .................................................................................................................................. 7
6.4 MVCI protocol module software ............................................................................................................................... 8
6.5 MVCI protocol module configurations .................................................................................................................... 8
7 D-PDU API use cases ..................................................................................................................................................... 9
7.1 Overview ........................................................................................................................................................................... 9
7.2 Use case 1: Single MVCI protocol module ............................................................................................................... 9
7.3 Use case 2: Multiple MVCI protocol modules supported by same D-PDU API implementation ......... 10
7.4 Use case 3: Multiple MVCI protocol modules supported by different D-PDU API
implementations .......................................................................................................................................................... 11
8 Diagnostic protocol data unit (D-PDU) API ......................................................................................................... 12
8.1 Software requirements .............................................................................................................................................. 12
8.1.1 General requirements ................................................................................................................................................ 12
8.1.2 Vehicle protocol requirements ............................................................................................................................... 13
8.1.3 Timing requirements for protocol handler messages ..................................................................................... 13
8.1.4 Serialization requirements for protocol handler messages .......................................................................... 14
8.1.5 Compatibility requirements ..................................................................................................................................... 16
8.1.6 Timestamp requirements ......................................................................................................................................... 16
8.2 API function overview and communication principles ................................................................................... 16
8.2.1 Terms used within the D-PDU API .......................................................................................................................... 16
8.2.2 Function overview ....................................................................................................................................................... 17
8.2.3 General usage ................................................................................................................................................................ 18
8.2.4 Asynchronous and synchronous communication ............................................................................................. 21
8.2.5 Usage of resource locking and resource unlocking .......................................................................................... 21
8.2.6 Usage of ComPrimitives ............................................................................................................................................. 21
8.3 Tool integration ........................................................................................................................................................... 36
8.3.1 Requirement for generic configuration ............................................................................................................... 36
8.3.2 Tool integrator — Use case ....................................................................................................................................... 36
8.4 API functions — Interface description .................................................................................................................. 38
8.4.1 Overview ......................................................................................................................................................................... 38
8.4.2 PDUConstruct ................................................................................................................................................................ 38
8.4.3 PDUDestruct .................................................................................................................................................................. 39
8.4.4 PDUIoCtl .......................................................................................................................................................................... 40
ISO 22900-2:2017(E)
©ISO2017–Allrightsreserved iii
8.4.5
PDUGetVersion ............................................................................................................................................................ 42
8.4.6 PDUGetStatus ................................................................................................................................................................ 42
8.4.7 PDUGetLastError ......................................................................................................................................................... 43
8.4.8 PDUGetResourceStatus ............................................................................................................................................. 44
8.4.9 PDUCreateComLogicalLink ...................................................................................................................................... 45
8.4.10 PDUDestroyComLogicalLink ................................................................................................................................... 48
8.4.11 PDUConnect .................................................................................................................................................................. 49
8.4.12 PDUDisconnect ............................................................................................................................................................. 51
8.4.13 PDULockResource ....................................................................................................................................................... 52
8.4.14 PDUUnlockResource .................................................................................................................................................. 53
8.4.15 PDUGetComParam ...................................................................................................................................................... 54
8.4.16 PDUSetComParam ....................................................................................................................................................... 61
8.4.17 PDUStartComPrimitive.............................................................................................................................................. 63
8.4.18 PDUCancelComPrimitive .......................................................................................................................................... 67
8.4.19 PDUGetEventItem ....................................................................................................................................................... 68
8.4.20 PDUDestroyItem .......................................................................................................................................................... 69
8.4.21 PDURegisterEventCallback ...................................................................................................................................... 70
8.4.22 EventCallback prototype .......................................................................................................................................... 72
8.4.23 PDUGetObjectId ........................................................................................................................................................... 73
8.4.24 PDUGetModuleIds ....................................................................................................................................................... 74
8.4.25 PDUGetResourceIds ................................................................................................................................................... 76
8.4.26 PDUGetConflictingResources .................................................................................................................................. 77
8.4.27 PDUGetUniqueRespIdTable ..................................................................................................................................... 78
8.4.28 PDUSetUniqueRespIdTable ..................................................................................................................................... 79
8.4.29 PDUModuleConnect .................................................................................................................................................... 84
8.4.30 PDUModuleDisconnect .............................................................................................................................................. 86
8.4.31 PDUGetTimestamp ..................................................................................................................................................... 87
8.5 I/O control section ...................................................................................................................................................... 88
8.5.1 IOCTL API command overview ............................................................................................................................... 88
8.5.2 PDU_IOCTL_RESET ...................................................................................................................................................... 90
8.5.3 PDU_IOCTL_CLEAR_TX_QUEUE ................................................................................................................................ 91
8.5.4 PDU_IOCTL_SUSPEND_TX_QUEUE ........................................................................................................................... 91
8.5.5 PDU_IOCTL_RESUME_TX_QUEUE ............................................................................................................................ 92
8.5.6 PDU_IOCTL_CLEAR_RX_QUEUE ................................................................................................................................ 92
8.5.7 PDU_IOCTL_CLEAR_TX_QUEUE_PENDING ............................................................................................................ 93
8.5.8 PDU_IOCTL_READ_VBATT ......................................................................................................................................... 93
8.5.9 PDU_IOCTL_SET_PROG_VOLTAGE ........................................................................................................................... 94
8.5.10 PDU_IOCTL_READ_PROG_VOLTAGE ....................................................................................................................... 95
8.5.11 PDU_IOCTL_GENERIC .................................................................................................................................................. 95
8.5.12 PDU_IOCTL_SET_BUFFER_SIZE ................................................................................................................................ 96
8.5.13 PDU_IOCTL_GET_CABLE_ID ....................................................................................................................................... 96
8.5.14 PDU_IOCTL_START_MSG_FILTER ............................................................................................................................ 97
8.5.15 PDU_IOCTL_STOP_MSG_FILTER ............................................................................................................................... 98
8.5.16 PDU_IOCTL_CLEAR_MSG_FILTER ............................................................................................................................ 99
8.5.17 PDU_IOCTL_SET_EVENT_QUEUE_PROPERTIES ................................................................................................... 99
8.5.18 PDU_IOCTL_SEND_BREAK ....................................................................................................................................... 100
8.5.19 PDU_IOCTL_READ_IGNITION_SENSE_STATE ..................................................................................................... 101
8.5.20 PDU_IOCTL_VEHICLE_ID_REQUEST ...................................................................................................................... 102
8.5.21 PDU_IOCTL_SET_ETH_SWITCH_STATE ................................................................................................................ 103
8.5.22 PDU_IOCTL_GET_ENTITY_STATUS ........................................................................................................................ 104
8.5.23 PDU_IOCTL_GET_DIAGNOSTIC_POWER_MODE ................................................................................................. 105
8.5.24 PDU_IOCTL_GET_ETH_PIN_OPTION ..................................................................................................................... 105
8.6 API functions — Error handling ........................................................................................................................... 106
8.6.1 Synchronous error handling ................................................................................................................................. 106
8.6.2 Asynchronous error handling ............................................................................................................................... 106
8.7 Installation .................................................................................................................................................................. 106
8.7.1 Generic description .................................................................................................................................................. 106
8.7.2 Windows installation process ............................................................................................................................... 107
剩余373页未读,继续阅读
资源评论
shawss
- 粉丝: 1
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- LM324_datasheet.pdf
- 全新Storm+Core+API管理系统源码
- 基于RP2040的电子沙漏,使用RP2040游戏机开发板,灯板是74HC595驱动的8*8LED矩阵
- 基于SSM和VUE的商店POS积分管理系统(免费提供全套java开源项目源码+论文)
- 基于SpringBoot的“在线动漫信息平台”的设计与实现.rar
- NPP xml tools
- 基于python开发的树莓派RP2040的游戏机
- 基于SNMP网络设备MIB信息采集系统(免费提供全套java开源项目源码+论文)
- 基于SSM和VUE的五子棋游戏的设计(免费提供全套java开源项目源码+论文)
- qiun-data-charts
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功