SID 0x22 Request Processing: ECU-Side Workflow

SID 0x22 Request Processing: ECU-Side Workflow A workflow diagram generated by Archify. 01 / Tester 02 / Request Intake 03 / Per-DID Validation EX / Negative Response 05 / Response Assembly Receive Validate Respond Test Tool · sends 22 F1 90 · Tester › Receive Test Tool sends 22 F1 90 Receive Request · byte 0 = 0x22 · Request Intake › Receive Receive Request byte 0 = 0x22 Length Check · (len-1) mod 2 = 0 · Request Intake › Validate Length Check (len-1) mod 2 = 0 DID Lookup · per DID checks · Per-DID Validation › Validate · any fail: discard all DID Lookup per DID checks any fail: discard all Negative Response · 7F 22 + NRC, 3 bytes · Negative Response › Validate Negative Response 7F 22 + NRC, 3 bytes Buffer Check · response fits ECU buffer · Response Assembly › Respond Buffer Check response fits ECU buffer Send Response · 0x62 + DID echo + data · Response Assembly › Respond Send Response 0x62 + DID echo + data fits buffer DIDs complete 7F 22 NRC 0x31 0x7F 0x33 0x22 0x13 wrong length 0x14 too long 62 F1 90 + data records built 22 F1 90 Legend Agent logic Policy External system