Difference between revisions of "IoTGateway/SDK"

From ESS-WIKI
Jump to: navigation, search
(Using WSN API SDK)
Line 37: Line 37:
 
<br /><br />
 
<br /><br />
  
=Using WSN API SDK=
+
=Sample Code Use Case=
[[IoTGateway/SDK/SampleCodeOfWsnSDK|'''<big><big>Sample Code of WSN API SDK</big></big>''']]<br />
+
==Sample Code of WSN API SDK==
 +
=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=
 +
[[IoTGW/WSNApiSDK/SampleCode/C|Sample Code]] demonstrates how to use the WSN API SDK to manage IoTGW and Sensor Hubs.
 +
 +
 +
==Sample Code of WSN APIMux SDK==
 +
[[IoTGW/SDK/SampleCodeUseCase|'''<big><big>Use Case</big></big>''']]
 
[[IoTGateway/SDK/SampleCodeOfWsnSDKAPIMux|'''<big><big>Sample Code of WSN APIMux SDK</big></big>''']]
 
[[IoTGateway/SDK/SampleCodeOfWsnSDKAPIMux|'''<big><big>Sample Code of WSN APIMux SDK</big></big>''']]
 
<br /><br />
 
<br /><br />

Revision as of 11:20, 16 March 2016

Overview

This tutorial is designed for software programmers who want to learn the basics of WSN API SDK and its architectural concepts. This tutorial will give you enough understanding

on all the necessary components of WSN API SDK with suitable examples.

WSN API Software Stack


Documentation

Wireless Sensor Network (WSN) API SDK Main page Test

Install WSN SDK

You can get the latest Wireless Sensor Network Software Development Kit(SDK) version from:

1. Copy the WSN SDK to your Target Device ( ex: WISE-3310 )
2. Unzip the SDK 
   #unzip sennet-wise_3310-1.2.00.0280.zip
   unzip
3. To install the wsn sdk & select target folder ( Recommend use the Default "/usr/lib/" setting <- Enter )
   #./sennet-wise_3310-1.2.00.0280.run
   installer
4. Completed the Installation
   Completed
5. You can then run the wsn demo application
   #sampleSNManagerAPI
    sample

Installation of Wireless Sensor Network (WSN) SDK

Sample Code Use Case

Sample Code of WSN API SDK

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 of WSN APIMux SDK

Use Case Sample Code of WSN APIMux SDK

Creating a New Network Type

Network Abstraction Layer Interface