A method of controlling a wireless communication device that includes a processing unit that performs a process of setting a communication parameter with an operated device different from the wireless communication device, wherein a user operation for setting the communication parameter has been made at the operated device, when another user operation for setting the communication parameter at the wireless communication device is made, the method comprising:
- performing the process of setting the communication parameter with the operated device, if the wireless communication device detects a single operated device within a predetermined time period after the user operation at the wireless communication device is made;
- displaying an error of the setting the communication parameter in a case that the wireless communication device detects a plurality of operated devices within the predetermined time period, wherein the displaying is performed, at least in part, by the processing unit.