PDComm.HsmsProtocolError
Enum
The HSMS protocol violation reported in HsmsEventInfo.Code of a HsmsEventKind.ProtocolError event.
public enum HsmsProtocolError : uintMembers
DuplicatePrimary
Enumerator
A primary that expects a reply reused the system bytes of a received primary that is still open.
DuplicatePrimary = 4FrameLimit
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 = 2IncomingLimit
Enumerator
Too many received primaries are waiting for replies; the endpoint answered the new one with an abort (function 0).
IncomingLimit = 5InvalidFrame
Enumerator
A frame was malformed; HsmsEventInfo.Detail holds the HsmsFrameError.
InvalidFrame = 1Only 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 = 8InvalidReply
Enumerator
A reply message was malformed or did not fit its request.
InvalidReply = 9UnexpectedControl
Enumerator
A control response matched no open control transaction.
UnexpectedControl = 7UnexpectedReply
Enumerator
A reply matched no open request of this endpoint.
UnexpectedReply = 6WrongSession
Enumerator
A data message carried another session ID; HsmsEventInfo.Value1 holds the expected and HsmsEventInfo.Value2 the received ID.
WrongSession = 3