uds.messages.service_identifiers
Service Identifiers (SID) implementation.
Module Contents
Classes
Request Service Identifier values for all services that are defined in ISO 14229-1:2020. |
|
Response Service Identifier values for all services that are defined in ISO 14229-1:2020. |
Attributes
Set with all possible values of Request SID data parameter according to SAE J1979 and ISO 14229 standards. |
|
Set with all possible values of Response SID data parameter according to SAE J1979 and ISO 14229 standards. |
- uds.messages.service_identifiers.POSSIBLE_REQUEST_SIDS :uds.utilities.RawBytesSet
Set with all possible values of Request SID data parameter according to SAE J1979 and ISO 14229 standards.
- uds.messages.service_identifiers.POSSIBLE_RESPONSE_SIDS :uds.utilities.RawBytesSet
Set with all possible values of Response SID data parameter according to SAE J1979 and ISO 14229 standards.
- exception uds.messages.service_identifiers.UnrecognizedSIDWarning[source]
Bases:
Warning
Warning about SID value that is legit but not recognized by the package.
If you want to register a SID value, you need to define members (for this SID) manually using
add_member()
method (onRequestSID
andResponseSID
classes). You can also create feature request in the UDS project issues management system to register the SID value (for which this warning was raised).Initialize self. See help(type(self)) for accurate signature.
- class uds.messages.service_identifiers.RequestSID[source]
Bases:
uds.utilities.ByteEnum
,uds.utilities.ValidatedEnum
,uds.utilities.ExtendableEnum
Request Service Identifier values for all services that are defined in ISO 14229-1:2020.
Note: Request SID is always the first payload byte of all request messages.
Initialize self. See help(type(self)) for accurate signature.
- DiagnosticSessionControl = 16
- ECUReset = 17
- SecurityAccess = 39
- CommunicationControl = 40
- Authentication = 41
- TesterPresent = 62
- ControlDTCSetting = 133
- ResponseOnEvent = 134
- LinkControl = 135
- ReadDataByIdentifier = 34
- ReadMemoryByAddress = 35
- ReadScalingDataByIdentifier = 36
- ReadDataByPeriodicIdentifier = 42
- DynamicallyDefineDataIdentifier = 44
- WriteDataByIdentifier = 46
- WriteMemoryByAddress = 61
- ClearDiagnosticInformation = 20
- ReadDTCInformation = 25
- InputOutputControlByIdentifier = 47
- RoutineControl = 49
- RequestDownload = 52
- RequestUpload = 53
- TransferData = 54
- RequestTransferExit = 55
- RequestFileTransfer = 56
- SecuredDataTransmission = 132
- class uds.messages.service_identifiers.ResponseSID[source]
Bases:
uds.utilities.ByteEnum
,uds.utilities.ValidatedEnum
,uds.utilities.ExtendableEnum
Response Service Identifier values for all services that are defined in ISO 14229-1:2020.
Note: Response SID is always the first payload byte of all request messages.
Note: This Enum contains multiple members (for all the services as RequestSID), but most of them are dynamically (implicitly) added and invisible in the documentation.
Initialize self. See help(type(self)) for accurate signature.
- NegativeResponse = 127