A composite routing metric for wireless sensor networks in AAL-IoT.