You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: udsoncan/services/ReadDTCInformation.py
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -717,6 +717,8 @@ def interpret_response(cls, response, subfunction, extended_data_size=None, tol
717
717
raiseInvalidResponseException(response, 'Incomplete response from server. Missing DTCExtDataRecordNumber')
718
718
719
719
record_number=int(response.data[1])
720
+
ifrecord_number>0xEF:
721
+
raiseInvalidResponseException(response, 'Server returned a RecordNumber of %d which is out of range (00-EF) according to ISO-14229:2020', record_number)
0 commit comments