Table of Contents

Struct PamojaModbusClientError

Namespace
Pamoja.Native.Interop
Assembly
Pamoja.Native.dll

Why a Modbus client call failed, as the C ABI reports it.

public struct PamojaModbusClientError
Inherited Members

Fields

Exception

The exception code the device answered with.

public byte Exception

Field Value

byte

Found

What the reply named instead: the unit that answered, or the function it answered.

public byte Found

Field Value

byte

Function

The function the call asked, for an exception or a reply to another function.

public byte Function

Field Value

byte

Kind

One of the ModbusClient kinds on NativeMethods, 0 on success.

public byte Kind

Field Value

byte

Received

How many bytes of a reply had arrived before a timeout.

public uint Received

Field Value

uint

Unit

The unit the call asked.

public byte Unit

Field Value

byte