i want to simulate a wireless sensor network having different wireless nodes which will be connected to each other on the basis of some condition.
i want to calculate the distance between nodes and from sink node.
i want to calculate number of packets sent from source to sink
i want to add an adversary which will move to immediate sender of the packet which it senses some transmission.
so please all of you are requested to suggest me that which framework should i use for doing these tasks as i am new to omnet++. your suggestions will be appreciated.
Castalia is a simulator for Wireless Sensor Networks (WSN), Body Area Networks (BAN) and generally networks of low-power embedded devices. It is developed in the Networked Systems theme at NICTA, since 2007. Castalia is used by researchers and developers to test their distributed algorithms and/or protocols in realistic wireless channel and radio models, with a realistic node behaviour especially relating to access of the radio. Castalia's salient features include: model for temporal variation of path loss, fine-grain interference and RSSI calculation, physical process modeling, node clock drift, and several popular MAC protocols implemented. Castalia is highly parametric. It provides tools to help run large parametric simulation studies, process and visualize the results.