US 12,067,312 B2
First communication device and non-transitory computer-readable medium storing computer-readable instructions for first communication device
Hiroshi Shibata, Yatomi (JP)
Assigned to Brother Kogyo Kabushiki Kaisha, Nagoya (JP)
Filed by BROTHER KOGYO KABUSHIKI KAISHA, Nagoya (JP)
Filed on Aug. 28, 2023, as Appl. No. 18/456,668.
Application 18/456,668 is a continuation of application No. 18/158,996, filed on Jan. 24, 2023, granted, now 11,782,657.
Application 18/158,996 is a continuation of application No. 17/557,109, filed on Dec. 21, 2021, granted, now 11,567,714, issued on Jan. 24, 2023.
Application 17/557,109 is a continuation of application No. 17/004,128, filed on Aug. 27, 2020, granted, now 11,216,225, issued on Jan. 4, 2022.
Claims priority of application No. 2019-157247 (JP), filed on Aug. 29, 2019.
Prior Publication US 2023/0401020 A1, Dec. 14, 2023
Int. Cl. G06F 3/12 (2006.01); G06K 7/10 (2006.01); G06K 7/14 (2006.01); H04W 12/04 (2021.01); H04W 12/06 (2021.01)
CPC G06F 3/1236 (2013.01) [G06F 3/1222 (2013.01); G06F 3/1231 (2013.01); G06F 3/1292 (2013.01); G06F 3/1293 (2013.01); G06K 7/10722 (2013.01); G06K 7/1417 (2013.01); H04W 12/04 (2013.01); H04W 12/06 (2013.01)] 6 Claims
OG exemplary drawing
 
1. A first communication device comprising:
a wireless interface configured to execute wireless communication in conformity with a Wi-Fi standard, and
a controller configured to:
execute an output control process of externally outputting output information, the output information being in conformity with the Wi-Fi standard and obtained using a public key of the first communication device;
receive, via the wireless interface, an authentication request in which the public key is used from a second communication device that has obtained the public key;
in a case where the authentication request is received from the second communication device and a state of the first communication device is a Group Owner state:
send a first authentication response to the second communication device via the wireless interface, the first authentication response including first role information indicating that the first communication device is to serve a first role which is a role of sending first wireless setting information to the second communication device, the first wireless setting information being for the second communication device to establish a first wireless connection with the first communication device not via an access point; and
send the first wireless setting information to the second communication device via the wireless interface after the first authentication response has been sent to the second communication device;
in a case where the authentication request is received from the second communication device and the state of the first communication device is not the Group Owner state:
send a second authentication response to the second communication device via the wireless interface, the second authentication response including second role information indicating that the first communication device is to serve a second role which is different from the first role and is a role of receiving second wireless setting information from the second communication device, the second wireless setting information being for the first communication device to establish a second wireless connection with the second communication device not via the access point;
receive the second wireless setting information from the second communication device via the wireless interface after the second authentication response has been sent to the second communication device; and
establish the second wireless connection via the wireless interface using the second wireless setting information.