CAF setup of an IoT device