A Comprehensive Study on LPWANs With a Focus on the Potential of LoRa/LoRaWAN Systems