Castalia is a simulator for Body Area Networks (BAN) and generally networks of low-power embedded devices. It is based on the OMNeT++ platform to test distributed protocols in realistic wireless channel and radio models, with a realistic node behaviour especially relating to access of the radio.
There are many resources are avialble to learn this simulator. Please send details, which type of protocol (MAC,Network) you want to test in Castaila.
Thanks all of you for replying me. I want to implement my own routing protocol for WBAN scenario in castalia but there is no any routing protocol implementation found for WBAN. If any one implemented the routing protocol specially for BAN so please share it with me so I can have an idea how to implement my own protocol.