A method for controlling a communication apparatus, the communication apparatus comprising a first wireless interface, a second wireless interface, an user interface, a display, a memory and a controller, the method comprising controlling the communication apparatus to perform:
- in response to receiving first trigger information for establishing first wireless connection with an external apparatus in accordance with a first wireless communication method, supplying, to a first wireless interface, a first connection instruction for establishing the first wireless connection with the external apparatus;
- in response to receiving the first trigger information, storing device information relating to the external apparatus into the memory;
- in response to receiving second trigger information for establishing the first wireless connection with the external apparatus after the first wireless connection is disconnected, supplying, to the first wireless interface, a second connection instruction for establishing the first wireless connection with the external apparatus;
- and
- in a specific case where it is not possible to establish the first wireless connection with the external apparatus even though the second connection instruction is supplied to the first wireless interface, displaying, on the display, display information for establishing the first wireless connection with the external apparatus,
- wherein the displaying of the display information comprises:
- in a case where the device information in the memory is first device information, displaying, on the display, first display information that is the display information indicative of a first method for establishing the first wireless connection with the external apparatus,
- wherein the first device information indicates that the external apparatus has a function of shifting from a second state to a first state in response to the external apparatus establishing second wireless connection with the communication apparatus in accordance with a second wireless communication method that is different from the first wireless communication method, the second state being a state where it is not possible to establish the first wireless connection with the communication apparatus in accordance with the first wireless communication method, the first state being a state where it is possible to establish the first wireless connection with the communication apparatus in accordance with the first wireless communication method,
- wherein the method further comprises:
- in response to the second wireless connection in accordance with the second wireless communication method being established via the second wireless interface after the first display information is displayed on the display, supplying, to the first wireless interface, a third connection instruction for establishing the first wireless connection with the external apparatus.