How to know the Mac direction of the bluetooth module


#1

Hello,
I am developing a simple application for andorid with Eclipse ADT,
it runs fine and I activated the bluetooth but it fails to connect to the bluetooth module, and I think it’s because the example I used need the mac of bluetooth module Makeblock.

The code that makes the connection is this:

			String address = "00:06:66:42:A7:C5";//Mac invented
			
			BluetoothDevice device = AdaptadorBT.getRemoteDevice(address);
			Servicio_BT.connect(device);
			return true;

My question is: there’s another way to connect the app to the module? and how can I know the Bluetooth mac?

Thank You everebody!!


#2