62
Data sent from the device to the IoT Webserver:
{"
code
":"event","
cid
":1010,"
adr
":"/io1-uid-nw","
data
":{"eventno":"17579","srcurl":"DTE105AA-
0000032653/data/port[1]/rfid/id_tag/UID/datachanged","payload":{"/data/port[1]/rfid/id_tag/UID":{"code":200,"data":"
e008010c38325124"}}}}
Response
element
Value
Remark
code
"event"
Type of response, here "event"
cid
<CorrID>
Correlation identifier.
Same as send in subscribe request
e.g. 1010
adr
"<event_name>"
Name of the event under which this is registered
in the device.
e.g.
"/i
o1-uid-nw
"
data
{
"eventno":"<number>",
"srcurl": "<service_address>",
"payload":
{
"<service>",
{
"code":<response code>,
"data":"<UID>"
}
}
}
Number of the event send from the device
e.g. "17579"
Address of the service send from the device
e.g. "DTE105AA-…
rfid/id_tag/UID/datachanged
"
Service name, e.g. "/data/port[1]/rfid/id_tag/UID
"
Response code of the IoT core
See chapter ->
e.g. 200
UID coded in HEX, 2 characters per HEX number
e.g. "e008010c38325124"