saleehk / adb-wifi

49 stars 4 forks source link

Option to select different interface/network to establish pair/connection #3

Open swishkin opened 3 months ago

swishkin commented 3 months ago

Thanks for this project, it's something I think should be baked into adb's command line, but I'm having an issue with it.

I'm trying to set up my phone to allow me to connect to it with scrcpy while connected to my VPN, but when I use the pairing QR provided by adb-wifi, the pairing process never completes on my phone, even though adb-wifi closes out without an error.

Is there any way to determine which network/interface adb-wifi uses when generating the QR code? I'm able to connect using the IP address, port, and pairing code (manually), but can't do the same through adb-wifi's convenient QR system.

Let me know if you need anything from me to address this.

AngelKrak commented 6 days ago

You can try checking if the same issue occurs with this project to fix it: https://www.npmjs.com/package/adb-qc