This patch adds a generic driver for Crossbow WSN nodes including Mica2, MicaZ, Iris, TelosB and other models. It is TinyOS 1.x and TinyOS 2.x compatible. The driver doesn't use the WSN interface, and proxy. A new interface and proxies are also provided: CoopObject. They provide functionalities for the so called Cooperating Objects (http://www.cooperating-objects.eu) which are networked embedded systems with sensing, computing and acting capabilities. Thus, much more flexibility is needed than that provided by the WSN interface and proxy. Note that WSN nodes, RFID tags and other networked embedded systems can be programmed, process information and communicate with networked robots in various ways. Peer components have been developed for TinyOS 1.x and 2.x releases so that the driver.