2.2.3.3.3.3 StatusCodeHeader

The StatusCodeHeader is included in reply messages of Two-Way Method invocation. StatusCodeHeader contains the error code for any error that occurred when the server interpreted the request message frame.


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

StatusCodeHeaderToken

DataType

StatusCodeValue

...

StatusCodeHeaderToken (2 bytes): A HeaderToken enumeration that indicates the header type. Its value MUST be 2.

DataType (1 byte): A HeaderDataFormat enumeration indicating the type of the data to be UInt16. Its value MUST be 3.

StatusCodeValue (2 bytes): A TCPStatusCode enumeration that indicates the status code.