Minimizing power consumption of LoRa® and LoRaWAN for low-power wireless sensor nodes