CPC G06F 3/1222 (2013.01) [G06F 3/1238 (2013.01); G06F 3/1292 (2013.01); G06F 21/608 (2013.01); H04L 9/0894 (2013.01); H04L 9/14 (2013.01); H04L 9/30 (2013.01); H04W 12/0431 (2021.01); H04W 12/0433 (2021.01); H04W 12/06 (2013.01)] | 18 Claims |
1. A communication device comprising:
a first wireless interface;
a processor;
a memory storing computer-readable instructions therein; and
an output unit configured to output first information based on a first public key,
wherein the computer-readable instructions, when executed by the processor, cause the communication device to:
after the first information has been outputted, receive, via the first wireless interface, an authentication request;
in response to receiving the authentication request from a terminal device, send an authentication response, as a response for the authentication request, to the terminal device via the first wireless interface;
after the authentication response has been sent to the terminal device, receive connection information from the terminal device via the first wireless interface, the connection information being for establishing a wireless connection via the first wireless interface between the communication device and an external device;
in response to receiving the connection information from the terminal device, establish the wireless connection via the first wireless interface between the communication device and the external device by using the connection information; and
the output unit is further configured to, in a case where a predetermined condition is satisfied after the first information has been outputted, output second information based on a second public key different from the first public key.
|