ISO14229:2013 之 诊断会话控制DiagnosticSessionControl(0x10)

ECU上电后,诊断服务默认进入defaultSession,可以通过defaultSession进入非defaultSession,同时会启动一个定时器,如果在定时器时间内,ECU收到Resquest,就会应答Response,否则按超时处理,退回到defaultSession。

$3E服务可以使诊断会话保持在非defaultSession状态。

1、Request message:

Sub-function parameter:

常用Sub-Function:

0x01 defaultSession

0x02 ProgrammingSession

0x03 extendedDiagnosticSession

2、Positive Response message:

3、Negative Response codes (NRC_):

4、Example #1:

Request:

0x727  02 10 02 [00 00 00 00 00]

 Positive Response:

0x7A7  06 50 02 00 32 01 F4 [00]

原文地址:https://www.cnblogs.com/zinthewind/p/12343444.html