Changes between Version 5 and Version 6 of EMR


Ignore:
Timestamp:
Oct 7, 2010, 5:36:29 PM (14 years ago)
Author:
Sensei
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EMR

    v5 v6  
    2121Installing the EMR protocol requires the following hardware tools and software packages:
    2222
    23  * [http://www.ubuntu.com/ Linux PC (Ubuntu)]/ [http://www.microsoft.com/windows/windows-xp/default.aspx/ Windows XP)]
    24  * [http://weblogs.java.net/blog/opinali/archive/2010/08/21/jdk-6u21-javafx-131-and-deployment {{jdk-6u21}}]
     23 * [http://www.ubuntu.com/ Linux PC (Ubuntu)]/ [http://www.microsoft.com/windows/windows-xp/default.aspx/ Windows XP]
     24 * [http://weblogs.java.net/blog/opinali/archive/2010/08/21/jdk-6u21-javafx-131-and-deployment JAVE Envorinment jdk-6u21]
    2525 * [http://docs.tinyos.net/index.php/Getting_started TinyOS-2.x]
    2626 * [https://ncit-cluster.grid.pub.ro/trac/Sensei-Cookbook/wiki/emr/emr.tar.gz EMR software package]
     
    3131There are two type of nodes in the network, the normal sensor nodes and the sink, where data packets from the normal nodes are periodically collected by the sink after some basic processing at the CH, e.g. data aggregation. This is the structure of the content of the EMR software package:
    3232* Node \\
    33  * EMRAPPc.nc\\ Contains the configuration files and includes wiring between interfaces
    34  * EMRCHC.nc\\ Contains all relevant actions and behavior of the ClusterHead (CH), e.g. collecting the informaiton of the member nodes, receiving the data packets from the member nodes, and forwarding the summary packet of the cluster towards the sink
    35  * EMRClusteringC.nc\\ Contains the procedure about how the clusters are formed
    36  * EMRInitC.nc\\ Contains all initializations of each round across the network operation, and how to process the received message
    37  * EMRLib.nc\\ Contains general functionalities that could be used by other modules, e.g. the energy consumption model
    38  * EMRMemberC.nc\\Contains all recelvant actions and behavior of the member nodes, e.g. to determine which CH it belongs to, and to send data to the CH
    39  * EMRRouting.nc\\ Contains the process about how to determine the routing towards the sink in multi-hop scenario
     33 * {{EMRAPPc.nc}}\\ Contains the configuration files and includes wiring between interfaces
     34 * {{EMRCHC.nc\\}} Contains all relevant actions and behavior of the Cluster Head (CH), e.g. collecting the informaiton of the member nodes, receiving the data packets from the member nodes, and forwarding the summary packet of the cluster towards the sink
     35 * {{EMRClusteringC.nc}}\\ Contains the procedure about how the clusters are formed
     36 * {{EMRInitC.nc}}\\ Contains all initializations of each round across the network operation, and how to process the received message
     37 * {{EMRLib.nc}}\\ Contains general functionalities that could be used by other modules, e.g. the energy consumption model
     38 * {{EMRMemberC.nc}}\\Contains all recelvant actions and behavior of the member nodes, e.g. to determine which CH it belongs to, and to send data to the CH
     39 * {{EMRRouting.nc}}\\ Contains the process about how to determine the routing towards the sink in multi-hop scenario
    4040 * Interface\\ Contains the defination of all involved interfaces
    4141 * include\\ Contains all header files
    4242
    4343* Sink \\
    44  * EMRSinkAppc.nc\\ Contains the configuration files and includes wiring between interfaces
    45  * EMRSinkC.nc\\ Contains the actions and behavior of the sink
    46  * EMRSink.h \\ Header file
     44 * {{EMRSinkAppc.nc}}\\ Contains the configuration files and includes wiring between interfaces
     45 * {{EMRSinkC.nc}}\\ Contains the actions and behavior of the sink
     46 * {{EMRSink.h}} \\ Header file
    4747
    4848
     
    8787The following describes about how to run EMR step by step.
    8888
    89 * Operation
     89* Operation\\
    9090
    91  * First, turn on all normal nodes. the nodes should have the red led on and wait for clustering indication from the sink node.
     91 * First, turn on all normal nodes. the nodes should have the red led on and wait for clustering indication from the sink node.\\
    9292
    93  * Then, turn on the Sink node.
     93 * Then, turn on the Sink node.\\
    9494
    95  * When the sink node is on, the network starts operation, e.g. to cluster the nodes and to collect the data from the member ndoes by the CHs.
     95 * When the sink node is on, the network starts operation, e.g. to cluster the nodes and to collect the data from the member ndoes by the CHs. \\
    9696
    97  * You could see that the different leds are on on the nodes, where bue led means a CH and green led means a member node.
     97 * You could see that the different leds are on on the nodes, where bue led means a CH and green led means a member node.\\
    9898
    99  * The status of the nodes are changing from time to time, e.g. a node may change its led colour meaning its role in the new round.
     99 * The status of the nodes are changing from time to time, e.g. a node may change its led colour meaning its role in the new round.\\
    100100
    101101
    102 * Monitor the debug messages
     102* Monitor the debug messages\\
    103103
    104104        Use the serial output to watch the debug messages:
     
    113113
    114114       
    115 * Change parameters
     115* Change parameters\\
    116116      You could change the parameters, e.g. {{{control_packet_size}}}, {{{data_packet_size}}} freely in the funciton {{{send_parameter()}}} in the file {{{EMRSinkC.nc}}}