New challenges of real-time wireless sensor networks: Theory and applications