An open source sensor network plantform based on Contiki OS