Appendix Vii:the Json Format For The Communication With Iot Platform - ICP DAS USA WISE-2841M Series User Manual

Hide thumbs Also See for WISE-2841M Series:
Table of Contents

Advertisement

ICP DAS WISE User Manual
Appendix VII : The JSON format for the communication with IoT
WISE supports the functions to publish the JSON format messages to Amazon Web
Services, Microsoft Azure and IBM Bluemix IoT Cloud platforms, and also
subscribe/receive the JSON format messages from IoT Cloud platform to change the
value of the output channel of I/O modules that are connected to WISE. The following
lists the detailed information of JSON format message with WISE.
Message format
{
"msg_type"
:
"info_item"
: Items for the system information. If the msg_type field is
http://wise.icpdas.com
Platform
"SYSTEM_INFORMATION
_UPDATE"
"CHANNEL_UPDATE"
"CHANNEL_OUTPUT"
SYSTEM_INFORMATION_UPDATE, then this field will exist.
Following is for the describptions of the codes.
"DATE_YEAR"
"DATE_MONTH"
"DATE_DAY"
"TIME_HOUR"
"TIME_MINUTE"
"TIME_SECOND"
"UNIX_TIMESTAMP"
It means the update message
of the System information
WISE sent.
The "CHANNEL_UPDATE"
type of message indicates the
message published by WISE
to inform IoT Cloud platform
the update of the I/O channel
status.
If WISE receives the message
in the type of
"CHANNEL_OUTPUT",
then WISE will perform the
task to change the value of
the output channel.
Date(Year)
Date(Month)
Date(Day)
Date(Hour)
Date(Minute)
Date(Second)
Timestamp
305

Advertisement

Table of Contents
loading

Table of Contents