Hsu.Automotive.Uds.Client
2026.7.14-preview.134711
dotnet add package Hsu.Automotive.Uds.Client --version 2026.7.14-preview.134711
NuGet\Install-Package Hsu.Automotive.Uds.Client -Version 2026.7.14-preview.134711
<PackageReference Include="Hsu.Automotive.Uds.Client" Version="2026.7.14-preview.134711" />
<PackageVersion Include="Hsu.Automotive.Uds.Client" Version="2026.7.14-preview.134711" />
<PackageReference Include="Hsu.Automotive.Uds.Client" />
paket add Hsu.Automotive.Uds.Client --version 2026.7.14-preview.134711
#r "nuget: Hsu.Automotive.Uds.Client, 2026.7.14-preview.134711"
#:package Hsu.Automotive.Uds.Client@2026.7.14-preview.134711
#addin nuget:?package=Hsu.Automotive.Uds.Client&version=2026.7.14-preview.134711&prerelease
#tool nuget:?package=Hsu.Automotive.Uds.Client&version=2026.7.14-preview.134711&prerelease
Hsu.Automotive.Uds.Client
High-level UDS tester/client package for .NET.
This package provides the tester-side runtime for ISO 14229 diagnostic workflows. It is the package to use when you want to connect to an ECU, send diagnostic requests, and work with typed service helpers instead of manually assembling and parsing UDS PDUs.
Package Information
- Package ID:
Hsu.Automotive.Uds.Client - Package scope: high-level tester runtime and transport-oriented client helpers
- Depends on:
Hsu.Automotive.Uds.Core - Recommended for: diagnostic applications, plant tools, validation benches, automated tests, gateway-aware tooling
What This Package Provides
The package centers around UdsClient, which offers asynchronous APIs for the major UDS service groups, including:
- session control
- ECU reset
- security access
- DID read/write
- DTC operations
- routine control
- memory access
- file transfer and upload/download flows
- tester present / keepalive handling
It also includes transport-oriented client helpers such as:
IsoTpUdsClientDoIpUdsClientIsoTpTesterChannelDoIpChannelDoIpReconnectingChannel
Supported Capabilities
UdsClientmain high-level tester API- P2 / P2* timeout handling with ECU timing update support
- physical and functional request addressing through
TransportAddressingMode - keepalive /
TesterPresentsupport on the main client - gateway multi-ECU support through
Fork(string ecuId) - shared-transport forked clients for gateway routing scenarios
- connection-state observation for reconnectable DoIP flows
Addressing and Gateway Model
This package supports both direct ECU communication and gateway-based access.
Direct communication
Use the main client with the default transport route when talking to a single ECU.
Functional addressing
Send requests such as TesterPresent or discovery-style traffic with functional addressing when the underlying transport supports it.
Gateway multi-ECU
Keep the main client as the fully featured owner of the transport, then create lightweight ECU-specific clients when you need to communicate with individual routed ECUs behind a gateway.
Forked clients:
- share the same underlying transport connection
- use ECU-specific transmit and receive routing
- are intended for routed request/response exchanges
- do not replace the main client as the owner of keepalive behavior
Quick Start
The example below connects to an ECU over DoIP, enters an extended session, and reads VIN DID 0xF190.
using Hsu.Automotive.Uds.Client;
using Hsu.Automotive.Uds.Protocol;
using Hsu.Automotive.Uds.Transport;
await using var channel = await DoIpChannel.ConnectAsync(
host: "192.168.1.10",
sourceAddress: 0x0E00,
targetAddress: 0x0001);
await using var client = new UdsClient(channel, new UdsClientOptions
{
P2Timeout = TimeSpan.FromMilliseconds(500),
P2StarTimeout = TimeSpan.FromSeconds(5),
});
await client.DiagnosticSessionControlAsync(DiagnosticSessionType.ExtendedDiagnosticSession);
var vin = await client.ReadDataByIdentifierAsync(0xF190);
Functional Addressing Example
await client.TesterPresentAsync(
suppressPositiveResponse: true,
addressingMode: TransportAddressingMode.Functional);
Gateway Example
await using var client = new UdsClient(channel, options);
await using var powertrainClient = client.Fork("powertrain");
var vin = await powertrainClient.ReadDataByIdentifierAsync(0xF190);
In this model, the main client remains available for the default route while forked clients are used only where ECU-specific routing is needed.
When to Choose This Package
Choose Hsu.Automotive.Uds.Client when you want:
- a ready-to-use tester API
- typed service operations instead of raw PDU handling
- transport-aware client helpers for ISO-TP or DoIP
- gateway multi-ECU support without redesigning your application around raw transport selection
If you only need low-level transport or protocol primitives, use Hsu.Automotive.Uds.Core instead.
Install
dotnet add package Hsu.Automotive.Uds.Client
Package Relationships
Hsu.Automotive.Udsbundles the full integrated stack when you want one main package.Hsu.Automotive.Uds.Coreprovides the lower-level protocol and transport building blocks used by this package.Hsu.Automotive.Uds.Abstractionsprovides the shared contracts if you only need interfaces.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Hsu.Automotive.Uds.Core (>= 2026.7.14-preview.134711)
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.4)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.6)
- System.Memory (>= 4.5.5)
- System.Threading.Channels (>= 9.0.4)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
net10.0
- Hsu.Automotive.Uds.Core (>= 2026.7.14-preview.134711)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.6)
-
net6.0
- Hsu.Automotive.Uds.Core (>= 2026.7.14-preview.134711)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.6)
-
net8.0
- Hsu.Automotive.Uds.Core (>= 2026.7.14-preview.134711)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.6)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Hsu.Automotive.Uds.Client:
| Package | Downloads |
|---|---|
|
Hsu.Automotive.Uds
Compatibility meta-package for the Hsu.Automotive.Uds ISO 14229-1 UDS stack. References Hsu.Automotive.Uds.Client and Hsu.Automotive.Uds.Server. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.7.14-preview.134711 | 93 | 7/14/2026 |
| 2026.7.8-preview.124140 | 85 | 7/8/2026 |
| 2026.5.27-preview.124655 | 89 | 5/27/2026 |