| CPC H04W 12/50 (2021.01) [H04W 12/0471 (2021.01); H04W 12/06 (2013.01); H04W 76/10 (2018.02)] | 12 Claims |

|
1. A communication device comprising:
a controller configured to:
execute a first process according to a Device Provisioning Protocol (DPP) scheme;
execute a second process according to a first wireless connection scheme different from the DPP scheme; and
shift a state of the communication device,
wherein the first process includes:
under a situation where the state of the communication is a first state of being able to establish wireless connection with a different device according to the DPP scheme and being able to establish wireless connection with a different device according to the first wireless connection scheme, receiving an authentication request in which a public key of the communication device is used from a first external device;
in a case where the authentication request is received from the first external device, sending an authentication response to the first external device; and
in a case where the authentication response is sent to the first external device, establishing a first wireless connection with a second external device,
wherein the controller is configured to, shift the state of the communication device from the first state to a second state after the authentication response has been sent to the first external device and before the first wireless connection is established with the second external device, and
wherein the second state is a state of being able to establish wireless connection with a different device according to the DPP scheme and being unable to establish wireless connection with a different device according to the first wireless connection scheme.
|