// DeviceScanType gets the configured device scan type. func DeviceScanType(config gofig.Config) types.DeviceScanType { return types.ParseDeviceScanType(config.GetInt(types.ConfigDeviceScanType)) }