Go Down

Topic: Read MAC address of a bluetooth device connected to arduino (Read 5 times) previous topic - next topic

A_tec


If there is no documentation then how can we help?


Maybe you can't, perhaps someone have the same device or knows how to get this data.

Nick_Pyner

#6
Jan 19, 2013, 04:37 am Last Edit: Jan 19, 2013, 06:09 am by Nick_Pyner Reason: 1


If there is no documentation then how can we help?

Maybe you can't, perhaps someone have the same device or knows how to get this data.


I think we might be at the stage where anybody who asks you for the documentation isn't going to be of any help to you.

I'm not completely au fait with these devices, and I don't understand what you are trying to do, so I have a question. Why do you want a MAC address?  

I do have a JY-MCU that looks exactly like yours, and it works, but I am not using it the way you want to.  

As I understand it bluetooth devices recognise each other, get paired by the user, and talk. That is their job, and that is the way I use mine. No MAC address.

It appears that the JY-MCU label simply refers to the board with a four or six-pin connector, and the HC-05 module is fixed thereto.  The HC-05 is what you might want to know about, but probably don't. As far as I know, there is no documentation for the JY-MCU, and there is no need for it. All you need to know is written on the back of the board.  

Documentation for the HC-05 is here

http://notes-application.abcelectronique.com/314/314-67142.pdf

and here

http://www.hmangas.com/Electronica/Datasheets/Bluetooth%20Module/BluetoothHC05%20satistronics.pdf

and I can't find anything about mac address in either of them. I'm not surprised about this - yet

A_tec


I want to secure the access because I will use the arduino to open a door, first security is change the bluetooth pair code, the second one is filtrate which android device can open it.

I need to know which device is connected, if I have this in the sketck I don't care if you run my android app and know the bluetooth pair code.

Maybe saving in a var the devices previously scanned with AT+FSAD=<Param>?

Thanks for docs!

Nick_Pyner


Maybe saving in a var the devices previously scanned with AT+FSAD=<Param>?


I don't know. I'm only into datalogging.

vesolovski

If you have an Android device with bluetooth module:

1. Start your Arduino BT module
2. Install and run Android application that scans for BT devices and displays their MAC addresses ( https://play.google.com/store/search?q=bluetooth+scanner&c=apps )

Regards!

Go Up