Skip to content
Start free evaluation

PDComm.HsmsProtocolError

Enum

The HSMS protocol violation reported in HsmsEventInfo.Code of a HsmsEventKind.ProtocolError event.

public enum HsmsProtocolError : uint

Members

DuplicatePrimary

Enumerator

A primary that expects a reply reused the system bytes of a received primary that is still open.

DuplicatePrimary = 4

FrameLimit

Enumerator

Reserved for a frame above HsmsOptions.MaxFrameBytes. The current native library does not report it: such a frame closes the connection with a transport error (HsmsIoOperation.Read, HsmsIoErrorKind.InvalidData).

FrameLimit = 2

IncomingLimit

Enumerator

Too many received primaries are waiting for replies; the endpoint answered the new one with an abort (function 0).

IncomingLimit = 5

InvalidFrame

Enumerator

A frame was malformed; HsmsEventInfo.Detail holds the HsmsFrameError.

InvalidFrame = 1

Only header and body problems of a complete frame (HsmsFrameError.UnsupportedPType through HsmsFrameError.SecsBody) are reported here. A broken length field cannot be resynchronized, because the SEMI E37 length field is the only message delimiter, so it closes the connection with a transport error (HsmsIoOperation.Read, HsmsIoErrorKind.InvalidData) instead.

InvalidReject

Enumerator

A Reject.req message was malformed.

InvalidReject = 8

InvalidReply

Enumerator

A reply message was malformed or did not fit its request.

InvalidReply = 9

UnexpectedControl

Enumerator

A control response matched no open control transaction.

UnexpectedControl = 7

UnexpectedReply

Enumerator

A reply matched no open request of this endpoint.

UnexpectedReply = 6

WrongSession

Enumerator

A data message carried another session ID; HsmsEventInfo.Value1 holds the expected and HsmsEventInfo.Value2 the received ID.

WrongSession = 3