IoTSuite User Manual

26
User Manual: Internet of Things (IoT) Application Development using IoTSuite IoTSuite Core Team

Transcript of IoTSuite User Manual

User Manual: Internet of Things (IoT) Application Development

using IoTSuite

IoTSuite Core Team

Download IoTSuite-Eclipse-Plugin

• Download IoTSuite-Eclipse-Plugin*.

• Go to Downloads folder.

• Extract downloaded IoTSuite-Eclipse-Plugininto C:\ drive.

• Go to C:\IoTSuite-Eclipse-Plugin\Template.

• Extract IoTSuite-TemplateV9-master.rar in to same directory.

*IoTSuite-Eclipse-Plugin, available at URL: https://github.com/chauhansaurabhb/IoTSuite-Eclipse-Plugin.git

Open IoTSuite-Eclipse

2

1

Select Open

Right click on IoTSuite-Eclipse.exe

Select Workspace

1

By defaultWorkspace

Check here2

Click on OK

Create a new IoTSuite Project

1

Search for IoT2

Select IoTSuite Project

3

Click on Next button

New IoTSuite Project with name IoTSuiteSpecification

2

Check Use default location

1

Write Project Name:IoTSuiteSpecification

3

Click on Finish button

Structure of created IoTSuite Project

Features of IoTSuite editor (Outline view)

Outline view

Features of IoTSuite editor (Syntax coloring)

Syntax coloring

Features of IoTSuite editor (Code folding)

Code folding

Features of IoTSuite editor (Error checking & Auto completion)

Auto completion

ErrorChecking

Specifying vocabulary specification

2

Editor area for writing vocabulary specification

1

Double click on vocab.mydsl

Compiling vocabulary specification

1

Right click onVocab.mydsl

2

Click onCompile Vocab

Specifying architecture specification

2

Editor area for writing architecture specification

1 Double click on arch.mydsl

Compiling architecture specification

1

Right click onarch.mydsl

2

Click onCompile Arch

Import application logic package

In Eclipse, click File>Import..

Click on Filemenu

Select Import option

1

2

Locate application logic package

Select ApplicationLogic

2

Browse toTemplate path

1

Click on Finish button3

Implementing application logic

ImplementApplication Logic

ImplementAbstract methods

Specifying user-interaction specification

2

Editor area for writing user-interaction specification

1 Double click on userinteraction.mydsl

Compiling user-interaction specification

1

Right click onuserinteraction.mydsl

2

Click onCompile UserInteraction

Specifying deployment specification

2

Editor area for writing deployment specification

1 Double click on deploy.mydsl

Compiling deploy specification

1

Right click ondeploy.mydsl

2

Click onCompile Deploy

Import user-interface project

Click on Filemenu

Select Import option

1

2

Locate user-interface project

2

Select User-Interface project

1

Browse to CodeForDeployment

folder

3Click on Finish

button

Implementing user-interface project

Implement abstract method

Define UI element

Implement User Interface code

Deployment of generated packages

A Node.js project todeploy on Raspberry Pi

An Android project todeploy on Smart Phone