Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any way to retrieve all paired bluetooth devices ("Friendly name" and MAC-Adress) from the console? Is there any universal solution for any Linux distribution?

In case there isn't: I'm using an Ubuntu derivative.

I already tried some stuff with hcitool, but nothing worked so far...

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I found a solution myself. In Linux, the friendly names with their according mac adresses are saved in the file:

/var/bluetooth/{MAC-of-local-Bluetooth-device}/names

It should be easy enough to read it out with a shell script or the programming language of your choice.

share|improve this answer

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.