zoukankan      html  css  js  c++  java
  • UDS 诊断协议 $34

    一、接收格式

     1. SID:0x34

     2. dataFormatIdentifier

      Bit 7 - 4: compressionMethod:压缩方式 无压缩添0

           Bit 3 - 0: encryptingMethod 加密方法无加密添0

    具体由车厂供应商定义

        3.addressAndLengthFormatIdentifier

      bit 7 - 4: Length (number of bytes) of the memorySize parameter
      bit 3 - 0: Length (number of bytes) of the memoryAddress parameter

        4.memoryAddress

        此参数取决于addressAndLengthFormatIdentifier定义长度

        5.memorySize

        此参数取决于addressAndLengthFormatIdentifier定义长度

    二、否定响应码

    1. 0x13   incorrectMessageLengthOrInvalidFormat

      最小长度检查

    2.0x22    conditionsNotCorrect

    3.0x31    requestOutOfRange

    请求数据格式长度不正确

    4.0x33    securityAccessDenied

    未通过安全访问

    5.0x70   uploadDownloadNotAccepted

    此NRC表示无法尝试下载到服务器的内存
    由于某些故障情况而完成

    没有执行31 擦除服务时。

    三、正常响应码回复格式

    1. 0x74

    2.lengthFormatIdentifier

    数据长度2

    3.maxNumberOfBlockLength

    每包传输最大量

     [
      byte#1 (MSB)
        :
      byte#m   ]

     其中此包含SID和包号。

  • 相关阅读:
    postgres导入和导出
    postgres日常操作
    NumPy Ndarray 对象
    NumPy 简介及安装
    Python两个内置函数locals 和globals
    python之multiprocessing多进程
    postgres外部表
    css中文本超出部分省略号代替
    js中的作用域链
    css中clip:rect矩形剪裁功能
  • 原文地址:https://www.cnblogs.com/hkj8808/p/13396922.html
Copyright © 2011-2022 走看看