Where is the bluetooth MAC address saved?

by windrg » Wed, 29 Apr 2009 15:25:06 GMT


Sponsored Links
 Hello, All?
I'd like to know where the bluetooth MAC address is saved in the file
system.
Could you let me know the path where it is saved and maintained if you
know.
thx.
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Where is the bluetooth MAC address saved?

by Nick Pelly » Wed, 29 Apr 2009 23:27:16 GMT


 It's on the Bluetooth chipset. You can obtain it programatically using
Bluez's DBUS interface, or BluetoothDevice.java. Bluez also uses the
address in /data/misc/hcid/[MAC] but its a bad idea to rely on that.




--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Where is the bluetooth MAC address saved?

by windrg » Thu, 30 Apr 2009 10:29:15 GMT


 Thx for your answer.
BTW, I couldn't find the path /data/misc/hcid/[MAC].
Plus I couldn't find the path 'data' under the root.
Could you check the path again, plz?




--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. how to use commons-net-2.0 lib in the emulator

hi all,

I want to import the org.apache.commons.net.ftp.FTP,
but there is no libs for it,
so I download the commons-net-2.0 lib from apache website,

I try to push this lib into /system/framework/
but I can't because the directory is a read-only filesystem,
and I try to chang mode for directory, but can't work!


is other methods can use the lib??

thanks!
--~--~---------~--~----~------------~-------~--~----~

2. Security framework available on android??

Which security framework is available or can be ported to
android ?

Warm Regards,
Sudeep

--~--~---------~--~----~------------~-------~--~----~

3. Adroid on a phone with Windows OS

4. Android License compatibility with LGPLd code

5. Wondering and waiting when my product would come to android market, the One which I submitted in adc2

6. SQLiteOpenHelper.onUpgrade

7. How to improve existing Android applications?