A non-transitory computer-readable storage medium storing a program that, when executed by a processor of a communication apparatus including a first communication unit configured to perform first-type communication, and a second communication unit configured to perform second-type communication different from the first-type communication, causes the processor to perform:
- causing the first communication unit to send a notification indicating a presence of the communication apparatus itself without identifying destinations;
- causing the first communication unit to establish a connection through the first-type communication to a first one of the plurality of external apparatuses that responds to the notification;
- causing the second communication unit to establish a connection through the second-type communication to the first external apparatus, on the basis of communication through the connection through the first-type communication;
- if the connection through the second-type communication is established, causing the first communication unit to terminate the connection through the first-type communication to the first external apparatus and causing the first communication unit to resume sending the notification without identifying destinations, and
- if the connection through the second-type communication is not established, causing the first communication unit not to terminate the connection through the first-type communication to the first external apparatus and causing the first communication unit not to resume sending the notification without identifying destinations,
- wherein the first-type communication is supported by Bluetooth Low Energy (BLE) communication technology, and the second-type communication is supported by wireless Local Area Network (LAN) communication technology.