groundwork towards device manager as a service and period device scanning