Distributed sensor networks for real-time systems with adaptive configuration