Changes between Version 5 and Version 6 of EMR
- Timestamp:
- Oct 7, 2010, 5:36:29 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
EMR
v5 v6 21 21 Installing the EMR protocol requires the following hardware tools and software packages: 22 22 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] 25 25 * [http://docs.tinyos.net/index.php/Getting_started TinyOS-2.x] 26 26 * [https://ncit-cluster.grid.pub.ro/trac/Sensei-Cookbook/wiki/emr/emr.tar.gz EMR software package] … … 31 31 There 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: 32 32 * Node \\ 33 * EMRAPPc.nc\\ Contains the configuration files and includes wiring between interfaces34 * 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 sink35 * EMRClusteringC.nc\\ Contains the procedure about how the clusters are formed36 * EMRInitC.nc\\ Contains all initializations of each round across the network operation, and how to process the received message37 * EMRLib.nc\\ Contains general functionalities that could be used by other modules, e.g. the energy consumption model38 * 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 CH39 * EMRRouting.nc\\ Contains the process about how to determine the routing towards the sink in multi-hop scenario33 * {{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 40 40 * Interface\\ Contains the defination of all involved interfaces 41 41 * include\\ Contains all header files 42 42 43 43 * Sink \\ 44 * EMRSinkAppc.nc\\ Contains the configuration files and includes wiring between interfaces45 * EMRSinkC.nc\\ Contains the actions and behavior of the sink46 * EMRSink.h\\ Header file44 * {{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 47 47 48 48 … … 87 87 The following describes about how to run EMR step by step. 88 88 89 * Operation 89 * Operation\\ 90 90 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.\\ 92 92 93 * Then, turn on the Sink node. 93 * Then, turn on the Sink node.\\ 94 94 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. \\ 96 96 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.\\ 98 98 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.\\ 100 100 101 101 102 * Monitor the debug messages 102 * Monitor the debug messages\\ 103 103 104 104 Use the serial output to watch the debug messages: … … 113 113 114 114 115 * Change parameters 115 * Change parameters\\ 116 116 You could change the parameters, e.g. {{{control_packet_size}}}, {{{data_packet_size}}} freely in the funciton {{{send_parameter()}}} in the file {{{EMRSinkC.nc}}}