CAIRN - Dynamic energy-efficient algorithms for autonomous wireless body area sensor networks