US 11,736,274 B2
Terminal device and non-transitory computer-readable medium storing computer-readable instructions for terminal device
Ryoya Tsuji, Nagoya (JP)
Assigned to Brother Kogyo Kabushiki Kaisha, Nagoya (JP)
Filed by BROTHER KOGYO KABUSHIKI KAISHA, Nagoya (JP)
Filed on Dec. 17, 2019, as Appl. No. 16/717,437.
Claims priority of application No. 2019-002066 (JP), filed on Jan. 9, 2019.
Prior Publication US 2020/0220718 A1, Jul. 9, 2020
Int. Cl. H04L 9/08 (2006.01); H04N 1/44 (2006.01); H04W 88/08 (2009.01); H04W 12/08 (2021.01); H04W 48/16 (2009.01); H04W 12/04 (2021.01)
CPC H04L 9/0825 (2013.01) [H04N 1/4413 (2013.01); H04W 12/04 (2013.01); H04W 12/08 (2013.01); H04W 48/16 (2013.01); H04W 88/08 (2013.01)] 11 Claims
OG exemplary drawing
 
1. A non-transitory computer-readable medium storing computer-readable instructions for a terminal device, wherein
the terminal device comprises a Wi-Fi interface configured to execute a wireless communication complying with a Wi-Fi scheme, wherein
the computer-readable instructions, when executed by a processor of the terminal device, cause the terminal device to:
in a case where a communication device outputs related information which is related to a wireless connection, obtain the related information;
in a case where the communication device is a first type of communication device and the obtained related information is a first type of related information including a public key of the first type of communication device, send an authentication request according to a predetermined rule of the Wi-Fi scheme, which is obtained by using the first type of related information including the public key, to the first type of communication device via the Wi-Fi interface, the first type of communication device being capable of executing a wireless communication complying with the predetermined rule;
in a case where the terminal device receives an authentication response according to the predetermined rule as a response to the authentication request from the first type of communication device via the Wi-Fi interface, send first connection information to the first type of communication device via the Wi-Fi interface, the first connection information being for establishing a first type of wireless connection complying with the predetermined rule between the first type of communication device and a first external device different from the first type of communication device;
in a case where the communication device is a second type of communication device and the obtained related information is a second type of related information being different from the first type of related information, send second connection information to the second type of communication device via the Wi-Fi interface by using the second type of related information without sending the authentication request according to the predetermined rule to the second type of communication device, the second type of communication device being incapable of executing a wireless communication complying with the predetermined rule, and the second connection information being for establishing a second type of wireless connection not complying with the predetermined rule between the second type of communication device and a second external device different from the second type of communication device;
in a case where the first type of wireless connection is not established between the first type of communication device and the first external device due to the first external device incapable of executing a wireless communication complying with the predetermined rule after the first connection information has been sent to the first type of communication device, send fourth connection information to the first type of communication device, the fourth connection information being for establishing the second type of wireless connection not complying with the predetermined rule between the first type of communication device and the first external device, and the fourth connection information including a third Service Set Identifier (SSID) identifying a wireless network in which the first external device operates as a parent station and a third password used for the wireless network;
in a case where the fourth connection information is sent to the first type of communication device, store the third SSID and the third password in a memory; and
in a case where the second type of related information is obtained due to the second type of communication device outputting the second type of related information after the second type of wireless connection has been established between the first type of communication device and the first external device, send fifth connection information including the third SSID and the third password in the memory to the second type of communication device, the fifth connection information being information for establishing the second type of wireless connection not complying with the predetermined rule between the second type of communication device and the first external device.