Reputation: 153
I am working on automating bluetooth actions on android like enable/disable, pairing/unpairing devices etc.
I want to know how to interact with unrooted android device for above mentioned bluetooth operations using adb shell commands or android intents.
For example, i want to know which devices are bluetooth paired with my android phone using adb shell commands.
is it possible?
Upvotes: 15
Views: 25795
Reputation: 1891
dumpsys is your friend:
adb shell dumpsys -l
adb shell dumpsys bluetooth_manager
Upvotes: 0