Basic project for root-cause analysis in wireless sensor networks under Tiny OS