Enviar por SMS: Adaptation to hardware variability for energy efficient use in the internet of things