Trying with vscode in Linux and android 12 OnePlus phone.
adb settings have been done and mobile data disabled.
Always show this error on vsCode after scanning QR code ADB-QR: error: protocol fault (couldn't read status message): Success
Found the reason of the error.
Maybe will be useful for someone.
I had connect my phone with vsCode via usb before. So the solution was not to "connect with QR code" but "connect with paired device"
in mac mini adb qr cpnnecting not working already in same wifi network still show you are not connected with same network , and also not connected with paired device in vs code