SID 0x31 Request Processing and NRC Handling

SID 0x31 Request Processing and NRC Handling A workflow diagram generated by Archify. 01 / Request Intake 02 / Access Control 03 / Routine Execution EX / Negative Response Validate request Session + security RID check + execution NRC responses Receive Request · SID 0x31 · Request Intake › Validate request Receive Request SID 0x31 Validate Message · length >= 4, SF 0x01-0x03 · Request Intake › Validate request Validate Message length >= 4, SF 0x01-0x03 Session Check · NRC 0x7F if not allowed · Access Control › Session + security Session Check NRC 0x7F if not allowed Security Check · NRC 0x33 if locked · Access Control › Session + security Security Check NRC 0x33 if locked RID Supported? · NRC 0x31 if not · Access Control › RID check + execution RID Supported? NRC 0x31 if not Execute Routine · SF 0x01 / 0x02 / 0x03 · Routine Execution › RID check + execution · Start / Stop / Results Execute Routine SF 0x01 / 0x02 / 0x03 Start / Stop / Results NRC 0x13 / 0x12 · length or subfunction invalid · Negative Response › NRC responses › Validate request NRC 0x13 / 0x12 length or subfunction invalid NRC 0x7F · not supported in session · Negative Response › NRC responses › Session + security NRC 0x7F not supported in session NRC 0x33 · security access denied · Negative Response › NRC responses › Session + security NRC 0x33 security access denied NRC 0x31 · request out of range · Negative Response › NRC responses › RID check + execution NRC 0x31 request out of range NRC 0x24 / 0x22 / 0x72 · sequence / conditions / execution · Negative Response › NRC responses › RID check + execution NRC 0x24 / 0x22 / 0x72 sequence / conditions / execution routine rejected or failed unsupported RID locked wrong session invalid format Legend Agent logic Policy