
Intel® Responsive Retail Sensor (RRS) Hx Series Sensor
August 2018
User & Installation Guide
Revision 0.4
Page: 19
4.5.3
Response Object
The Response is expressed as a single JSON Object, with the following members:
jsonrpc
o
A String specifying the version of the JSON-RPC protocol.
result
o
The presence of this member indicates successful execution of the
corresponding method.
o
This member is not present when the execution of the method resulted in an
error.
error
o
The presence of this member indicates unsuccessful execution of the
corresponding method.
o
This member is not present when the execution of the method was successful.
o
When present, the error Object contains the following members:
code
o
An integer that indicates the error type that occurred.
message
o
A String providing a short description of the error.
data
o
A Primitive or Structured value that contains additional formation
about the error (optional).
o
See table below for supported error codes.
id
o
This member is always present on a response and contains the same value as
the id member in the corresponding Request Object.
o
This member is not present on indications.
4.5.4
Error Codes
The RFID Sensor Platform provides one of the following error codes when an error
occurs.
Code
Message
Meaning
-32001
Wrong State
Cannot be executed in the current state
-32002
Function not supported
The requested functionality is not supported
-32100
No facility assigned
The RRS has no Facility ID assigned yet
-32601
Method not found
The method does not exist
-32602
Invalid Parameter
Out of range or invalid format
-32603
Internal Error
RFID Sensor Platform application error
-32700
Parse error
Invalid JSON Object
4.5.5