tango-adb / feedback

Issue tracker for Tango Web App
https://tangoapp.dev/
GNU General Public License v2.0
2 stars 0 forks source link

[Suggestion] Bluetooth Control #18

Open glitch128 opened 5 months ago

glitch128 commented 5 months ago

Pre-issue checklist

How would you like Tango to be improved?

I would like the ability to see currently connected Bluetooth devices, previously connected Bluetooth devices, and if possible, discoverable, unconnected Bluetooth devices, along with the ability to connect to them via tango.

How do you think it should work?

to see previously and currently connected devices, you can use dumpsys bluetooth_manager | sed -n '/Bonded devices:/,/^$/p' to connect to bt devices, from what i can see, you can use adb btadaptertest, but I haven't tested it because i'm limited to the device shell, and don't have access to the adb shell. this could be in the main page under the device information, or a seperate page labeled "Bluetooth"

(Optional) Other information

edit: to turn off and on bluetooth, you can use cmd bluetooth_manager [enable/disable]