A method for controlling a system including a communication apparatus and an information terminal, the method comprising:
- transmitting data to the information terminal by either a first transmission method for transmitting the data by active scanning or a second transmission method for transmitting the data by passive scanning;
- performing control to, in a case where a number of information terminals increases, switch a transmission method from the first transmission method to the second transmission method, and in a case where the number of information terminals decreases, switch the transmission method from the second transmission method to the first transmission method;
- and
- receiving the data transmitted by the communication apparatus.