Changes between Version 2 and Version 3 of TITAN


Ignore:
Timestamp:
Oct 21, 2010, 3:06:03 PM (14 years ago)
Author:
mirco.rossi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TITAN

    v2 v3  
    3131=== Installing TITAN on a Cell Phone
    3232
    33 === Installing TITAN on Sensor Nodes
     33
     34=== Installing TITAN on a TelosB Sensor Nodes
     35
     36At 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.
     37
     38The software implementing Titan in TinyOS-2.1. for the TelosB sensor platform is located in the TITAN/TELOSB directory. Please change to this directory.
     39
     40In the file ''TitanInternal.h'' you can define the communication channel in which the network is working:
     41{{{
     42    #define TITAN_COMM_CHANNEL CC2420_DEF_CHANNEL
     43}}}
     44
     45Compile the code with the following command:
     46{{{
     47    make telosb
     48}}}
     49
     50Now plug-in one of the nodes to the USB port. With the TinyOS command ''motelist'' you should be able to see the connected sensor node:
     51{{{
     52Reference  CommPort   Description
     53---------- ---------- ----------------------------------------
     54M4A6J3WH   /dev/ttyUSB0     tmote sky
     55}}}
     56
     57We want now to install TITAN on the TelosB platform with the ID 0, to create the TITAN Communication Node.
     58{{{
     59 make telosb reinstall.<ID> bsl,/dev/<COMPORT>
     60}}}
     61where ''<ID>'' is in this case ''0'', and '''<COMPORT>''' the CommPort of the pluged-in device (use ''motelist'').
     62
     63Repeate the last step to install TITAN on the other nodes. Increase the ID number for every additional node (IDs must be unique!).
     64
    3465
    3566== Running the Test Application ==