System Description
2019Q2
Intel® RFID Sensor Platform (Intel® RSP)
338088-002
Page: 21
Installation & User Guide
5.5
Gateway to Sensor Protocol
The Intel® RSP provides a secure remote capability for command, control, status and data
collection via JSON Remote Procedure Call (RPC) over an encrypted MQTT channel.
CUSTOMERS ARE SOLELY RESPONSIBLE FOR CONFIGURING THEIR MQTT BROKER FOR
THE APPROPRIATE LEVEL OF SECURITY FOR THE DATA COLLECTED VIA THE DEVICES.
The Gateway Command set follows the JSON RPC 2.0 specification. JSON-RPC is a
stateless, lightweight protocol that is transport agnostic.
5.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 during the 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.
5.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.
5.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.