Changes between Version 9 and Version 10 of TITAN
- Timestamp:
- Oct 22, 2010, 11:24:22 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TITAN
v9 v10 1 1 = TITAN- Tiny Task Networks - Cookbook = 2 2 3 This document includes instructions how to install and to run T ITAN.3 This document includes instructions how to install and to run Titan. 4 4 5 5 … … 23 23 == Installation == 24 24 === Hardware and Software Requirements 25 Installing the T ITANrequires the following hardware tools and software packages:25 Installing the Titan requires the following hardware tools and software packages: 26 26 * A Computer running an OS supporting [http://www.oracle.com/technetwork/java/javase/downloads/index.html Java SE] 27 27 * Optional: Mobile device supporting [http://java.sun.com/products/personalprofile/ Java ME Personal Profile] 28 28 * Optional: One or more TelosB Nodes and [http://docs.tinyos.net/index.php/Getting_started#Installing_TinyOS_2.1.1 TinyOS-2.1.1] 29 29 30 === Installing TITANNetwork Manager31 ==== On a PC32 The Java SE code for the T ITAN Network Manager is located in the TITAN_Desktop directory (Eclipse project). The TITANNetwork 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 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. 33 33 34 ==== On a Mobile Device supporting Java SE PersonalProfile35 The Java ME PersonalProfile code for the T ITAN Network Manager is located in the TITAN_Mobile directory (Eclipse project). The TITANNetwork 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 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. 36 36 37 37 Currently 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 40 A 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 44 1. 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 48 2. 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. 38 50 39 51 === Installing the Nodes 40 52 41 53 ==== 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 54 Titan 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,... 44 55 45 56 ==== TelosB Sensor Nodes 46 57 47 At least two TelosB nodes are needed. One of the sensor nodes will be connected via USB to the machine running the T ITAN 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 TITANCommunication Node.58 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. 48 59 49 60 The software implementing Titan in TinyOS-2.1. for the TelosB sensor platform is located in the TITAN/TELOSB directory. Please change to this directory. … … 83 94 ==== Bluetooth Sensors 84 95 96 Bluetooth 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 85 98 86 99 == Test the TITAN Framewok==