designing a platform for wireless sensor networks 3773312