IoT device packaging