I am looking for Automating the below activities using ADB.
Bluetooth settings -> TunrnOn BT -> Pairing (To a BT mac address which i can set) -> Connect to the BT Device on certain profiles like A2DP/HFP.
I have already found here and here how to turn on and set BT to discoverable using ADB. But I am still stuck on how to make a connection request again using ADB.
Would there be a way to completely automate these steps.
Appreciate your valuable comments.
There is no solution possible only using ADB. But there still is a possibility using ui automator. https://developer.android.com/training/testing/ui-automator