A communication device capable of selectively operating in one of a plurality of states including a parent station state in which the communication device functions as a parent station of a wireless network, a child station state in which the communication device functions as a child station of the wireless network and a device state different from the parent station state and the child station state, and capable of executing a specific wireless communication via the wireless network by operating in either the parent station state or the child station state in the wireless network, the communication device comprising: a first type of interface for executing a wireless communication with a mobile device; a second type of interface for executing a wireless communication according to the Wi-Fi Direct system with the mobile device, communication speed of the wireless communication using the second type of interface being faster than communication speed of the wireless communication using the first type of interface; and a control unit, wherein the control unit comprises: a communication executing unit configured to: execute the specific wireless communication of object data via a first wireless network with the mobile device using the second type of interface after executing a first specific process of sending to the mobile device a first wireless setting for causing the mobile device to belong to the first wireless network using the first type of interface in a first case where the communication device operates in the parent station state in the first wireless network; and execute the specific wireless communication of the object data with the mobile device using the second type of interface after executing a second specific process different from the first specific process in a second case where the communication device operates in the device state, the second specific process including a process of setting the communication device to the parent station state and, afterwards, sending, by using the first type of interface, to the mobile device a second wireless setting to be used in a second wireless network in which the communication device is to operate in the parent station state a first type of interface for executing a wireless communication with a mobile device; a second type of interface for executing a wireless communication according to the Wi-Fi Direct system with the mobile device, communication speed of the wireless communication using the second type of interface being faster than communication speed of the wireless communication using the first type of interface; and a control unit, wherein the control unit comprises: a communication executing unit configured to: execute the specific wireless communication of object data via a first wireless network with the mobile device using the second type of interface after executing a first specific process of sending to the mobile device a first wireless setting for causing the mobile device to belong to the first wireless network using the first type of interface in a first case where the communication device operates in the parent station state in the first wireless network; and execute the specific wireless communication of the object data with the mobile device using the second type of interface after executing a second specific process different from the first specific process in a second case where the communication device operates in the device state, the second specific process including a process of setting the communication device to the parent station state and, afterwards, sending, by using the first type of interface, to the mobile device a second wireless setting to be used in a second wireless network in which the communication device is to operate in the parent station state execute the specific wireless communication of object data via a first wireless network with the mobile device using the second type of interface after executing a first specific process of sending to the mobile device a first wireless setting for causing the mobile device to belong to the first wireless network using the first type of interface in a first case where the communication device operates in the parent station state in the first wireless network; and execute the specific wireless communication of the object data with the mobile device using the second type of interface after executing a second specific process different from the first specific process in a second case where the communication device operates in the device state, the second specific process including a process of setting the communication device to the parent station state and, afterwards, sending, by using the first type of interface, to the mobile device a second wireless setting to be used in a second wireless network in which the communication device is to operate in the parent station state