Routing is based on the location of the nodes not on the ETX. The model is implemented over ContikiOS RPL with hierarchy based location address
- collect-common.h - support file to sink and sender
- collect-common.c - support file to sink and sender
- udp-sink.c - sink code
- udp-sender.c - sender code
- rpl-dag.c - best and preferred parent selection is modified
- uip6.c - forwarding packet is taken care
- patch.sh - run the patch in the contiki folder to run the model
To run and execute the above model, do the following:
- Run the patch in the contiki folder
- change the #define SCENARIO in the collect-common.h to 1 or 0 based on your application requirement
- If you intend to use more number of nodes, increase the #define NUM_NODES, default is 12
- Also the nodes are assumend to be hierarchy and continuous in addressing thus make sure you change the #define FIRST_NODEID
- Run cooja and follow the report (IEEE paper submission) or presentation.
- Ashwini Telang - [email protected]
- Subhashini Sundaresan - [email protected]
- Yash Goyal - [email protected]