2.2.3.3 ProtocolErrorResponse Message

The ProtocolErrorResponse message is sent by the receiver in response to a message that is not recognized. This message provides basic compatibility with future protocol versions that MAY contain additional messages. An implementation of this protocol version sends this message in response to receiving a message where the value of the MessageId is outside of the range defined in section 2.2.1.1.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Header

Payload (variable)

...

...

Header (3 bytes):  This field contains the CommonHeader structure (section 2.2.2.1). The Id field (Header.Id) is set to MessageId.ProtocolError (1). The Length field (Header.Length) is set to the payload size of the message. The payload consists of the MessageId (section 2.2.1.1) of the message that was not recognized by the receiver.

Payload (variable):  This field contains the MessageId (1 byte). Future protocol versions MAY define additional message elements. This protocol version MUST ignore any payload after the MessageId.