Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find device bluetooth MAC address using adb

Is there a way to look for a device's bluetooth MAC address using adb. I've tried using logcat to find it. It works right now, but logcat will get overwritten eventually. So I was wondering if there is a way where I can access the bluetooth MAC address anytime I want through adb. I've also tried 'netcfg' but I can't see the bluetooth interface there even when bluetooth is on.

I want to do this through adb.

Thanks

like image 267
m126531 Avatar asked Jul 08 '13 20:07

m126531


People also ask

Can you track a Bluetooth MAC address?

While iOS devices advertise Bluetooth continuity messages it's not possible to track iOS devices using their Bluetooth MAC address because the address changes over time in order to defeat such tracking. However, as previously mentioned, Bluetooth MAC randomisation can be defeated.


1 Answers

adb shell settings get secure bluetooth_address

or

adb shell service call bluetooth_manager 10 for Android 4.4.4

adb shell service call bluetooth_manager 12 for Android 5.0+

like image 130
Alex P. Avatar answered Oct 23 '22 10:10

Alex P.