PROTOCOLS AND ARCHITECTURES FOR WIRELESS SENSOR NETWORKS