Changes between Version 9 and Version 10 of TITAN


Ignore:
Timestamp:
Oct 22, 2010, 11:24:22 AM (14 years ago)
Author:
mirco.rossi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TITAN

    v9 v10  
    11= TITAN- Tiny Task Networks - Cookbook =
    22
    3 This document includes instructions how to install and to run TITAN.
     3This document includes instructions how to install and to run Titan.
    44
    55
     
    2323== Installation ==
    2424=== Hardware and Software Requirements
    25 Installing the TITAN requires the following hardware tools and software packages:
     25Installing the Titan requires the following hardware tools and software packages:
    2626 * A Computer running an OS supporting [http://www.oracle.com/technetwork/java/javase/downloads/index.html Java SE]
    2727 * Optional: Mobile device supporting [http://java.sun.com/products/personalprofile/ Java ME Personal Profile]
    2828 * Optional: One or more TelosB Nodes and [http://docs.tinyos.net/index.php/Getting_started#Installing_TinyOS_2.1.1 TinyOS-2.1.1]
    2929
    30 === Installing TITAN Network Manager
    31 ==== On a PC
    32 The Java SE code for the TITAN Network Manager is located in the TITAN_Desktop directory (Eclipse project). The TITAN Network Manager can be started by the ch.ethz.ee.ife.sensei.titanmanager.rep.REPServerMain::main(String[] args) method. Parameters in this method can be changed to alter the application's behavior.
     30=== Titan Network Manager
     31==== Set-Up on a PC
     32The Java SE code for the Titan Network Manager is located in the TITAN_Desktop directory (Eclipse project). The Titan Network Manager can be started by the ch.ethz.ee.ife.sensei.titanmanager.rep.REPServerMain::main(String[] args) method. Parameters in this method can be changed to alter the application's behavior.
    3333
    34 ==== On a Mobile Device supporting Java SE PersonalProfile
    35 The Java ME PersonalProfile code for the TITAN Network Manager is located in the TITAN_Mobile directory (Eclipse project). The TITAN Network Manager can be started by the ch.ethz.ee.ife.sensei.titanmanager.titan.mobile.TitanMobile::main(String[] args) method.
     34==== Set-Up on a Mobile Phone supporting Java SE PersonalProfile
     35The Java ME PersonalProfile code for the Titan Network Manager is located in the TITAN_Mobile directory (Eclipse project). The Titan Network Manager can be started by the ch.ethz.ee.ife.sensei.titanmanager.titan.mobile.TitanMobile::main(String[] args) method.
    3636
    3737Currently the Java ME version cannot be directly accessed as a Titan REP. Workaround: Set-up a Titan Network Manager on a PC and connect the Java ME version as a "Titan Node Pool" (see bellow: "Titan Nodes").
     38
     39=== Titan Node Pool
     40A Titan Node Pool hosts a number of Titan Nodes (see below) and is connected to the Titan Newtork Manager through a TCP/IP connection. A Titan Node pool is addressed by a subnet-ID (e.g. ID=1, ID=0 is reserved for the Titan Network Manager), whereas Titan Nodes are adressed by the pool's subnet-ID and thier local ID (e.g. a Titan Node in the subnet 2 and with local ID 100 has a global adress 2100).
     41
     42==== Set-Up a Framework with Titan Node Pool
     43
     441.
     45- in Java SE: set the ''m_NodePoolID'' variable located in the ch.ethz.ee.ife.sensei.titanmanager.rep.TitanConnector.TitanNodePoolMain::main(String[] args) method to the corresponding sub-net ID. Start the Node Pool by this method.
     46- in Java ME: start the application by the ch.ethz.ee.ife.sensei.titanmanager.titan.mobile.TitanMobile::main(String[] args) method. In the GUI start the router with the corresponding sub-net ID.
     47
     482.
     49- Titan Network Manager: put the hostname of the Titan Node Pool in the ''TitanNodePool_HostNames'' located in the methode ch.ethz.ee.ife.sensei.titanmanager.titan.mobile.TitanMobile::main(String[] args) and start the Network Manager.
    3850
    3951=== Installing the Nodes
    4052
    4153==== Titan Nodes
    42 Titan Nodes are virtual nodes running on a Java SE VM or Java ME PersonalProfile VM. Like the TelosB Sensor nodes they provide services (e.g. Sensors, actuators, or processing resources) for the SENSEI framework.
    43  
     54Titan Nodes are virtual nodes running on a Java SE VM or Java ME PersonalProfile VM. Similar to the TelosB Sensor nodes, they provide services (e.g. sensors, actuators, or processing resources) for the SENSEI framework. Titan Nodes are hosted by the "Titan Network Manager" or by a "Titan Node Pool". The number of created nodes can be set before starting the Network Manager/Node Pool (see parameter  ''m_node_nr'' in the coresponging main method).The nodes will get ID 100,101,...
    4455
    4556==== TelosB Sensor Nodes
    4657
    47 At least two TelosB nodes are needed. One of the sensor nodes will be connected via USB to the machine running the TITAN Network Manager and will act as the communication interface for the Titan Network Manager (TITAN Communication Node). The other nodes are used as service provider for the Titan Framework. Every node gets an ID which is defined during compilation time. ID 0 is reserved for the TITAN Communication Node.
     58At least two TelosB nodes are needed. One of the sensor nodes will be connected via USB to the machine running the Titan Network Manager and will act as the communication interface for the Titan Network Manager (Titan Communication Node). The other nodes are used as service provider for the Titan Framework. Every node gets an ID which is defined during compilation time. ID 0 is reserved for the Titan Communication Node.
    4859
    4960The software implementing Titan in TinyOS-2.1. for the TelosB sensor platform is located in the TITAN/TELOSB directory. Please change to this directory.
     
    8394==== Bluetooth Sensors
    8495
     96Bluetooth Sensors using the RFCOMM protocol to send the sensory data can be connected to the Titan framework. Use the ''BTSensor'' service provided by a Titan Node to get the data of a bluetooth sensor into the framework.
     97
    8598
    8699== Test the TITAN Framewok==