| CPC H04W 12/06 (2013.01) [H04L 9/30 (2013.01); H04W 12/0431 (2021.01)] | 8 Claims |

|
1. A communication device comprising:
a first wireless interface;
a second wireless interface different from the first wireless interface;
a processor; and
a memory storing computer-readable instructions therein, the computer-readable instructions, when executed by the processor, causing the communication device to:
receive a specific signal from a first external device via the first wireless interface;
in a first case where the specific signal is received from the first external device and a distance between the first external device and the communication device is a first distance, send a public key for a connection process according to Device Provisioning Protocol (DPP) scheme to the first external device via the first wireless interface,
wherein in a second case where the specific signal is received from the first external device and the distance between the first external device and the communication device is a second distance which is longer than the first distance, sending of the public key to the first external device is restricted; and
after the public key has been sent to the first external device, establish, by executing the connection process according to the DPP scheme, a wireless connection between the communication device and a second external device via the second wireless interface.
|