Refactoring. Provide validation of the device configuration parameters