Method for scanning neighboring devices and electronic apparatus thereof

Various embodiments of the disclosed example is directed to a method close to the navigation apparatus and the electronic device, according to the method of operation of an electronic device, the operation of determining the orientation information; Operation for transmission via wireless communication the search request message including the information-oriented,; And it may include the operation of receiving through the wireless communication to search response message responding to the search request message. Further, the various embodiments of this disclosure include one embodiment and other embodiments described above.