Patent ID: 8583171

Claim:
A communication apparatus capable of performing setting processing of a plurality of methods for sharing with other communication apparatuses communication parameters to be used in communication with the other communication apparatuses, the communication apparatus comprising: a detection unit configured to detect a plurality of methods for setting processing activated in a plurality of apparatuses; a determination unit configured to determine whether at least one of the plurality of methods for setting processing detected by the detection unit is an identification method for identifying an apparatus that provides the communication parameters based on a user operation after setting processing of the communication parameters is activated; and a selection unit configured to select, if the determination unit determines that at least one of the plurality of methods for setting processing detected by the detection unit is the identification method, the setting processing of the communication parameters by the identification method, wherein the identification method is a method in which a user inputs identification information to an apparatus that provides the communication parameters after the setting processing of the communication parameters is activated, and the apparatus in which the identification information is input notifies the communication apparatus of the identification information, so that the user identifies the apparatus that provides the communication parameters.