
Intel® Responsive Retail Sensor (RRS) Hx Series Sensor
User & Installation Guide
August 2018
Page: 18
Revision 0.4
4.5
RRP Device to Sensor Protocol
The RRS Sensor provides a remote capability for command, control, status and data
collection via JSON Remote Procedure Call (RPC) over MQTT. The Retail Gateway
Command set follows the JSON RPC 2.0 specification. JSON-RPC is a stateless,
lightweight protocol that is transport agnostic.
4.5.1
Request Object
The Request object has the following members:
jsonrpc
o
A String specifying the version of the JSON-RPC protocol.
method
o
A String containing the name of the method to be invoked.
params
o
A Structured value that holds the parameter values to be used duringthe
invocation of the method.
o
This member may be omitted.
id
o
An identifier containing a String or Number value (if included).
o
This member is used to correlate the context between the two objects.
4.5.2
Notification Object
A Notification is a Request object without an "id" member. A Request object that is a
Notification signifies that a corresponding Response object is not expected.