CAN Network layer from ISO 15765-4
Network Iayer interface and Standardized diagnostic CAN identifiers from 15765-3
8.Standardized diagnostic CAN identifiers
Mapping of the N_PDU fields - from ISO15765-2
Addressing formats
The exchange of network layer data is supported by three addressing formats: normal, extended and mixed addressing. Each addressing format requires a different number of CAN frame data bytes to encapsulate the addressing information associated with the data to be exchanged. Consequently, the number of data bytes transported within a single CAN frame depends on the type of addressing format chosen.
The following (7.3.2 to 7.3.5) specifies the mapping mechanisms for each addressing format, based on the data link layer services and service parameters defined in ISO 11898-1.
ISO15765-4协议的代码实现-数据链路层网络层NL_OBD_SendCANFrame函数代码详解(源自C300开发板教程)
如何理解ISO15765-4协议和ISO15031-5协议
ISO 15765 协议下载
下载链接
基于CAN总线的汽车诊断协议UDS (网络层 ISO 15765)
网络层的国际标准是ISO 15756-2,该标准详细规定了协议的具体细节。CAN总线是一帧8个字节,该协议可以使CAN总线高效的传输大约8个字节(up to 4095 bytes)的命令和数据。基于该标准文档,我开发出了一个独立性良好的协议栈,工作在上层诊断协议之下和下层CAN驱动之上,下面详解开发协议栈时需要实现的部分(基于 ISO 15765-2:2004(E))