Recent Changes - Search:

Wiki

Documentation

Tutorials

Example Code

GettingStarted

This tutorial will explain how to get started using the SensibleThings platform. In detail, it will provide a step by step instruction for running the examples and testing the SensibleThings platforms basic functionality

Prerequisites

  • You will need to have the JRE, JDK, and a Java IDE installed.
  • You will need at least 2 machines, which are connected to the Internet.

1. Download SensibleThings

Download the latest SensibleThings developer kit
Link to Download

2. Start up your IDE

You can use your any of favorite IDE's for developing Java development.
We suggest either Eclipse or NetBeans

3. Run the sensor source example

Download the Sensor Source Example code from here
Create a new project for the sensor source example, copy in the example code.
Change build path to use the SensibleThings platforms jar file.
Run the sensor source program on one of the machines.

4. Run the sensor sink example

Download the sensor sink example code from here
Create a new project for the sensor sink example, copy in the example code.
Change build path to use the SensibleThings platforms jar file.
Run the sensor sink program on the other machine.

5. And it works!

Observe how the sink resolves the UCI of the sensor source to its IP address.
Observe how the sink afterwards creates a peer-to-peer session with the sensor source and retrieves the latest sensor value.
The sink will also Set the sensor value. If you run the sink again, it will get the new value instead.

6. Create your own project

Now you should be able to create your own simple projects or applications using SensibleThings.
SensibleThings even runs on Android!
Edit - History - Print - Recent Changes - Search
Page last modified on February 25, 2014, at 11:00 AM