Difference between revisions of "IoTGateway/SDK/SampleCodeOfWsnSDK"

From ESS-WIKI
Jump to: navigation, search
(Note)
 
Line 1: Line 1:
 
=Note=
 
=Note=
  Please disable "cagnet" to run the sample code. Because the COM port can be used by one program only.
+
  '''Please disable "cagnet" to run the sample code. Because the COM port can be used by one program only.'''
 
  #/ect/init.d/saagent stop
 
  #/ect/init.d/saagent stop
+
 
 
=Abstrac=
 
=Abstrac=
 
The following example shows how to use the '''"WSN API SDK"'''.  The sample code for the command line tool to perform get/set IoT gateway(WISE-3310) and Sensor Hub(WISE-1020)s' status.
 
The following example shows how to use the '''"WSN API SDK"'''.  The sample code for the command line tool to perform get/set IoT gateway(WISE-3310) and Sensor Hub(WISE-1020)s' status.

Latest revision as of 10:11, 7 March 2016

Note

Please disable "cagnet" to run the sample code. Because the COM port can be used by one program only.
#/ect/init.d/saagent stop

Abstrac

The following example shows how to use the "WSN API SDK". The sample code for the command line tool to perform get/set IoT gateway(WISE-3310) and Sensor Hub(WISE-1020)s' status.

Sample Code

Sample Code demonstrates how to use the WSN API SDK to manage IoTGW and Sensor Hubs.

Sample Code Use Case

Use Case