Skip to content

Commit 7411eda

Browse files
authored
Correct documentation for requests (#219)
Co-authored-by: speedy-h <speedy-h>
1 parent 1232118 commit 7411eda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

udsoncan/services/SecurityAccess.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def make_request(cls, level: int, mode: int, data=bytes()) -> Request:
6666
Generates a request for SecurityAccess
6767
6868
:param level: Service subfunction. The security level to unlock. Value ranging from 0 to 7F
69-
For mode=``RequestSeed`` (0), level must be an even value. For mode=``SendKey`` (1), level must be an odd value.
69+
For mode=``RequestSeed`` (0), level must be an odd value. For mode=``SendKey`` (1), level must be an even value.
7070
If the even/odd constraint is not respected, the level value will be corrected to properly set the LSB.
7171
:type level: int
7272

0 commit comments

Comments
 (0)