Smart Agriculture—Connecting the Farms to the Cloud via M2M Technology