Patent ID: 8471963

Claim:
A communication apparatus comprising: a search unit configured to perform search processing for detecting an active base station and a setup-completed base station, wherein the active base station is running communication parameter auto configuration processing as a providing apparatus which provides communication parameter, or the active base station communicates with an external providing apparatus that is running the communication parameter auto configuration processing, and the setup-completed base station is that a communication parameter is changed from a communication parameter of initialization; a selection unit configured to select the detected active base station, wherein the selecting is performed by excluding an access point, where communication parameter auto configuration processing with the communication apparatus is ended due to an error, to select the detected active base station in priority to the detected setup-completed base station in a case where the active base station and the setup-completed base station are detected, and to select the detected setup-completed base station in a case where the active base station is not detected; and a reception unit configured to receive a communication parameter from the base station selected by the selection unit or from the external providing apparatus via the base station selected by the selection unit.