2 request-response pair specification – K-Patents PR-33-AC User Manual
Page 46

40
PR-33-AC instruction manual
Document/Revision No. Rev. 1.02
Effective: June, 2014
9.1.3 Request and response errors
When the server (refractometer) detects an error, it responds with an error message
(for more information see Section 9.3). An error message can be caused for example by
an unknown request or inability to collect data for the mandatory keys of a response.
9.2 Request-response pair specification
The list below describes the query messages, i.e. request-response pairs, used for data
collection via Ethernet. Those response keys that are always sent are preceded by an
asterisk (*).
9.2.1 NULL message
The null message is included in the query messages for debugging purposes as it can
be used to check whether the server is listening. The message gives a high-level ’ping’
functionality.
Request ID
0x00000000
Request data
(none)
Response key
IP
: IP address
MAC
: Ethernet MAC address
9.2.2 Protocol version
The version query is responded with a value representing the server (refractometer)
protocol version.
Request ID
0x00000001
Request data
(none)
Response key
*Version
: integer, the server protocol version (currently 3)