SID 0x23 Request Handling: Validation Gates and NRC Paths

SID 0x23 Request Handling: Validation Gates and NRC Paths A workflow diagram generated by Archify. 01 / Request Handling EX / Negative Responses Parse + format Validation gates Read + respond Receive · 0x23 request · Request Handling › Parse + format Receive 0x23 request Format Gate · ALFID: addrLen + sizeLen · Request Handling › Parse + format · length >= 2 Format Gate ALFID: addrLen + sizeLen length >= 2 Session Gate · Extended 0x03 / Programming 0x02 · Request Handling › Validation gates · timeout 5000ms Session Gate Extended 0x03 / Programming 0x02 timeout 5000ms Address Gate · size > 0, endAddr = addr + size · Request Handling › Validation gates · one region, readable Address Gate size > 0, endAddr = addr + size one region, readable Security Gate · unlocked level >= required · Request Handling › Validation gates · not expired Security Gate unlocked level >= required not expired Read + Respond · buf[0] = 0x63 + data bytes · Request Handling › Read + respond Read + Respond buf[0] = 0x63 + data bytes NRC 0x13 · [7F 23 13] length/format error · Negative Responses › Parse + format NRC 0x13 [7F 23 13] length/format error NRC 0x22 · [7F 23 22] wrong session/timeout · Negative Responses › Validation gates NRC 0x22 [7F 23 22] wrong session/timeout NRC 0x31 · [7F 23 31] out of range · Negative Responses › Validation gates NRC 0x31 [7F 23 31] out of range NRC 0x33 · [7F 23 33] security denied · Negative Responses › Validation gates NRC 0x33 [7F 23 33] security denied NRC 0x72 · [7F 23 72] read fault · Negative Responses › Read + respond NRC 0x72 [7F 23 72] read fault out of range range in one readable region mismatch ALFID valid, length matches read fault request: address + size locked level unlocked, not expired session 0x03 or 0x02 wrong session Legend Agent logic Policy Tool action External system