Abstract:
An electronic device implements a method for providing a service in the electronic device. The electronic device includes a communication module configured to provide short-range wireless communication, and a control module. The control module is configured to broadcast a service request for a service by short-range wireless communication through the communication module. The control module is configured to receive service information corresponding to the service from at least one external electronic device receiving the service request, and to execute at least one function related to the service based on at least one piece of the service information.