pamoja for TypeScript - v0.2.0
    Preparing search index...

    Interface ModbusFailure

    Why a transaction failed, for the facade to throw as a ModbusClientError.

    interface ModbusFailure {
        exception?: number;
        found?: number;
        function?: number;
        kind: string;
        message: string;
        received?: number;
        unit: number;
    }
    Index
    exception?: number

    For an exception, the code the device answered with.

    found?: number

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

    function?: number

    For an exception or a reply to another function, the function asked.

    kind: string

    Request, BroadcastRead, Port, Timeout, Frame, WrongUnit, WrongFunction, Mismatch, or Exception.

    message: string

    The reason, in words.

    received?: number

    For a timeout, how many bytes of a reply had arrived.

    unit: number

    The unit the transaction asked.