A non-transitory computer-readable recording medium storing computer-readable instructions for a communication device,
- wherein the computer-readable instructions, when executed by a processor of the communication device, cause the communication device to:
- receive a predetermined signal from an external device in a situation where a specific wireless connection not via an access point is being established between a first wireless interface of the communication device and the external device, the predetermined signal including establishment information indicating that a wireless connection between the external device and a first access point is being established;
- determine whether a wireless communication via the first access point is executable with the external device in a case where the predetermined signal including the establishment information is received from the external device;
- supply a first disconnection instruction that instructs disconnection of the specific wireless connection to the first wireless interface in a case where it is determined that the wireless communication via the first access point is executable with the external device due to a first wireless connection being currently established between the first wireless interface and the first access point, wherein the first disconnection instruction is not supplied to the first wireless interface in a case where it is determined that the wireless communication via the first access point is not executable with the external device;
- execute the wireless communication via the first access point with the external device using the first wireless connection in the case where it is determined that the wireless communication via the first access point is executable with the external device due to the first wireless connection being currently established;
- and
- execute a wireless communication not via the first access point with the external device using the specific wireless connection in the case where it is determined that the wireless communication via the first access point is not executable with the external device.