56
Data sent from the device to the IoT Webserver:
{"
code
":"event","
cid
":2012,"
adr
":"/io3-cqi-changed","
data
":{"eventno":"45","srcurl":"DTE105AA-
0000032653/data/port[3]/input/cqi/datachanged","
payload
":{"/data/port[3]/input/cqi":{"code":200,"data":1}}}}
Response
element
Value
Remark
code
"event"
Type of response, here "event"
cid
<CorrID>
Correlation identifier.
Same as send in subscribe request
e.g. 2012
adr
"<event_name>"
Name of the event under which this is registered
in the device.
e.g.
"/io3-cqi-changed"
data
{
"eventno":"<number>",
"srcurl": "<service_address>",
"payload":
{
"<service>",
{
"code":<response code>,
"data":<state>"
}
}
}
Number of the event send from the device
e.g. "45"
Address of the service send from the device
e.g. "DTE105AA-…/input/cqi/datachanged"
Service name, e.g. "
/data/port[3]/input/cqi"
Response code of the IoT core
See chapter ->
e.g. 200
State of the channel input C/Qi
0 = off (0V)
1 = on
(24V)