An electronic device comprising: a housing; a user interface (150, 160, 170, 233-3, 234) exposed through a portion of the housing; at least one communication circuit (190; 290) configured to discover and connect to an external device wirelessly without an access point or a base station; at least one processor operatively connected with the user interface and the communication circuit; and a memory operatively connected with the processor, wherein, when being executed, the memory stores instructions that cause the processor : to transmit a plurality of first beacon signals including information for identifying a content providing service for wireless connection by using the communication circuit during first time periods, wherein the information for identifying the content providing service is related to an executing of an application related to the content providing service by the external device , to detect at least one second beacon signal for wireless connection, transmitted from the external device, by using the communication circuit, during one period of second time periods which are different from the first time periods, to receive, based on at least part of the first information, multimedia data from an external server after detecting the at least one second beacon signal, and to output at least one of an audio, an image, or a video based at least in part on the multimedia data. a housing; a user interface (150, 160, 170, 233-3, 234) exposed through a portion of the housing; at least one communication circuit (190; 290) configured to discover and connect to an external device wirelessly without an access point or a base station; at least one processor operatively connected with the user interface and the communication circuit; and a memory operatively connected with the processor, wherein, when being executed, the memory stores instructions that cause the processor : to transmit a plurality of first beacon signals including information for identifying a content providing service for wireless connection by using the communication circuit during first time periods, wherein the information for identifying the content providing service is related to an executing of an application related to the content providing service by the external device , to detect at least one second beacon signal for wireless connection, transmitted from the external device, by using the communication circuit, during one period of second time periods which are different from the first time periods, to receive, based on at least part of the first information, multimedia data from an external server after detecting the at least one second beacon signal, and to output at least one of an audio, an image, or a video based at least in part on the multimedia data. to transmit a plurality of first beacon signals including information for identifying a content providing service for wireless connection by using the communication circuit during first time periods, wherein the information for identifying the content providing service is related to an executing of an application related to the content providing service by the external device , to detect at least one second beacon signal for wireless connection, transmitted from the external device, by using the communication circuit, during one period of second time periods which are different from the first time periods, to receive, based on at least part of the first information, multimedia data from an external server after detecting the at least one second beacon signal, and to output at least one of an audio, an image, or a video based at least in part on the multimedia data. <EOS>