Tell me more ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

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?

share|improve this question

1 Answer

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

AT+JDDS=0

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

AT+JSDS=0026C3AB5A39,1101

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

share|improve this answer
The guide posted on this answer is worth checking. It does explain how to search for discoverable bluetooth devices. – 0xakhil May 22 '11 at 18:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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