Skip to content

UdsServiceId Enum

UDS Service Identifiers (SIDs) supported by the CanKit.Pro.Uds MVP client.

public enum UdsServiceId : System.Byte

Fields

DiagnosticSessionControl 16

DiagnosticSessionControl — ISO 14229-1 §9.2 (SRS FR-UDS-001).

EcuReset 17

ECUReset — ISO 14229-1 §9.1 (SRS FR-UDS-005).

ReadDataByIdentifier 34

ReadDataByIdentifier — ISO 14229-1 §9.3 (SRS FR-UDS-002 / FR-UDS-011).

SecurityAccess 39

SecurityAccess — ISO 14229-1 §9.4 (SRS FR-UDS-006).

WriteDataByIdentifier 46

WriteDataByIdentifier — ISO 14229-1 §9.6 (SRS FR-UDS-003).

RoutineControl 49

RoutineControl — ISO 14229-1 §9.10 (SRS FR-UDS-004).

RequestDownload 52

RequestDownload — ISO 14229-1 §14.2 (SRS FR-UDS-012).

RequestUpload 53

RequestUpload — ISO 14229-1 §14.1 (SRS FR-UDS-012).

TransferData 54

TransferData — ISO 14229-1 §14.3 (SRS FR-UDS-012).

RequestTransferExit 55

RequestTransferExit — ISO 14229-1 §14.4 (SRS FR-UDS-012).

TesterPresent 62

TesterPresent — ISO 14229-1 §9.12 (SRS FR-UDS-007).

Remarks

Values map 1:1 to the request-SID bytes defined by ISO 14229-1:2020. Positive responses use the request SID plus 0x40 (per ISO 14229-1 §7.3). Negative responses are always framed as 0x7F, requestSid, NRC. The enum only covers the services the MVP client actually implements; unknown SIDs are still supported via the SendRawAsync(ReadOnlyMemory<byte>, CancellationToken) escape hatch.