This is a very simple and very rough from various sources bandwidth test for ADB reverse connection Primarily made for checking maximum possible bandwidth for reverse tcp connection through USB cable
To test:
- Prepare and run server -
g++ server/server.cpp
,./a.out
- Connect target device, make sure it's visible in
adb devices
- Run
adb reverse tcp:9757 tcp:9757
- it should display9757
in return - Run app on headset - easiest way to do it is via Android Studio
- Server should say that client is connected, wait from 5 to X (any) number of seconds.
- Stop server with Ctrl + C (in terminal), it should display final bandwidth calculated.