Reducing power consumption in wireless sensor networks by data aggregation/compression