Difference between revisions of "IoTGateway/SDK"

From ESS-WIKI
Jump to: navigation, search
(Install WSN SDK)
(Documentation)
Line 10: Line 10:
 
=Documentation=
 
=Documentation=
 
[[IoTGateway/SDK/WirelessSensorNetworkSDK|'''<big><big>Wireless Sensor Network (WSN) API SDK</big></big>''']]
 
[[IoTGateway/SDK/WirelessSensorNetworkSDK|'''<big><big>Wireless Sensor Network (WSN) API SDK</big></big>''']]
[[IoTGateway/Main page Test|Main page Test]]
 
 
<br />
 
<br />
  

Revision as of 02:46, 18 August 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

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.


Use Case

Sample Code of WSN APIMux SDK

Abstrac

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


Sample Code

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

Sample Code Use Case

Use Case

Creating a New Network Type

Network Abstraction Layer Interface