Sub-function有些诊断服务可以支持不同的诊断子服务,sub-function就是用来定义这种子服务的,它将某一个服务细分为更为具体的服务,它是一个字节的无符号整数。比如ECUReset这个服务就有0x01,0x02,0x03等几种sub-function指代具体的reset方式。 5.1.3 UDS的发展前景 UDS(Unified Diagnostic Services)作为汽车诊断领域...
NULL_PTR, /* Init function of service */ 0x28, /* Service id */ TRUE, /* SubFunction Exists */ TRUE, /* Service is located within Dcm */ Dcm_SrvTab0_SubSrv9_acs, /* Pointer to subservice table */ 2, /* Number of subservices */ &DcmAppl_UserServiceModeRuleService, /* No ...
客户端可以通过将SubFunction设置为reportsupporteddtc的服务发送请求来检索服务器支持的所有dtc的状态。对该请求的响应包含dtcstatusavailabilitymask,它提供了服务器支持的用于屏蔽目的的DTC状态位的指示。在dtcstatusavailabilityymask之后,响应还包含listOfDTCAndStatusRecord,其中包含服务器支持的每个诊断故障代码的DTC编号和...
我们来看具体的请求和响应格式,首先看1902。1902后面跟一个字节的StatusMask,第0位和第3位被置1,而这一个字节Mask,是在ECU诊断规范定义的,所以5902...,就是DTC的编码。 在14229-1中定义的19服务读取DTC信息里,定义28个Subfunction,根据不同的Subfunction来获取不同的诊断信息,在这里我们介绍4个不同的 ...
4)服务器发送了带有否定响应码SFNS(sub-function not supported)的否定消息,是因为响应消息指示了服务标识符被支持,而客户端请求的子函数参数不被支持。 5)服务器发送无响应消息,因为服务标识和子函数参数被客户端的请求(带有无响应消息的指示)支持。如果使用否定响应码RCRRP(requestCorrectlyReceivedResponsePending,请求...
Added uds_svc_authentication_subfunction and uds_svc_authentication_return_parameter enumerations for Authentication service (ISO 14229-1:2020) Added PUDS_ONLY_PREPARE_REQUEST definition that allows to use a UDS_Svc* function to prepare a message without sending it ...
voidservice_10_SessionControl(constuint8_t* msg_buf,uint16_tmsg_dlc){ ...switch(subfunction) { ...caseUDS_SESSION_PROG:// 02 编程会话... EraseFlash(0x10000000,2048); UF.updateFlag =0x55AA; WriteFlash(0x10000000,sizeof(UF), UF.updateFlagArr); {volatileuint32_tdelay=999999;while(del...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...
need to regenerate fonts for subpixel rendering when rotated (do after delay to allow UI to be responsive immediately) app indicator and menus may be spaced too closely Spec for touch is being worked on (don't have right-click) Guidelines ...
class)) { for (int i = 1; i <= numOfSubTable; i++) { // set table name pstmt.setTableName("t4_" + i); // set tags pstmt.setTagString(0, new String("abc")); // set columns ArrayList<Long> tsList = new ArrayList<>(); long current = System.currentTimeMillis(); for ...