Patent ID: 9615306
Date: 2017-04-04
CPC Classifications: H04W

Claim:
1. A communication apparatus that is to be connected to an external apparatus via a network, comprising: a processor; a communication interface; and a memory coupled to the processor storing instructions that, when executed by the processor, cause the processor to function as: a participation unit configured to participate in a network formed by an external access point; a forming unit configured to form a network, with the communication apparatus as an access point; a storing unit configured to store, in the memory information on one or more networks in which the communication apparatus has participated before, and information on one or more external apparatuses to which the communication apparatus has been connected before, wherein the information on one or more networks include information on a first network previously formed by the forming unit, and information on a second network previously formed by the external access point; an accepting unit configured to accept selection, before participating in a network, on the basis of the information on the one or more external apparatuses stored in the memory, of an external apparatus for which communication via the communication interface is to be established; and a determining unit configured to, in a case where the information on the second network is not stored in the memory when selection is accepted by the accepting unit, determine to use the first network based on the information on the first network.