SID 0x19 request validation and NRC handling

SID 0x19 request validation and NRC handling A workflow diagram generated by Archify. 01 / Request and Response 02 / Validation Gates 03 / Security Access 04 / DTC Processing EX / Error Responses 7F 19 xx Receive Validate Authorize Process and respond Receive request · e.g. 19 02 [StatusMask] · Request and Response › Receive Receive request e.g. 19 02 [StatusMask] Correct length? · 0x02: 3B, 0x04: 6B · Validation Gates › Validate Correct length? 0x02: 3B, 0x04: 6B Subfunction supported? · ECU-dependent support · Validation Gates › Validate Subfunction supported? ECU-dependent support Session and conditions OK? · 0x0F-0x19 need EXTENDED (0x03) · Validation Gates › Validate Session and conditions OK? 0x0F-0x19 need EXTENDED (0x03) Security OK? · public P-codes pass · Security Access › Authorize Security OK? public P-codes pass Response pending 0x78 · not an error · DTC Processing › Authorize Response pending 0x78 not an error Process request · search DTC memory, send 59 XX · DTC Processing › Process and respond Process request search DTC memory, send 59 XX 7F 19 13 · Incorrect Message Length · Error Responses 7F 19 xx › Validate 7F 19 13 Incorrect Message Length 7F 19 12 · Sub-Function Not Supported · Error Responses 7F 19 xx › Validate 7F 19 12 Sub-Function Not Supported 7F 19 22 · Conditions Not Correct · Error Responses 7F 19 xx › Validate 7F 19 22 Conditions Not Correct 7F 19 33 · Security Access Denied · Error Responses 7F 19 xx › Authorize 7F 19 33 Security Access Denied 7F 19 31 · Request Out of Range · Error Responses 7F 19 xx › Process and respond 7F 19 31 Request Out of Range repeat 0x78 every 2-5s wrong length length OK unknown DTC or record long operation, e.g. 19 0A locked unlocked or not required wrong session or blocked conditions conditions met not implemented supported Legend Agent logic Policy Tool action External system