Abstract:
A method in which a second electronic device communicates with a neighbor device is provided. The method includes connecting to a first electronic device, receiving first information for a third electronic device from the first electronic device, and controlling the third electronic device using the first information, wherein the first information includes control right information for the third electronic device.