主权项 |
1. A wireless communication device comprising:
one or more processors; and a memory that stores a computer program including instructions executed by the one or more processors, wherein the instructions cause the one or more processors, when executed by the one or more processors, to function as: a receiving controlling unit configured to receive a first signal from an external device, the first signal being a signal for establishing a wireless connection between the wireless communication device and the external device according to a specific wireless communication scheme; a judging unit configured to judge which of a first type of information or a second type of information that is different from the first type of information is included in the first signal, the first type of information being included in the first signal in a case where authentication information for establishing the wireless connection is to be inputted to a sending source device of the first signal, the second type of information being included in the first signal in a case where the authentication information is to be displayed on the sending source device of the first signal; a display controlling unit configured to:
cause a display unit to display a displaying screen indicating the authentication information in a case where it is judged that the first signal includes the first type of information, and cause the display unit to display an inputting screen in which the authentication information is to be inputted in a case where it is judged that the first signal includes the second type of information; andcause the display unit to display a selection screen for causing a selection to be made of whether the authentication information is to be displayed on the wireless communication device or the authentication information is to be inputted in the wireless communication device; and a sending controlling unit configured to send a second signal to the external device in a case where a selection is performed according to the selection screen before the first signal is received from the external device, the second signal being a signal for establishing the wireless connection between the wireless communication device and the external device according to the specific wireless communication scheme, wherein the sending controlling unit is configured to:
send the second signal including the second type of information to the external device in a case where it is selected that the authentication information is to be displayed on the wireless communication device which is a sending source device of the second signal, andsend the second signal including the first type of information to the external device in a case where it is selected that the authentication information is to be inputted in the wireless communication device which is the sending source device of the second signal. |