3 error message specification – K-Patents PR-33-AC User Manual

Page 48

Advertising
background image

42

PR-33-AC instruction manual

Document/Revision No. Rev. 1.02

Effective: June, 2014

9.3 Error message specification

If the server (refractometer) does not recognize the request or cannot fulfill it, it re-

sponds with an error message. The error message has the following keys:

*Error

: integer, error code

0x00000001

: Unknown request

*Error

: integer, error code

0x00000002

: Invalid request (request recognized,

invalid request data)

*Error

: integer, error code

0x00000003

: Invalid sensor number

ErrorMsg

: string, error details

There may also be error-dependent extra keys.

Advertising