An electronic device, comprising: at least one short range wireless communication module configured to transmit and/or receive data to and/or from an external device; a memory configured to store the data transmitted and/or received to and/or from the external device; and at least one processor configured to: receive first data from the external device through infrared communication, the first data including information on a plurality of short range wireless communications other than the infrared communication, the plurality of short range wireless communications being supported by the external device; transmit a request to connect a selected one of the plurality of short range wireless communications, wherein the selected one of the plurality of short range wireless communications is selected by the electronic device based on a priority for each of the plurality of short range wireless communications; establish a short range wireless communication with the external device based on the request transmitted responsive to the first data; and receive second data from the external device through the established short range wireless communication, wherein the at least one processor is configured to prioritize the plurality of short range wireless communications for connection according to at least one of: test data received from or transmitted to the external device; information on signal intensity between the electronic device and the external device, information on a turned-on short range wireless communication module, and information on a pre-stored transmission speeds of the plurality of short range wireless communications supported by the electronic device. at least one short range wireless communication module configured to transmit and/or receive data to and/or from an external device; a memory configured to store the data transmitted and/or received to and/or from the external device; and at least one processor configured to: receive first data from the external device through infrared communication, the first data including information on a plurality of short range wireless communications other than the infrared communication, the plurality of short range wireless communications being supported by the external device; transmit a request to connect a selected one of the plurality of short range wireless communications, wherein the selected one of the plurality of short range wireless communications is selected by the electronic device based on a priority for each of the plurality of short range wireless communications; establish a short range wireless communication with the external device based on the request transmitted responsive to the first data; and receive second data from the external device through the established short range wireless communication, receive first data from the external device through infrared communication, the first data including information on a plurality of short range wireless communications other than the infrared communication, the plurality of short range wireless communications being supported by the external device; transmit a request to connect a selected one of the plurality of short range wireless communications, wherein the selected one of the plurality of short range wireless communications is selected by the electronic device based on a priority for each of the plurality of short range wireless communications; establish a short range wireless communication with the external device based on the request transmitted responsive to the first data; and receive second data from the external device through the established short range wireless communication, wherein the at least one processor is configured to prioritize the plurality of short range wireless communications for connection according to at least one of: test data received from or transmitted to the external device; information on signal intensity between the electronic device and the external device, information on a turned-on short range wireless communication module, and information on a pre-stored transmission speeds of the plurality of short range wireless communications supported by the electronic device. test data received from or transmitted to the external device; information on signal intensity between the electronic device and the external device, information on a turned-on short range wireless communication module, and information on a pre-stored transmission speeds of the plurality of short range wireless communications supported by the electronic device.