A non-transitory computer-readable medium storing computer-readable instructions that, when executed by a processor of a data processing apparatus, instruct the processor to perform processes comprising:
- controlling a communication device to communicate with an external device using the first communication protocol to transmit connection information between the communication device and the external device, the connection information comprising information for establishing communication using the second communication protocol,
- determining whether an image transmission condition for transferring image data between the data processing apparatus and the external device is satisfied,
- controlling an other communication device to communicate with the external device using the second communication protocol after the connection information is used to establish communication between the other communication device and the external device using the second communication protocol in response to determining that the image transmission condition is satisfied, and
- wherein the communication between the other communication device and the external device using the second communication protocol comprises at least one of:
- transmitting the image data from the other communication device to the external device;
- and
- receiving the image data by the other communication device from the external device.