Building Enterprise-level IoT Platform from Scratch