Patent ID: 8693373

Claim:
A communication apparatus comprising: a creation unit constructed to create a first network; a search unit constructed to search for another network after the first network is created by said creation unit; a detecting unit constructed to detect a provider apparatus residing in the other network searched by said search unit, wherein a role of the provider apparatus in a communication parameter setting procedure is to provide communication parameters; a join unit constructed to join a second network, if the detecting unit detects the provider apparatus in the second network while the role of the communication apparatus is not the provider of the communication parameters; an executing unit constructed to execute, as a receiver apparatus, the communication parameter setting procedure with the provider apparatus in the second network joined by said join unit and to receive the communication parameters from the provider apparatus, wherein a role of the receiver apparatus in the communication parameter setting procedure is to receive communication parameters; and a checking unit constructed to check an activation state of the role of the other communication apparatus when said executing unit starts the communication parameter setting procedure, wherein said executing unit continues the communication parameter setting procedure in accordance with a result of the check by said checking unit.