Energy-efficient techniques in wireless sensor networks