I'm looking to be able to build a kind of course location based system where a mobile Arduino will scan for a list of currently visible (discoverable) bluetooth points, and then depending on pattern matching will do work accordingly.

Does anybody know of how this might be achieved? The bluetooth shields and bluetooth version of Arduino seem to just be endpoints for attaching to the serial of the Arduino itself. Does anyone have experience with this?


1 Answer 1


If you can send AT commands to your bluetooth module, you can also discover nearby devices.

See for example this guide. In the example they are sending commands from computer, but you can do exactly the same with your Arduino. Sending command


should return list of matching devices. Additionally, you can also search for specific services:


Where 0026C3AB5A39 is MAC address of device and 1101 is code for serial port.

  • 1
    \$\begingroup\$ The guide posted on this answer is worth checking. It does explain how to search for discoverable bluetooth devices. \$\endgroup\$
    – 0xakhil
    May 22, 2011 at 18:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.