A comparative study of recent wireless sensor network simulators