微信公众号: 常青柏
淘宝店铺: 漫乐之家
9.10 ResponseOnEvent (0x86) service - 基于事件响应 服务
9.10.1 Service description 服务描述
The ResponseOnEvent service requests a server to start or stop transmission of responses on a specified event.
此服务请求服务器开始或停止对一特定事件发送响应报文。
This service provides the possibility to automatically execute a diagnostic service in case a specified event
occurs in the server.
The client specifies the event (including optional event parameters) and the service
(including service parameters) to be executed in case the event occurs.
See Figure 10 for a brief overview about the client and server behaviour.
此服务的功能:若服务器中一个特定的事件发生时,自动地执行一个诊断服务。
诊断仪指定该事件(包括可选的事件参数)和若该事件发生时需要执行的服务(包括服务参数)。
图10是关于诊断仪和服务器行为的简介。
NOTE
The figure above assumes, that the event window timer is configured to timeout prior to the power down of the
server,
therefore the final ResponseOnEvent positive response message is shown at the end of the event timing window.
The server shall evaluate the sub-function and data content of the ResponseOnEvent request message at the
time of the reception.
注意:
上图假设事件窗口计时器被配置为在服务器断电前出现超时,
因此在事件计时窗口显示了该服务最终的正响应报文。
服务器应该在接收到该服务相关的请求报文时判断子服务信息和数据信息。
This includes the following sub-function and parameters:
⎯ eventType,
⎯ eventWindowTime,
⎯ eventTypeRecord (eventTypeParameter #1-#m).
包含下面的子服务和参数:
事件类型,事件窗口时间,事件类型记录(事件类型参数1-m)
In case of invalid data in the ResponseOnEvent request message a negative response with the negative
response code 0x31 shall be sent.
The serviceToRespondToRecord is not part of this evaluation.
The serviceToRespondToReco