- Go to settings > developer options > Enable Wireless Debugging
- Search for IpAddress:port in Pair With Device Option
- Run in terminal:
adb pair IpAddress:port
- Enter pairing code from device
- Now, search for IpAdress:port in wireless debugging screen, port in this one will be different from the port in above address
- Run in terminal:
adb connect IpAddress:port
Reference: https://developer.android.com/tools/adb#wireless-adb-android-11