Skip to main content

Module client

Module client 

Source
Expand description

Async client module.

Public entry points:

§Module layout

ModuleContents
commandClientRequest and TaskCommand channel envelopes
responseClientResponse typed result enum
notifier[AsyncClientTrafficNotifier] traffic hook trait (traffic feature)
client_coreAsyncClientCore — public request API
network_clientAsyncTcpClient — TCP constructor
serial_clientAsyncSerialClient — serial constructor

Structs§

AsyncClientCore
Shared async client handle.
AsyncSerialClient
Async Modbus serial client facade.
AsyncTcpClient
Async Modbus TCP client facade.
DeviceIdentificationResponse
Represents a response to a Read Device Identification request (FC 43 / MEI 0E).
DiagnosticsDataResponse
Diagnostics response payload returned by FC 08.
SubRequest
Represents a collection of sub-requests for Modbus File Record operations.
SubRequestParams
Parameters for a single file record sub-request.

Enums§

AsyncError
Async facade error type.
ObjectId
Represents any valid Modbus Device Identification Object ID.
ReadDeviceIdCode
Read Device ID Code (Function Code 43 / 14).

Type Aliases§

AsyncAsciiClient
Modbus ASCII async client.
AsyncRtuClient
Modbus RTU async client.
CommEventLogResponse
Communication event log payload (status, event_count, message_count, events) returned by FC 12.