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和包号。

  • 相关阅读:
    浏览器驱动
    django中的cookie和session
    django自定义中间件实现登陆
    django虚拟环境与文件上传
    了解和熟悉数据库相关知识
    JMeter ---相关脚本笔记
    JMeter脚本---关于时间戳的处理笔记
    JMeter中的读取json数据---JSON Extractor插件
    更多API知识学习
    认识VIM编辑器
  • 原文地址:https://www.cnblogs.com/hkj8808/p/13396922.html
Copyright © 2011-2022 走看看